summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-07 11:43:37 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-07 11:43:37 +0000
commitf9ee26046c88ee49ebfb86468381ba0d54692720 (patch)
tree885a2c428b02c10cee47b59debc91c96a4837a14
parent137e66f3e100e9b307f31b86e184802375ac0e00 (diff)
downloadFreeBSD-ports-f9ee26046c88ee49ebfb86468381ba0d54692720.zip
FreeBSD-ports-f9ee26046c88ee49ebfb86468381ba0d54692720.tar.gz
- Add LICENSE_FILE
- Switch to options helpers
-rw-r--r--lang/bwbasic/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
index e48d85d..a70bbf2 100644
--- a/lang/bwbasic/Makefile
+++ b/lang/bwbasic/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Bywater Basic interpreter
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
NO_WRKSUBDIR= yes
@@ -28,9 +29,11 @@ post-patch:
@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} 's|bindir)|DESTDIR)$$(&|' ${WRKSRC}/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
OpenPOWER on IntegriCloud