- Strip shared library

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-06-15 14:44:01 +00:00
parent 05554a89af
commit 5a3923e896
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389726

View file

@ -3,6 +3,7 @@
PORTNAME= Compress-Raw-Zlib
PORTVERSION= 2.068
PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PMQS
@ -22,4 +23,9 @@ USES= perl5
post-patch:
@${REINPLACE_CMD} -e '/^BUILD_ZLIB/ s|True|False|; /^INCLUDE/ s|= .*$$|= ${INCLUDEDIR}|; /^LIB/ s|= .*$$|= ${LIBDIR}|' ${WRKSRC}/config.in
post-install:
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so
.include <bsd.port.mk>