From 19d54fe374c9a55a9f022907fe78065727c679e7 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 25 Aug 2015 14:51:54 +0000 Subject: [PATCH] - Add LICENSE - Use DISTVERSIONSUFFIX instead of DISTNAME - Remove p5-Test-Simple from BUILD_DEPENDS: it is a test only dependency and already in all supported Perl releases - Pass maintainership to perl@ --- net-p2p/p5-Net-BitTorrent-File/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/net-p2p/p5-Net-BitTorrent-File/Makefile b/net-p2p/p5-Net-BitTorrent-File/Makefile index 21e8a93a6526..dc4457c2617f 100644 --- a/net-p2p/p5-Net-BitTorrent-File/Makefile +++ b/net-p2p/p5-Net-BitTorrent-File/Makefile @@ -3,24 +3,25 @@ PORTNAME= Net-BitTorrent-File PORTVERSION= 1.02 +DISTVERSIONSUFFIX= -fix PORTREVISION= 1 CATEGORIES= net-p2p perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-${PORTVERSION}-fix -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for handles loading and saving of .torrent file -RUN_DEPENDS= p5-Convert-Bencode>=0:${PORTSDIR}/converters/p5-Convert-Bencode \ +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Convert-Bencode>=0:${PORTSDIR}/converters/p5-Convert-Bencode \ p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 -BUILD_DEPENDS:= ${RUN_DEPENDS} -BUILD_DEPENDS+= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS:= ${BUILD_DEPENDS} -WRKSRC= ${WRKDIR}/${DISTNAME:S/-fix//} - -USES= perl5 -USE_PERL5= configure NO_ARCH= yes +USE_PERL5= configure +USES= perl5 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include