summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-05-21 12:10:44 +0000
committerknu <knu@FreeBSD.org>2000-05-21 12:10:44 +0000
commit6f4ce01dc1afef097c4b263a08bf8efbd40ca446 (patch)
treee57caef3c1f478d198045a798603d6a45da81cbc
parenta498e1cbdc6ae97adc1fffa51c2949c614460ea2 (diff)
downloadFreeBSD-ports-6f4ce01dc1afef097c4b263a08bf8efbd40ca446.zip
FreeBSD-ports-6f4ce01dc1afef097c4b263a08bf8efbd40ca446.tar.gz
Install the author's example files.
PR: ports/18703 Submitted by: MAINTAINER
-rw-r--r--news/p5-Gateway/Makefile8
-rw-r--r--news/p5-Gateway/pkg-plist7
2 files changed, 15 insertions, 0 deletions
diff --git a/news/p5-Gateway/Makefile b/news/p5-Gateway/Makefile
index a4544d5..11724ab 100644
--- a/news/p5-Gateway/Makefile
+++ b/news/p5-Gateway/Makefile
@@ -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>
diff --git a/news/p5-Gateway/pkg-plist b/news/p5-Gateway/pkg-plist
index 370e799..590f754 100644
--- a/news/p5-Gateway/pkg-plist
+++ b/news/p5-Gateway/pkg-plist
@@ -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
OpenPOWER on IntegriCloud