diff options
-rw-r--r-- | games/p5-Games-Bingo-Print/Makefile | 21 | ||||
-rw-r--r-- | games/p5-Games-Bingo-Print/pkg-plist | 4 |
2 files changed, 12 insertions, 13 deletions
diff --git a/games/p5-Games-Bingo-Print/Makefile b/games/p5-Games-Bingo-Print/Makefile index e11addea8bc7..af9c0ad3d5ed 100644 --- a/games/p5-Games-Bingo-Print/Makefile +++ b/games/p5-Games-Bingo-Print/Makefile @@ -22,18 +22,17 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -MAN1= bingo_print.pl.1 -MAN3= Games::Bingo::Print.3 +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= bingo_print.pl + +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: -.ifndef(NOPORTDOCS) - @${ECHO_MSG} "===> Installing example for ${PKGNAME}" - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/bingo_print.pl ${EXAMPLESDIR} -.endif - -test: - @cd ${WRKSRC}; make test + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/bingo_print.pl ${STAGEDIR}${EXAMPLESDIR} + +regression-test: build + @cd ${WRKSRC} && ${MAKE} -s test .include <bsd.port.mk> diff --git a/games/p5-Games-Bingo-Print/pkg-plist b/games/p5-Games-Bingo-Print/pkg-plist index 3062147ce1e2..4c70818db2de 100644 --- a/games/p5-Games-Bingo-Print/pkg-plist +++ b/games/p5-Games-Bingo-Print/pkg-plist @@ -1,8 +1,8 @@ bin/bingo_print.pl +man/man1/bingo_print.pl.1.gz %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games-Bingo-Print/.packlist %%SITE_PERL%%/Games/Bingo/Print.pm -%%PORTDOCS%%%%EXAMPLESDIR%%/bingo_print.pl -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PERL5_MAN3%%/Games::Bingo::Print.3.gz @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games-Bingo-Print @dirrmtry %%SITE_PERL%%/Games/Bingo @dirrmtry %%SITE_PERL%%/Games |