svn commit: r344936 - head/sysutils/scalpel

Antoine Brodin antoine at FreeBSD.org
Tue Feb 18 18:29:03 UTC 2014


Author: antoine
Date: Tue Feb 18 18:29:02 2014
New Revision: 344936
URL: http://svnweb.freebsd.org/changeset/ports/344936
QAT: https://qat.redports.org/buildarchive/r344936/

Log:
  Stage support

Modified:
  head/sysutils/scalpel/Makefile

Modified: head/sysutils/scalpel/Makefile
==============================================================================
--- head/sysutils/scalpel/Makefile	Tue Feb 18 18:23:41 2014	(r344935)
+++ head/sysutils/scalpel/Makefile	Tue Feb 18 18:29:02 2014	(r344936)
@@ -11,25 +11,22 @@ COMMENT=	Frugal, high performance file c
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	tre.5:${PORTSDIR}/textproc/libtre
+LIB_DEPENDS=	libtre.so:${PORTSDIR}/textproc/libtre
 
 GNU_CONFIGURE=	yes
 SUB_FILES=	pkg-message
 
-MAN1=		scalpel.1
-PLIST_FILES+=	etc/scalpel.conf.sample bin/scalpel
+PLIST_FILES=	etc/scalpel.conf.sample bin/scalpel man/man1/scalpel.1.gz
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/' \
 		${WRKSRC}/src/scalpel.h
 
 post-install:
-	@${CP} -p ${WRKSRC}/scalpel.conf ${PREFIX}/etc/scalpel.conf.sample
-	@${CAT} ${PKGMESSAGE}
+	@${CP} -p ${WRKSRC}/scalpel.conf ${STAGEDIR}${PREFIX}/etc/scalpel.conf.sample
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list