Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:18:11 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342999 - head/games/p5-Games-Bingo-Bot
Message-ID:  <201402061018.s16AIBAn062453@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  6 10:18:10 2014
New Revision: 342999
URL: http://svnweb.freebsd.org/changeset/ports/342999
QAT: https://qat.redports.org/buildarchive/r342999/

Log:
  - Support staging
  - Convert to new OPTIONS framework
  - Rename test target to regression-test in order for tinderbox to run target
    automatically

Modified:
  head/games/p5-Games-Bingo-Bot/Makefile
  head/games/p5-Games-Bingo-Bot/pkg-plist

Modified: head/games/p5-Games-Bingo-Bot/Makefile
==============================================================================
--- head/games/p5-Games-Bingo-Bot/Makefile	Thu Feb  6 10:15:08 2014	(r342998)
+++ head/games/p5-Games-Bingo-Bot/Makefile	Thu Feb  6 10:18:10 2014	(r342999)
@@ -16,17 +16,17 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Games::Bingo::Bot.3
+PORTEXAMPLES=	bingobot.pl
+
+OPTIONS_DEFINE=	EXAMPLES
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.ifndef(NOPORTDOCS)
-	@${ECHO_MSG} "===>   Installing example for ${PKGNAME}"
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/bingobot.pl ${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/bingobot.pl ${STAGEDIR}${EXAMPLESDIR}
 
-test:
-	@cd ${WRKSRC}; make test
+regression-test: build
+	@cd ${WRKSRC} && ${MAKE} -s test
 
 .include <bsd.port.mk>

Modified: head/games/p5-Games-Bingo-Bot/pkg-plist
==============================================================================
--- head/games/p5-Games-Bingo-Bot/pkg-plist	Thu Feb  6 10:15:08 2014	(r342998)
+++ head/games/p5-Games-Bingo-Bot/pkg-plist	Thu Feb  6 10:18:10 2014	(r342999)
@@ -1,7 +1,6 @@
 %%SITE_PERL%%/Games/Bingo/Bot.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Bingo/Bot/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/bingobot.pl
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PERL5_MAN3%%/Games::Bingo::Bot.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Bingo/Bot
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Bingo
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061018.s16AIBAn062453>