aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nesasm
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:24:35 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:24:35 +0800
commit6dc78950e0c80495bfd57af06cfff20ee2bbc55e (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/nesasm
parentd93a96c3cc6bac03a611ffb3c80f89ee09e58d63 (diff)
downloadfreebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.gz
freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.zst
freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
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>