aboutsummaryrefslogtreecommitdiff
path: root/math/mtrxmath
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-22 09:01:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-22 09:01:20 +0000
commit511f0dd007d4ff18299fa3e5acc8fc5279a5d216 (patch)
tree34b7910d6699e4ea47f132f76d3e66a32fe22192 /math/mtrxmath
parent22a8fef070b004a82c5b17a7cc9a2c5348ee818a (diff)
downloadports-511f0dd007d4ff18299fa3e5acc8fc5279a5d216.tar.gz
ports-511f0dd007d4ff18299fa3e5acc8fc5279a5d216.zip
- Add LICENSE_FILE
- Switch to options helpers - Regenerate patches
Notes
Notes: svn path=/head/; revision=432100
Diffstat (limited to 'math/mtrxmath')
-rw-r--r--math/mtrxmath/Makefile3
-rw-r--r--math/mtrxmath/files/patch-Makefile6
-rw-r--r--math/mtrxmath/files/patch-mtrxmath.h4
3 files changed, 8 insertions, 5 deletions
diff --git a/math/mtrxmath/Makefile b/math/mtrxmath/Makefile
index eb24633df9a9..ece6df28db8b 100644
--- a/math/mtrxmath/Makefile
+++ b/math/mtrxmath/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Small tool for matrix mathematics
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
PORTDOCS= README
PLIST_FILES= bin/mtrxmath
@@ -18,6 +19,8 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/math/mtrxmath/files/patch-Makefile b/math/mtrxmath/files/patch-Makefile
index a28360d8b6e3..3d3040d69962 100644
--- a/math/mtrxmath/files/patch-Makefile
+++ b/math/mtrxmath/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Mon Apr 9 10:26:51 2001
-+++ Makefile Sun Mar 7 12:06:36 2004
+--- Makefile.orig 2001-04-09 01:26:51 UTC
++++ Makefile
@@ -1,10 +1,9 @@
# Edited for Debian GNU/Linux
DESTDIR=
@@ -12,7 +12,7 @@
SRCS=add.c mtrxmath.c mult.c sub.c inverse.c
-@@ -14,7 +13,7 @@
+@@ -14,7 +13,7 @@ EXE=mtrxmath
all: ${EXE}
${EXE}: ${OBJS}
diff --git a/math/mtrxmath/files/patch-mtrxmath.h b/math/mtrxmath/files/patch-mtrxmath.h
index 60c4e31b8a56..b20533752ff5 100644
--- a/math/mtrxmath/files/patch-mtrxmath.h
+++ b/math/mtrxmath/files/patch-mtrxmath.h
@@ -1,5 +1,5 @@
---- mtrxmath.h.orig Tue Jan 9 20:33:48 2001
-+++ mtrxmath.h Tue Jan 9 20:35:02 2001
+--- mtrxmath.h.orig 2001-09-19 15:31:44 UTC
++++ mtrxmath.h
@@ -13,7 +13,6 @@
#include <stdio.h>
#include <stdlib.h>