svn commit: r394494 - in head/textproc/p5-XML-Canonical: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Aug 17 13:06:07 UTC 2015


Author: sunpoet
Date: Mon Aug 17 13:06:06 2015
New Revision: 394494
URL: https://svnweb.freebsd.org/changeset/ports/394494

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

Deleted:
  head/textproc/p5-XML-Canonical/files/
Modified:
  head/textproc/p5-XML-Canonical/Makefile

Modified: head/textproc/p5-XML-Canonical/Makefile
==============================================================================
--- head/textproc/p5-XML-Canonical/Makefile	Mon Aug 17 13:06:02 2015	(r394493)
+++ head/textproc/p5-XML-Canonical/Makefile	Mon Aug 17 13:06:06 2015	(r394494)
@@ -3,7 +3,7 @@
 
 PORTNAME=	XML-Canonical
 PORTVERSION=	0.10
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	textproc perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -21,4 +21,10 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USE_PERL5=	configure
 USES=		perl5 pkgconfig
 
+post-patch:
+	@${REINPLACE_CMD} -e '/die "VERSION" unless /d' ${WRKSRC}/Makefile.PL
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/Canonical/Canonical.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list