summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-02 09:00:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-02 09:00:43 +0000
commit21a1453cb1fbdbb60b46b723a56839c0ac03f280 (patch)
tree3d84d131a1991d278bc1ec5ec03c5d138567ba39
parentUpdate to new release 3.7. (diff)
- Fix LICENSE
- Add LICENSE_FILE - Switch to options helpers - Regenerate patches
Notes
Notes: svn path=/head/; revision=427547
-rw-r--r--lang/whitespace/Makefile15
-rw-r--r--lang/whitespace/files/patch-Makefile8
-rw-r--r--lang/whitespace/files/patch-VM.hs4
-rw-r--r--lang/whitespace/files/patch-main.hs6
4 files changed, 19 insertions, 14 deletions
diff --git a/lang/whitespace/Makefile b/lang/whitespace/Makefile
index ad5e22c23dbb..b8d48ee8c1f7 100644
--- a/lang/whitespace/Makefile
+++ b/lang/whitespace/Makefile
@@ -11,7 +11,8 @@ DISTNAME= wspace-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreter for the Whitespace programming language
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ghc:lang/ghc
LIB_DEPENDS= libgmp.so:math/gmp \
@@ -19,20 +20,24 @@ LIB_DEPENDS= libgmp.so:math/gmp \
USES= perl5 gmake tar:tgz
USE_PERL5= build
-WRKSRC= ${WRKDIR}/WSpace
+WRKSRC= ${WRKDIR}/WSpace
ALL_TARGET= ${TARGET}
PLIST_FILES= bin/wspace
PORTEXAMPLES= *
PORTDOCS= *
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wspace ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/lang/whitespace/files/patch-Makefile b/lang/whitespace/files/patch-Makefile
index e328abd90a50..f99c69775daa 100644
--- a/lang/whitespace/files/patch-Makefile
+++ b/lang/whitespace/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2003-03-31 14:39:29.000000000 +0200
-+++ Makefile 2011-03-26 12:58:40.517004812 +0100
-@@ -2,13 +2,12 @@
+--- Makefile.orig 2003-03-31 12:39:29 UTC
++++ Makefile
+@@ -2,13 +2,12 @@ GHC = ghc
GHCI = ghci
SRCS = main.hs Input.hs VM.hs Tokens.hs
@@ -17,7 +17,7 @@
ghci:
${GHCI} ${OPTS} main.hs
-@@ -19,21 +18,3 @@
+@@ -19,21 +18,3 @@ depend:
clean:
rm -f ${TARGET} ${OBJS}
rm -f *~ *.hi
diff --git a/lang/whitespace/files/patch-VM.hs b/lang/whitespace/files/patch-VM.hs
index 3ce69251f568..ff979ee8ed7c 100644
--- a/lang/whitespace/files/patch-VM.hs
+++ b/lang/whitespace/files/patch-VM.hs
@@ -1,5 +1,5 @@
---- ./VM.hs.orig 2004-05-04 19:10:41.000000000 +0200
-+++ ./VM.hs 2012-05-12 21:52:19.000000000 +0200
+--- VM.hs.orig 2004-05-04 17:10:41 UTC
++++ VM.hs
@@ -1,6 +1,6 @@
module VM where
diff --git a/lang/whitespace/files/patch-main.hs b/lang/whitespace/files/patch-main.hs
index bf7711f9d1d3..0e3685dd822d 100644
--- a/lang/whitespace/files/patch-main.hs
+++ b/lang/whitespace/files/patch-main.hs
@@ -1,6 +1,6 @@
---- ./main.hs.orig 2003-03-31 17:33:44.000000000 +0200
-+++ ./main.hs 2012-05-12 21:52:07.000000000 +0200
-@@ -26,7 +26,7 @@
+--- main.hs.orig 2003-03-31 15:33:44 UTC
++++ main.hs
+@@ -26,7 +26,7 @@ import Input
import VM
import Tokens