aboutsummaryrefslogtreecommitdiff
path: root/lang/nesasm
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
commitfb921759707ace68a7e9d3b32c4d6c179381faf4 (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/nesasm
parentb26a28d61964b5c5877f0d97003ba7d9ec101b09 (diff)
downloadports-fb921759707ace68a7e9d3b32c4d6c179381faf4.tar.gz
ports-fb921759707ace68a7e9d3b32c4d6c179381faf4.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360495
Diffstat (limited to 'lang/nesasm')
-rw-r--r--lang/nesasm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/nesasm/Makefile b/lang/nesasm/Makefile
index 4d6d873a83b3..fa15cf2113a6 100644
--- a/lang/nesasm/Makefile
+++ b/lang/nesasm/Makefile
@@ -11,9 +11,11 @@ DISTNAME= nbasic_2004_03_14
MAINTAINER= ninjin@kth.se
COMMENT= The nesasm assembler is a 6502 assembler with specific NES support
-WRKSRC= ${WRKDIR}/nbasic_2004_03_14/source/${PORTNAME}/source/
+WRKSRC= ${WRKDIR}/nbasic_2004_03_14/source/${PORTNAME}/source/
USES= zip
+OPTIONS_DEFINE= DOCS
+
post-patch: .SILENT
${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
-e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \
@@ -21,11 +23,9 @@ post-patch: .SILENT
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nesasm ${STAGEDIR}${PREFIX}/bin
-.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}../documentation/*.txt ${STAGEDIR}${DOCSDIR}
# The next install will overwrite readme.txt with a newer readme.txt
${INSTALL_DATA} ${WRKSRC}../readme.txt ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>