1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Add LICENSE

- Add NO_ARCH
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-01-07 09:00:28 +00:00
parent 8e903c02d7
commit e7bf1ff75c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489565

View File

@ -11,6 +11,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Simple wrapper around Apache::Session
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Class-Container>=0:devel/p5-Class-Container \
p5-Params-Validate>=0:devel/p5-Params-Validate \
@ -19,12 +23,13 @@ RUN_DEPENDS= p5-Class-Container>=0:devel/p5-Class-Container \
USES= perl5
USE_PERL5= modbuild
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= Changes
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."