svn commit: r346190 - head/net-mgmt/grepip
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 26 11:23:11 UTC 2014
Author: ehaupt
Date: Wed Feb 26 11:23:10 2014
New Revision: 346190
URL: http://svnweb.freebsd.org/changeset/ports/346190
QAT: https://qat.redports.org/buildarchive/r346190/
Log:
Support staging
Modified:
head/net-mgmt/grepip/Makefile
Modified: head/net-mgmt/grepip/Makefile
==============================================================================
--- head/net-mgmt/grepip/Makefile Wed Feb 26 11:14:36 2014 (r346189)
+++ head/net-mgmt/grepip/Makefile Wed Feb 26 11:23:10 2014 (r346190)
@@ -11,22 +11,22 @@ MASTER_SITES= http://komquats.com/distfi
MAINTAINER= cy at FreeBSD.org
COMMENT= Print lines contans IP matching a pattern in CIDR format
-LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
PLIST_FILES= bin/grepip
PORTDOCS= README.txt
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${WRKSRC}; \
${CC} ${CFLAGS} -c patricia.c; \
- ${CC} ${CFLAGS} -I${LOCALBASE}/include -o grepip grepip.c patricia.o -L${LOCALBASE}/lib -lpcre
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include -o grepip grepip.c patricia.o \
+ -L${LOCALBASE}/lib -lpcre
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/grepip ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/grepip ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list