aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/m2000
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 06:10:07 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 06:10:07 +0800
commitf45d51def02ec068ae84186a6dab176414298160 (patch)
tree74746fb76203f9d400410f98d6a44664ba2fc428 /emulators/m2000
parent9476595cef8e08663cbc9f671e8a3f995923b228 (diff)
downloadfreebsd-ports-gnome-f45d51def02ec068ae84186a6dab176414298160.tar.gz
freebsd-ports-gnome-f45d51def02ec068ae84186a6dab176414298160.tar.zst
freebsd-ports-gnome-f45d51def02ec068ae84186a6dab176414298160.zip
Remove NOPORTDOCS, and convert some stuff to OPTIONS helpers.
Diffstat (limited to 'emulators/m2000')
-rw-r--r--emulators/m2000/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/m2000/Makefile b/emulators/m2000/Makefile
index 06cc9c3fa491..8f61de2f91f4 100644
--- a/emulators/m2000/Makefile
+++ b/emulators/m2000/Makefile
@@ -46,6 +46,8 @@ USE_XORG= x11 xi
SUB_FILES= m2000.sh
PORTDOCS= M2000.txt
+OPTIONS_DEFINE= DOCS
+
post-extract:
${MKDIR} ${WRKDIR}/tapeconv
${UNZIP_CMD} ${DISTDIR}/${DIST_SUBDIR}/tapeconv.zip -d ${WRKDIR}/tapeconv
@@ -62,10 +64,8 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/P2000ROM.bin ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/Default.fnt ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/BASIC.bin ${STAGEDIR}${DATADIR}
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/M2000.txt ${STAGEDIR}${DOCSDIR}
-.endif
.for f in ${M2000TAPES}
@${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${f}.gz > ${WRKDIR}/${f}
@${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${DATADIR}