From 69cc35344348f99326fe8d306d48133658e71e21 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 20 Mar 2016 18:37:17 +0000 Subject: [PATCH] - 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 --- games/p5-Games-Bingo-Print/Makefile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/games/p5-Games-Bingo-Print/Makefile b/games/p5-Games-Bingo-Print/Makefile index 69a6142f3ddd..47b37affefba 100644 --- a/games/p5-Games-Bingo-Print/Makefile +++ b/games/p5-Games-Bingo-Print/Makefile @@ -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 - -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