diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 02:00:06 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 02:00:06 +0800 |
commit | 055ee765a1089864cd85cf47cd4b43807f9a2e7e (patch) | |
tree | 8de7877acac6a9ff9c7465c6cdf72ff3e3b5af12 /security/bcwipe | |
parent | 4d81100a5f29ea08f7ab0618908c600a888c323e (diff) | |
download | freebsd-ports-gnome-055ee765a1089864cd85cf47cd4b43807f9a2e7e.tar.gz freebsd-ports-gnome-055ee765a1089864cd85cf47cd4b43807f9a2e7e.tar.zst freebsd-ports-gnome-055ee765a1089864cd85cf47cd4b43807f9a2e7e.zip |
Support staging.
Diffstat (limited to 'security/bcwipe')
-rw-r--r-- | security/bcwipe/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/security/bcwipe/Makefile b/security/bcwipe/Makefile index 3b26ce26209a..08b1c39dcec4 100644 --- a/security/bcwipe/Makefile +++ b/security/bcwipe/Makefile @@ -17,17 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/g:S/-/./} GNU_CONFIGURE= yes MAKE_ARGS+= CFLAGS="${CFLAGS}" -MAN1= bcwipe.1 -PLIST_FILES= bin/bcwipe +PLIST_FILES= bin/bcwipe man/man1/bcwipe.1.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c @${REINPLACE_CMD} -e "s,if (NULL == mktemp(result)),if (mkstemp(result) == -1),g" ${WRKSRC}/wipe.c @${REINPLACE_CMD} -e "s,mktemp,mkstemp,g" ${WRKSRC}/wipe.c do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include <bsd.port.mk> |