svn commit: r340504 - head/devel/gzstream
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 21 00:05:20 UTC 2014
Author: bapt
Date: Tue Jan 21 00:05:20 2014
New Revision: 340504
URL: http://svnweb.freebsd.org/changeset/ports/340504
QAT: https://qat.redports.org/buildarchive/r340504/
Log:
Support stage
Modified:
head/devel/gzstream/Makefile
Modified: head/devel/gzstream/Makefile
==============================================================================
--- head/devel/gzstream/Makefile Tue Jan 21 00:04:23 2014 (r340503)
+++ head/devel/gzstream/Makefile Tue Jan 21 00:05:20 2014 (r340504)
@@ -18,14 +18,13 @@ PLIST_FILES= lib/lib${PORTNAME}.so lib/l
ALL_TARGET= default
CFLAGS+= -fPIC -I.
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's/=/?=/;s/\.a/.so/g;s/CPPFL/CXXFL/g;\
s/{AR}/{CC} $${CFLAGS} -lz -shared -o/' ${WRKSRC}/${MAKEFILE}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${PREFIX}/lib/
- @${LN} -sf lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${PREFIX}/include/
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
+ ${LN} -sf lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list