Date: Sat, 8 Feb 2014 17:53:48 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343370 - head/security/wipe Message-ID: <201402081753.s18HrmXC003013@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Sat Feb 8 17:53:48 2014 New Revision: 343370 URL: http://svnweb.freebsd.org/changeset/ports/343370 QAT: https://qat.redports.org/buildarchive/r343370/ Log: Support staging. Modified: head/security/wipe/Makefile Modified: head/security/wipe/Makefile ============================================================================== --- head/security/wipe/Makefile Sat Feb 8 17:52:39 2014 (r343369) +++ head/security/wipe/Makefile Sat Feb 8 17:53:48 2014 (r343370) @@ -14,23 +14,22 @@ LICENSE= GPLv2 USE_BZIP2= yes GNU_CONFIGURE= yes -PLIST_FILES= bin/wipe - -MAN1= wipe.1 +PLIST_FILES= bin/wipe man/man1/wipe.1.gz PORTDOCS= CHANGES INSTALL LICENSE README TESTING TODO copyright -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in +OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> -post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - for i in ${PORTDOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \ - done -.endif +post-patch: + @${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402081753.s18HrmXC003013>