diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2017-01-04 06:39:23 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2017-01-04 06:39:23 +0000 |
commit | dc116b943c7ecad624b3e4dad213ff0ed154f563 (patch) | |
tree | 7cf5d3e75f4ab6298d4166f1a4d25ca2e2d43520 /net/dgd | |
parent | b1d987de33c021a17f19cc3d8133b94d6cfb2a6f (diff) | |
download | ports-dc116b943c7ecad624b3e4dad213ff0ed154f563.tar.gz ports-dc116b943c7ecad624b3e4dad213ff0ed154f563.zip |
Notes
Diffstat (limited to 'net/dgd')
-rw-r--r-- | net/dgd/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile index c276abcb8557..809369bd1439 100644 --- a/net/dgd/Makefile +++ b/net/dgd/Makefile @@ -21,8 +21,7 @@ USE_GITHUB= yes GH_ACCOUNT= dworkin DIST_SUBDIR= dgd -WRKSRC_SUBDIR= src -PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= install MAKE_JOBS_UNSAFE= yes MAKE_ENV+= EXTRA_DEFINES="${EXTRA_DEFINES}" @@ -52,10 +51,10 @@ post-patch: @cd ${PATCH_WRKSRC} && ${FIND} . -name '*.orig' -delete do-install: - ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/driver ${STAGEDIR}${PREFIX}/sbin/dgd - ${INSTALL_PROGRAM} ${BASE_WRKSRC}/bin/precomp ${STAGEDIR}${PREFIX}/bin/precomp + ${INSTALL_PROGRAM} ${WRKSRC}/bin/driver ${STAGEDIR}${PREFIX}/sbin/dgd + ${INSTALL_PROGRAM} ${WRKSRC}/bin/precomp ${STAGEDIR}${PREFIX}/bin/precomp ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} - ${INSTALL_DATA} ${BASE_WRKSRC}/mud.dgd \ + ${INSTALL_DATA} ${WRKSRC}/mud.dgd \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/mud.dgd.sample @# Install an RC script for DGD ${CAT} ${FILESDIR}/dgd.sh | ${SED} -e "s:%%PREFIX%%:${PREFIX}:" \ @@ -63,8 +62,8 @@ do-install: ${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} + ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |