svn commit: r344937 - head/sysutils/foremost
Antoine Brodin
antoine at FreeBSD.org
Tue Feb 18 18:30:45 UTC 2014
Author: antoine
Date: Tue Feb 18 18:30:44 2014
New Revision: 344937
URL: http://svnweb.freebsd.org/changeset/ports/344937
QAT: https://qat.redports.org/buildarchive/r344937/
Log:
Stage support
Modified:
head/sysutils/foremost/Makefile
Modified: head/sysutils/foremost/Makefile
==============================================================================
--- head/sysutils/foremost/Makefile Tue Feb 18 18:29:02 2014 (r344936)
+++ head/sysutils/foremost/Makefile Tue Feb 18 18:30:44 2014 (r344937)
@@ -9,22 +9,20 @@ MASTER_SITES= http://foremost.sourceforg
MAINTAINER= onatan at gmail.com
COMMENT= Console program to recover files based on their headers and footers
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= freebsd
-MAN8= foremost.8
-PLIST_FILES= bin/foremost etc/foremost.conf.sample
+PLIST_FILES= bin/foremost etc/foremost.conf.sample man/man8/foremost.8.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-Wall -O2|${CFLAGS}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.c
- @${GZCAT} ${WRKSRC}/${MAN8}.gz | ${SED} -e 's|/etc|${PREFIX}/etc|' \
- > ${WRKSRC}/${MAN8}
+ @${GZCAT} ${WRKSRC}/foremost.8.gz | ${SED} -e 's|/etc|${PREFIX}/etc|' \
+ > ${WRKSRC}/foremost.8
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/foremost.conf ${PREFIX}/etc/foremost.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MAN8PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/foremost.conf ${STAGEDIR}${PREFIX}/etc/foremost.conf.sample
+ ${INSTALL_MAN} ${WRKSRC}/foremost.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list