svn commit: r390226 - head/net/p5-Net-Pcap

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jun 21 13:55:16 UTC 2015


Author: sunpoet
Date: Sun Jun 21 13:55:15 2015
New Revision: 390226
URL: https://svnweb.freebsd.org/changeset/ports/390226

Log:
  - Add LICENSE
  - Strip shared library
  - Sort PLIST
  - Bump PORTREVISION for package change

Modified:
  head/net/p5-Net-Pcap/Makefile
  head/net/p5-Net-Pcap/pkg-plist

Modified: head/net/p5-Net-Pcap/Makefile
==============================================================================
--- head/net/p5-Net-Pcap/Makefile	Sun Jun 21 13:55:11 2015	(r390225)
+++ head/net/p5-Net-Pcap/Makefile	Sun Jun 21 13:55:15 2015	(r390226)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Net-Pcap
 PORTVERSION=	0.17
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,11 +11,17 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Interface to pcap(3) LBL packet capture library
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
 BUILD_DEPENDS=	p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface
-RUN_DEPENDS=	p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
 
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Pcap/Pcap.so
+
 .include <bsd.port.mk>

Modified: head/net/p5-Net-Pcap/pkg-plist
==============================================================================
--- head/net/p5-Net-Pcap/pkg-plist	Sun Jun 21 13:55:11 2015	(r390225)
+++ head/net/p5-Net-Pcap/pkg-plist	Sun Jun 21 13:55:15 2015	(r390226)
@@ -1,5 +1,5 @@
 bin/pcapinfo
-%%PERL5_MAN3%%/Net::Pcap.3.gz
 %%SITE_ARCH%%/Net/Pcap.pm
 %%SITE_ARCH%%/auto/Net/Pcap/Pcap.so
+%%PERL5_MAN3%%/Net::Pcap.3.gz
 man/man1/pcapinfo.1.gz


More information about the svn-ports-all mailing list