svn commit: r411491 - head/games/p5-Games-Bingo-Print

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Mar 20 18:37:19 UTC 2016


Author: sunpoet
Date: Sun Mar 20 18:37:17 2016
New Revision: 411491
URL: https://svnweb.freebsd.org/changeset/ports/411491

Log:
  - 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

Modified:
  head/games/p5-Games-Bingo-Print/Makefile

Modified: head/games/p5-Games-Bingo-Print/Makefile
==============================================================================
--- head/games/p5-Games-Bingo-Print/Makefile	Sun Mar 20 18:37:13 2016	(r411490)
+++ head/games/p5-Games-Bingo-Print/Makefile	Sun Mar 20 18:37:17 2016	(r411491)
@@ -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 at 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>


More information about the svn-ports-all mailing list