- Add LICENSE

- Add NO_ARCH
- Optionize docs and examples

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-12-26 09:00:22 +00:00
parent 53c4867b31
commit 7afee5c113
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488362

View file

@ -11,7 +11,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Data modelling tool and RDBMS-OO mapper
OPTIONS_DEFINE= DOCS EXAMPLES
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Exception-Class>=0:devel/p5-Exception-Class \
@ -22,15 +24,20 @@ RUN_DEPENDS= p5-Exception-Class>=0:devel/p5-Exception-Class \
USES= perl5
USE_PERL5= modbuild
NO_ARCH= yes
EXAMPLES= eg/alzabo_grep eg/alzabo_to_ascii eg/convert.pl eg/reverse_cardinality.pl
EXAMPLESMASON= mason/widgets/edit_field_checkbox mason/widgets/edit_field_text_input mason/widgets/edit_field_textarea mason/widgets/fk_to_one_select mason/widgets/insert mason/widgets/insert_or_update mason/widgets/update
PORTDOCS= README Changes TODO
PORTEXAMPLES= *
post-install:
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mason
${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLESMASON:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}/mason