1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

- Add LICENSE

- Add NO_ARCH
- Fix *_DEPENDS: p5-Test-* are test-only dependencies
- Convert to new options target helper
- Remove regression-test:
- Bump PORTREVISION for dependency change

Approved by:	portmgr (blanket)
With hat:	perl
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-03-20 18:37:17 +00:00
parent 23025e5d38
commit 69cc353443
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411491

View File

@ -3,7 +3,7 @@
PORTNAME= Games-Bingo-Print
PORTVERSION= 0.04
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= games perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -11,14 +11,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Games::Bingo::Print - PDF Generation Class
LICENSE= ART10
BUILD_DEPENDS= p5-Games-Bingo>=0:${PORTSDIR}/games/p5-Games-Bingo \
p5-PDFLib>=0:${PORTSDIR}/print/p5-PDFLib \
p5-Test-Harness>=0:${PORTSDIR}/devel/p5-Test-Harness \
p5-PDFLib>=0:${PORTSDIR}/print/p5-PDFLib
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Harness>=0:${PORTSDIR}/devel/p5-Test-Harness \
p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Perl-Critic>=0:${PORTSDIR}/textproc/p5-Test-Perl-Critic \
p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
@ -26,13 +29,8 @@ OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= bingo_print.pl
.include <bsd.port.options.mk>
post-install:
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/bin/bingo_print.pl ${STAGEDIR}${EXAMPLESDIR}
regression-test: build
@cd ${WRKSRC} && ${MAKE} -s test
.include <bsd.port.mk>