aboutsummaryrefslogtreecommitdiff
path: root/shells/zoidberg
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-12-30 06:09:57 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-12-30 06:09:57 +0000
commitc724853b3a6f9f66d642f5adcdad3082e6d099a2 (patch)
treed3674311f702d98d5ac850c9a0f18ef1e153a558 /shells/zoidberg
parenteb3d9ceac1cd353200501dddb620d26995fc54db (diff)
downloadports-c724853b3a6f9f66d642f5adcdad3082e6d099a2.tar.gz
ports-c724853b3a6f9f66d642f5adcdad3082e6d099a2.zip
Notes
Diffstat (limited to 'shells/zoidberg')
-rw-r--r--shells/zoidberg/Makefile10
-rw-r--r--shells/zoidberg/files/extra-patch-MANIFEST18
-rw-r--r--shells/zoidberg/pkg-plist1
3 files changed, 23 insertions, 6 deletions
diff --git a/shells/zoidberg/Makefile b/shells/zoidberg/Makefile
index b83fc7c845b7..81921d4472de 100644
--- a/shells/zoidberg/Makefile
+++ b/shells/zoidberg/Makefile
@@ -8,7 +8,7 @@
PORTNAME= zoidberg
PORTVERSION= 0.96
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= shells perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/P/PA/PARDUS
@@ -50,6 +50,8 @@ MAN3= Bundle::Zoidberg.3 \
Zoidberg::Utils::GetOpt.3 \
Zoidberg::Utils::Output.3
+.include <bsd.port.pre.mk>
+
post-extract:
.if defined(NOPORTDOCS)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-MANIFEST
@@ -57,5 +59,9 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-MANIFEST
post-install:
@${ECHO_CMD} ${PREFIX}/bin/zoid >> /etc/shells
+.if defined(NOPORTDOCS)
+ ${ECHO_CMD} "share/doc/zoidberg/README" >> ${TMPPLIST}
+ ${ECHO_CMD} "share/doc/zoidberg/Changes" >> ${TMPPLIST}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/shells/zoidberg/files/extra-patch-MANIFEST b/shells/zoidberg/files/extra-patch-MANIFEST
index 6d3d79dabfec..419ab626410b 100644
--- a/shells/zoidberg/files/extra-patch-MANIFEST
+++ b/shells/zoidberg/files/extra-patch-MANIFEST
@@ -1,9 +1,11 @@
--- MANIFEST.orig 2006-02-11 05:32:34.000000000 -0900
-+++ MANIFEST 2008-12-29 17:04:35.000000000 -0900
-@@ -11,10 +11,6 @@
++++ MANIFEST 2008-12-29 17:31:03.000000000 -0900
+@@ -9,12 +9,6 @@
+ bin/AppRun
+ bin/fluff
Build.PL
- Changes
- configure
+-Changes
+-configure
-doc/examples/cpan.pl
-doc/examples/Menu.pl
-doc/examples/word_expansion.pl
@@ -11,3 +13,11 @@
etc/zoidrc
lib/Bundle/Zoidberg.pm
lib/Zoidberg.pm
+@@ -41,7 +35,6 @@
+ man1/zoiduser.pod
+ MANIFEST
+ META.yml
+-README
+ share/AppInfo.xml
+ share/pixmaps/zoid16.png
+ share/pixmaps/zoid32.png
diff --git a/shells/zoidberg/pkg-plist b/shells/zoidberg/pkg-plist
index 654bb1fb64d2..e30b1588d607 100644
--- a/shells/zoidberg/pkg-plist
+++ b/shells/zoidberg/pkg-plist
@@ -81,3 +81,4 @@ etc/zoidberg/plugins/ReadLine.pl
@dirrm etc/zoidberg/plugins
@dirrm etc/zoidberg/pixmaps
@dirrm etc/zoidberg
+@dirrmtry %%DOCSDIR%%