aboutsummaryrefslogtreecommitdiff
path: root/net/mgen
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-30 16:20:11 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-30 16:20:11 +0000
commit4ed583178b8e4076e3988998f7bfb86641db85a6 (patch)
treed53896fdfa9f79444a3c3fa702595366f4384b47 /net/mgen
parent52db9891ea1606e46b9fb893b895cbb72242f936 (diff)
downloadports-4ed583178b8e4076e3988998f7bfb86641db85a6.tar.gz
ports-4ed583178b8e4076e3988998f7bfb86641db85a6.zip
- Switch to options helpers
- Simplify build
Notes
Notes: svn path=/head/; revision=404867
Diffstat (limited to 'net/mgen')
-rw-r--r--net/mgen/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mgen/Makefile b/net/mgen/Makefile
index 9a2443be60fd..240b36895c69 100644
--- a/net/mgen/Makefile
+++ b/net/mgen/Makefile
@@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake tar:tgz
MAKEFILE= Makefile.freebsd
+BUILD_WRKSRC= ${WRKSRC}/unix
+ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/mgen
PORTDOCS= README.TXT VERSION.TXT mgen.html example.mgn
@@ -30,11 +32,10 @@ post-patch:
${WRKSRC}/unix/Makefile.freebsd \
${WRKSRC}/protolib/unix/Makefile.freebsd
-do-build:
- ${DO_MAKE_BUILD} -C ${WRKSRC}/unix ${PORTNAME}
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix/mgen ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}