aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-24 06:59:25 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-24 06:59:25 +0800
commit00a06583482b1f54dd9d228f426ca04be0e3fbef (patch)
treeec6ef1f8b3e7ab34845ad054b2e79ad79acf98e7 /net
parent89581a2d694ebcef4a4da8184f86e4895b188094 (diff)
downloadfreebsd-ports-gnome-00a06583482b1f54dd9d228f426ca04be0e3fbef.tar.gz
freebsd-ports-gnome-00a06583482b1f54dd9d228f426ca04be0e3fbef.tar.zst
freebsd-ports-gnome-00a06583482b1f54dd9d228f426ca04be0e3fbef.zip
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'net')
-rw-r--r--net/mopd/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/net/mopd/Makefile b/net/mopd/Makefile
index b66afebc2415..3df06b9b3eed 100644
--- a/net/mopd/Makefile
+++ b/net/mopd/Makefile
@@ -16,21 +16,15 @@ MAKE_ENV= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man NO_MANCOMPRESS=true
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS} || make(makesum)
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
VAX-netboot-HOWTO VS3100-console-cmds.txt
-.endif
do-configure:
@${REINPLACE_CMD} -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_MAN} ${DISTDIR}/VAX-netboot-HOWTO \
+ ${INSTALL_DATA} ${DISTDIR}/VAX-netboot-HOWTO \
${DISTDIR}/VS3100-console-cmds.txt ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>