Fix *_DEPENDS

- Add LICENSE
- Move devel/p5-Test-Differences from BUILD_DEPENDS to TEST_DEPENDS
- Add NO_ARCH
- Convert to options target helper

Approved by:	portmgr (blanket)
With hat:	perl
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-10 18:36:33 +00:00
parent 706b7611ad
commit 635b5616ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431118

View file

@ -11,18 +11,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= Alex.Bakhtin@gmail.com
COMMENT= Build and install Perl applications
RUN_DEPENDS= p5-App-Options>=0:devel/p5-App-Options \
p5-Module-Build>=0.28:devel/p5-Module-Build
BUILD_DEPENDS= p5-Test-Differences>=0.47:devel/p5-Test-Differences \
p5-App-Options>=0:devel/p5-App-Options \
p5-Module-Build>=0.28:devel/p5-Module-Build
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-App-Options>=0:devel/p5-App-Options \
p5-Module-Build>=0.28:devel/p5-Module-Build
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Differences>=0.47:devel/p5-Test-Differences
NO_ARCH= yes
USES= perl5
USE_PERL5= modbuild
OPTIONS_DEFINE= DOCS
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."