diff options
author | miwi <miwi@FreeBSD.org> | 2014-02-21 09:58:18 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-02-21 09:58:18 +0800 |
commit | 07092d55243f44dde55d21890d141f9288fbdc72 (patch) | |
tree | 7e5206321ca97e6afc241bcbb29c5a43be2eb63d /net | |
parent | 91370445403b47214a24b253b5bb73af43571968 (diff) | |
download | freebsd-ports-gnome-07092d55243f44dde55d21890d141f9288fbdc72.tar.gz freebsd-ports-gnome-07092d55243f44dde55d21890d141f9288fbdc72.tar.zst freebsd-ports-gnome-07092d55243f44dde55d21890d141f9288fbdc72.zip |
- Stage support
Diffstat (limited to 'net')
-rw-r--r-- | net/dgd/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile index c2a0f8d66586..b644ac091a66 100644 --- a/net/dgd/Makefile +++ b/net/dgd/Makefile @@ -12,13 +12,13 @@ COMMENT= Dworkin\'s Game Driver LICENSE= GPLv3 -OPTIONS_DEFINE= NETWORKING CLOSURES CPLUSPLUS_COMMENTS +OPTIONS_DEFINE= NETWORKING CLOSURES CPLUSPLUS_COMMENTS DOCS NETWORKING_DESC=Enable networking kfuns CLOSURES_DESC= Enable function pointer support CPLUSPLUS_COMMENTS_DESC= Allow C++ style comments in LPC OPTIONS_DEFAULT=CPLUSPLUS_COMMENTS -USE_GMAKE= yes +USES= gmake DIST_SUBDIR= dgd BASE_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -28,14 +28,11 @@ ALL_TARGET= install MAKE_JOBS_UNSAFE= yes MAKE_ENV+= EXTRA_DEFINES="$(EXTRA_DEFINES)" -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif USERS= mud GROUPS= mud -NO_STAGE= yes .include <bsd.port.options.mk> EXTRA_DEFINES= @@ -56,21 +53,19 @@ post-patch: @cd ${PATCH_WRKSRC} && ${FIND} . -name '*.orig' -delete do-install: - ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/driver ${PREFIX}/sbin/dgd - ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/precomp ${PREFIX}/bin/precomp - ${MKDIR} ${PREFIX}/etc/${PORTNAME} + ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/driver ${STAGEDIR}${PREFIX}/sbin/dgd + ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/precomp ${STAGEDIR}${PREFIX}/bin/precomp + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${BASE_WRKSRC}/mud.dgd \ - ${PREFIX}/etc/${PORTNAME}/mud.dgd.sample + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/mud.dgd.sample @# Install an RC script for DGD ${CAT} ${FILESDIR}/dgd.sh | ${SED} -e "s:%%PREFIX%%:${PREFIX}:" \ -e "s:%%DATADIR%%:${DATADIR}:" > \ - ${PREFIX}/etc/rc.d/dgd.sh.sample - ${CHMOD} a+x ${PREFIX}/etc/rc.d/dgd.sh.sample -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${BASE_WRKSRC}/COPYING ${DOCSDIR} - ${INSTALL_DATA} ${BASE_WRKSRC}/README ${DOCSDIR} - cd ${BASE_WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} -.endif + ${STAGEDIR}${PREFIX}/etc/rc.d/dgd.sh.sample + ${CHMOD} a+x ${STAGEDIR}${PREFIX}/etc/rc.d/dgd.sh.sample + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BASE_WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BASE_WRKSRC}/README ${STAGEDIR}${DOCSDIR} + cd ${BASE_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |