aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-12-30 02:15:57 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-12-30 02:15:57 +0000
commit1406dcb4fa54f7e041690cac08585b6b514c5d23 (patch)
tree492e4b4720a7c2b90062f6e1fae342ca29bfe72e /shells
parent56c843dca8058da8a3a37e08bd801a5778262722 (diff)
downloadports-1406dcb4fa54f7e041690cac08585b6b514c5d23.tar.gz
ports-1406dcb4fa54f7e041690cac08585b6b514c5d23.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/zoidberg/Makefile7
-rw-r--r--shells/zoidberg/files/extra-patch-MANIFEST13
-rw-r--r--shells/zoidberg/pkg-plist10
3 files changed, 21 insertions, 9 deletions
diff --git a/shells/zoidberg/Makefile b/shells/zoidberg/Makefile
index 6b2a3199e9da..b83fc7c845b7 100644
--- a/shells/zoidberg/Makefile
+++ b/shells/zoidberg/Makefile
@@ -8,7 +8,7 @@
PORTNAME= zoidberg
PORTVERSION= 0.96
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/P/PA/PARDUS
@@ -50,6 +50,11 @@ MAN3= Bundle::Zoidberg.3 \
Zoidberg::Utils::GetOpt.3 \
Zoidberg::Utils::Output.3
+post-extract:
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-MANIFEST
+.endif
+
post-install:
@${ECHO_CMD} ${PREFIX}/bin/zoid >> /etc/shells
diff --git a/shells/zoidberg/files/extra-patch-MANIFEST b/shells/zoidberg/files/extra-patch-MANIFEST
new file mode 100644
index 000000000000..6d3d79dabfec
--- /dev/null
+++ b/shells/zoidberg/files/extra-patch-MANIFEST
@@ -0,0 +1,13 @@
+--- MANIFEST.orig 2006-02-11 05:32:34.000000000 -0900
++++ MANIFEST 2008-12-29 17:04:35.000000000 -0900
+@@ -11,10 +11,6 @@
+ Build.PL
+ Changes
+ configure
+-doc/examples/cpan.pl
+-doc/examples/Menu.pl
+-doc/examples/word_expansion.pl
+-doc/index.html
+ etc/zoidrc
+ lib/Bundle/Zoidberg.pm
+ lib/Zoidberg.pm
diff --git a/shells/zoidberg/pkg-plist b/shells/zoidberg/pkg-plist
index d03fd9a79a30..654bb1fb64d2 100644
--- a/shells/zoidberg/pkg-plist
+++ b/shells/zoidberg/pkg-plist
@@ -73,17 +73,11 @@ etc/zoidberg/plugins/ReadLine.pl
@dirrm %%SITE_PERL%%/auto/Zoidberg/Fish/Commands
@dirrm %%SITE_PERL%%/auto/Zoidberg/Fish
@dirrm %%SITE_PERL%%/auto/Zoidberg
-@dirrm %%SITE_PERL%%/auto
+@dirrmtry %%SITE_PERL%%/auto
@dirrm %%SITE_PERL%%/Zoidberg/Utils
@dirrm %%SITE_PERL%%/Zoidberg/Fish
@dirrm %%SITE_PERL%%/Zoidberg
-@dirrm %%SITE_PERL%%/Bundle
-@dirrm %%SITE_PERL%%
-@dirrm lib/perl5/site_perl
-@dirrm lib/perl5/%%PERL_VER%%/man/man3
-@dirrm lib/perl5/%%PERL_VER%%/man
-@dirrm lib/perl5/%%PERL_VER%%
-@dirrm lib/perl5
+@dirrmtry %%SITE_PERL%%/Bundle
@dirrm etc/zoidberg/plugins
@dirrm etc/zoidberg/pixmaps
@dirrm etc/zoidberg