aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zoidberg
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-12-30 14:09:57 +0800
committerbeech <beech@FreeBSD.org>2008-12-30 14:09:57 +0800
commit3c8a4d96bfc5b356e38620bbafea8be32cc32c55 (patch)
tree04d0d04c31ae640a8c86510e6133987d0a7a6f94 /shells/zoidberg
parentcfbc30cc9ab4b7575fcfa8df5b7eb4ebbf7a9d24 (diff)
downloadfreebsd-ports-graphics-3c8a4d96bfc5b356e38620bbafea8be32cc32c55.tar.gz
freebsd-ports-graphics-3c8a4d96bfc5b356e38620bbafea8be32cc32c55.tar.zst
freebsd-ports-graphics-3c8a4d96bfc5b356e38620bbafea8be32cc32c55.zip
- Fix files left behind
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 b83fc7c845b..81921d4472d 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 6d3d79dabfe..419ab626410 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 654bb1fb64d..e30b1588d60 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%%