aboutsummaryrefslogtreecommitdiffstats
path: root/security/bcwipe
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-09 02:00:06 +0800
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-09 02:00:06 +0800
commit41b359f9e68cff72708f4207a9147fd40a9bb01c (patch)
tree8de7877acac6a9ff9c7465c6cdf72ff3e3b5af12 /security/bcwipe
parent886923a40143cd775104d19c4085d9ea466b5870 (diff)
downloadfreebsd-ports-gnome-41b359f9e68cff72708f4207a9147fd40a9bb01c.tar.gz
freebsd-ports-gnome-41b359f9e68cff72708f4207a9147fd40a9bb01c.tar.zst
freebsd-ports-gnome-41b359f9e68cff72708f4207a9147fd40a9bb01c.zip
Support staging.
Diffstat (limited to 'security/bcwipe')
-rw-r--r--security/bcwipe/Makefile8
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>