aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-05-21 12:10:44 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-05-21 12:10:44 +0000
commit3ce8b38125845389afbbe0a1d79803444196eda2 (patch)
tree07f6ec197936176d9c83258d21333ec3309a6de5 /news
parent64a88bdf7a146f90033aa7dd78ec63dcc45e6332 (diff)
downloadports-3ce8b38125845389afbbe0a1d79803444196eda2.tar.gz
ports-3ce8b38125845389afbbe0a1d79803444196eda2.zip
Notes
Diffstat (limited to 'news')
-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 a4544d5f7bff..11724abfb583 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 370e799c01d3..590f7541905d 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