- 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@
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-08-25 14:51:54 +00:00
parent d8a15d385a
commit 19d54fe374
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395268

View file

@ -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 <bsd.port.mk>