Install the author's example files.

PR:		ports/18703
Submitted by:	MAINTAINER
This commit is contained in:
Akinori MUSHA 2000-05-21 12:10:44 +00:00
parent 64a88bdf7a
commit 3ce8b38125
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28648
2 changed files with 15 additions and 0 deletions

View file

@ -25,4 +25,12 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/Gateway
.for file in listgate listgate.m4 listgate.readme raccmod raccpost racrmod
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/Gateway
.endfor
.endif
.include <bsd.port.mk>

View file

@ -21,3 +21,10 @@ lib/perl5/site_perl/%%PERL_VER%%/auto/News/Gateway/previoushop.al
lib/perl5/site_perl/%%PERL_VER%%/auto/News/Gateway/whitelist.al
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Gateway/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/News/Gateway
share/examples/Gateway/listgate
share/examples/Gateway/listgate.m4
share/examples/Gateway/listgate.readme
share/examples/Gateway/raccmod
share/examples/Gateway/raccpost
share/examples/Gateway/racrmod
@dirrm share/examples/Gateway