svn commit: r389725 - head/archivers/p5-Compress-Raw-Lzma

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


Author: sunpoet
Date: Mon Jun 15 14:43:57 2015
New Revision: 389725
URL: https://svnweb.freebsd.org/changeset/ports/389725

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

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

Modified: head/archivers/p5-Compress-Raw-Lzma/Makefile
==============================================================================
--- head/archivers/p5-Compress-Raw-Lzma/Makefile	Mon Jun 15 14:43:53 2015	(r389724)
+++ head/archivers/p5-Compress-Raw-Lzma/Makefile	Mon Jun 15 14:43:57 2015	(r389725)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Compress-Raw-Lzma
 PORTVERSION=	2.068
+PORTREVISION=	1
 CATEGORIES=	archivers perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:PMQS
@@ -17,11 +18,16 @@ LICENSE_COMB=	dual
 TEST_DEPENDS=	p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
 
 OPTIONS_DEFINE=	LZMALIB
-LZMALIB_DESC=		Use archivers/lzmalia instead of liblzma in base
+LZMALIB_DESC=	Use archivers/lzmalia instead of liblzma in base
 
 USE_PERL5=	configure
 USES=		perl5
 
 LZMALIB_LIB_DEPENDS=	liblzma.so.1:${PORTSDIR}/archivers/lzmalib
 
+post-install:
+	${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Lzma/Lzma.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Lzma/Lzma.so
+	${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Lzma/Lzma.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list