svn commit: r389726 - head/archivers/p5-Compress-Raw-Zlib

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jun 15 14:44:02 UTC 2015


Author: sunpoet
Date: Mon Jun 15 14:44:01 2015
New Revision: 389726
URL: https://svnweb.freebsd.org/changeset/ports/389726

Log:
  - Strip shared library
  - Bump PORTREVISION for package change

Modified:
  head/archivers/p5-Compress-Raw-Zlib/Makefile

Modified: head/archivers/p5-Compress-Raw-Zlib/Makefile
==============================================================================
--- head/archivers/p5-Compress-Raw-Zlib/Makefile	Mon Jun 15 14:43:57 2015	(r389725)
+++ head/archivers/p5-Compress-Raw-Zlib/Makefile	Mon Jun 15 14:44:01 2015	(r389726)
@@ -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>


More information about the svn-ports-all mailing list