diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 15:14:05 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 15:14:05 +0800 |
commit | ce2ec523ad487083181862ec29bcdc97bd66be8a (patch) | |
tree | 9336537060dc9a4c473c1bfaeb23ab3533e2371b /sysutils/watchfolder | |
parent | bfbd601122d6fefd268a1ccc987e27b39e5aa214 (diff) | |
download | freebsd-ports-gnome-ce2ec523ad487083181862ec29bcdc97bd66be8a.tar.gz freebsd-ports-gnome-ce2ec523ad487083181862ec29bcdc97bd66be8a.tar.zst freebsd-ports-gnome-ce2ec523ad487083181862ec29bcdc97bd66be8a.zip |
Support staging.
Diffstat (limited to 'sysutils/watchfolder')
-rw-r--r-- | sysutils/watchfolder/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/watchfolder/Makefile b/sysutils/watchfolder/Makefile index f2a816a26f0f..3ac6bb9a008d 100644 --- a/sysutils/watchfolder/Makefile +++ b/sysutils/watchfolder/Makefile @@ -17,7 +17,6 @@ USE_RC_SUBR= watchd OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @@ -27,13 +26,15 @@ post-patch: ${WRKSRC}/README ${WRKSRC}/watchd.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/watchd ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/watchd.conf ${PREFIX}/etc/watchd.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/watchd ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/watchd.conf ${STAGEDIR}${PREFIX}/etc/watchd.conf.sample [ -f ${PREFIX}/etc/watchd.conf ] || \ - ${INSTALL_DATA} ${WRKSRC}/watchd.conf ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/watchd.conf ${STAGEDIR}${PREFIX}/etc + .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/watchfolder.pdf ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/watchfolder.pdf \ + ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |