aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-01-05 01:33:16 +0800
committersf <sf@FreeBSD.org>2001-01-05 01:33:16 +0800
commit47ca2d7bacd2fece002952ccaff70d7da429853a (patch)
tree3fa4668ac8f0f83b2722ee102901a9d7726be13f
parent0f4424be25fe4ec0a5143696e268210963f68b3d (diff)
downloadfreebsd-ports-gnome-47ca2d7bacd2fece002952ccaff70d7da429853a.tar.gz
freebsd-ports-gnome-47ca2d7bacd2fece002952ccaff70d7da429853a.tar.zst
freebsd-ports-gnome-47ca2d7bacd2fece002952ccaff70d7da429853a.zip
remove share/chinese stuff if empty.
Submitted by: bento
-rw-r--r--chinese/c2t/pkg-plist2
-rw-r--r--chinese/gb2ps/pkg-plist3
-rw-r--r--chinese/gbscript/pkg-plist2
-rw-r--r--chinese/hc/pkg-plist1
-rw-r--r--chinese/lunar/pkg-plist1
-rw-r--r--chinese/tocps/pkg-plist3
6 files changed, 11 insertions, 1 deletions
diff --git a/chinese/c2t/pkg-plist b/chinese/c2t/pkg-plist
index e54c268ce5b0..47791017aa9c 100644
--- a/chinese/c2t/pkg-plist
+++ b/chinese/c2t/pkg-plist
@@ -1,3 +1,5 @@
@comment $FreeBSD$
bin/c2t
share/chinese/gb/TONEPY.tit
+@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
+@unexec rmdir %D/share/chinese 2>/dev/null || true
diff --git a/chinese/gb2ps/pkg-plist b/chinese/gb2ps/pkg-plist
index 4b87260d0fc1..cb6fa14900b4 100644
--- a/chinese/gb2ps/pkg-plist
+++ b/chinese/gb2ps/pkg-plist
@@ -7,3 +7,6 @@ share/chinese/gb/cfang24.ccf
share/chinese/gb/chei24.ccf
share/chinese/gb/cfan24.ccf
share/doc/gb2ps/gb2ps.help
+@dirrm share/doc/gb2ps
+@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
+@unexec rmdir %D/share/chinese 2>/dev/null || true
diff --git a/chinese/gbscript/pkg-plist b/chinese/gbscript/pkg-plist
index df17ff596d53..1b45f80ad7c9 100644
--- a/chinese/gbscript/pkg-plist
+++ b/chinese/gbscript/pkg-plist
@@ -2,3 +2,5 @@
bin/gbscript
share/chinese/gb/gbscript.pro
share/chinese/gb/cclib.24
+@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
+@unexec rmdir %D/share/chinese 2>/dev/null || true
diff --git a/chinese/hc/pkg-plist b/chinese/hc/pkg-plist
index 1ed5d87535e0..61ae1c77d66e 100644
--- a/chinese/hc/pkg-plist
+++ b/chinese/hc/pkg-plist
@@ -4,3 +4,4 @@ bin/b2g
bin/g2b
share/chinese/hc.tab
share/chinese/hc-supp.tab
+@unexec rmdir %D/share/chinese 2>/dev/null || true
diff --git a/chinese/lunar/pkg-plist b/chinese/lunar/pkg-plist
index b6fbaa58b3ff..84285b79ad5b 100644
--- a/chinese/lunar/pkg-plist
+++ b/chinese/lunar/pkg-plist
@@ -1,3 +1,4 @@
@comment $FreeBSD$
bin/lunar
share/chinese/lunar.bitmap
+@unexec rmdir %D/share/chinese 2>/dev/null || true
diff --git a/chinese/tocps/pkg-plist b/chinese/tocps/pkg-plist
index 484a16cf01a0..76285a0dc6b0 100644
--- a/chinese/tocps/pkg-plist
+++ b/chinese/tocps/pkg-plist
@@ -4,4 +4,5 @@ share/chinese/gb/cfang24.ccf
share/chinese/gb/chei24.ccf
share/chinese/gb/ckai24.ccf
share/chinese/gb/csong24.ccf
-@dirrm share/chinese/gb
+@unexec rmdir %D/share/chinese/gb 2>/dev/null || true
+@unexec rmdir %D/share/chinese 2>/dev/null || true