aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Compress-Raw-Zlib
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-15 14:44:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-15 14:44:01 +0000
commit5a3923e896ca1d6cf89eb879947237c1c613f5bc (patch)
treec9a01b1c6085a0f8390b19ea5ad24eed8bed69d8 /archivers/p5-Compress-Raw-Zlib
parent05554a89afbd81b41d0d81ba3ed7e0c8bf7c7a79 (diff)
downloadports-5a3923e896ca1d6cf89eb879947237c1c613f5bc.tar.gz
ports-5a3923e896ca1d6cf89eb879947237c1c613f5bc.zip
- Strip shared library
- Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=389726
Diffstat (limited to 'archivers/p5-Compress-Raw-Zlib')
-rw-r--r--archivers/p5-Compress-Raw-Zlib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/archivers/p5-Compress-Raw-Zlib/Makefile b/archivers/p5-Compress-Raw-Zlib/Makefile
index 2663d6c938a7..28358dee43b3 100644
--- a/archivers/p5-Compress-Raw-Zlib/Makefile
+++ b/archivers/p5-Compress-Raw-Zlib/Makefile
@@ -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>