aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-12-30 10:15:57 +0800
committerbeech <beech@FreeBSD.org>2008-12-30 10:15:57 +0800
commit3927cea50b86baf0976e8b0c84adfcc74ae984ef (patch)
tree98e8ed010185a9b50dedb23def59878ec2a5b986 /shells
parente292347b871a50f03c86b6f4af5dae0279ad7111 (diff)
downloadfreebsd-ports-gnome-3927cea50b86baf0976e8b0c84adfcc74ae984ef.tar.gz
freebsd-ports-gnome-3927cea50b86baf0976e8b0c84adfcc74ae984ef.tar.zst
freebsd-ports-gnome-3927cea50b86baf0976e8b0c84adfcc74ae984ef.zip
- Respect NOPORTDOCS
- Tweak plist PR: ports/130040
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