aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 14:28:59 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 14:28:59 +0800
commit1677f97aa26c838254a6818de8cfcfd86c746dfb (patch)
tree2c27fc7a03a5b890cdd90d621e595a87209475e6 /sysutils
parent9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff)
downloadfreebsd-ports-graphics-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.gz
freebsd-ports-graphics-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.zst
freebsd-ports-graphics-1677f97aa26c838254a6818de8cfcfd86c746dfb.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/LPRng/pkg-plist4
-rw-r--r--sysutils/apcupsd/pkg-plist2
-rw-r--r--sysutils/bbapm/Makefile3
-rw-r--r--sysutils/coreutils/pkg-plist68
-rw-r--r--sysutils/gkrellm2/pkg-plist8
-rw-r--r--sysutils/lavaps/pkg-plist4
-rw-r--r--sysutils/linux-afaapps/pkg-plist.i3862
-rw-r--r--sysutils/relaxconf/pkg-plist8
-rw-r--r--sysutils/serpentine/pkg-plist2
-rw-r--r--sysutils/xcdroast/pkg-plist8
10 files changed, 54 insertions, 55 deletions
diff --git a/sysutils/LPRng/pkg-plist b/sysutils/LPRng/pkg-plist
index a53362fcb89..784ecb1e40a 100644
--- a/sysutils/LPRng/pkg-plist
+++ b/sysutils/LPRng/pkg-plist
@@ -62,5 +62,5 @@ sbin/lprng_index_certs
%%SYSCONFDIR%%/lpd.conf.sample
%%SYSCONFDIR%%/lpd.perms.sample
%%SYSCONFDIR%%/printcap.sample
-%%CWD%%@unexec rmdir %D/etc/rc.d 2> /dev/null || true
-%%CWD%%@unexec rmdir %D/etc 2> /dev/null || true
+%%CWD%%@dirrmtry etc/rc.d
+%%CWD%%@dirrmtry etc
diff --git a/sysutils/apcupsd/pkg-plist b/sysutils/apcupsd/pkg-plist
index af4dffe5906..07b3266b8e2 100644
--- a/sysutils/apcupsd/pkg-plist
+++ b/sysutils/apcupsd/pkg-plist
@@ -28,4 +28,4 @@ etc/apcupsd/onbattery
%%CGI%%etc/apcupsd/cgi/upsstats.cgi
etc/rc.d/%%STARTUP_SCRIPT%%
%%CGI%%@dirrm etc/apcupsd/cgi
-@unexec rmdir %D/etc/apcupsd 2>/dev/null || /usr/bin/true
+@dirrmtry etc/apcupsd
diff --git a/sysutils/bbapm/Makefile b/sysutils/bbapm/Makefile
index 108b0cb81a3..a51575cba33 100644
--- a/sysutils/bbapm/Makefile
+++ b/sysutils/bbapm/Makefile
@@ -38,7 +38,6 @@ do-install:
.endfor
post-install:
- @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
- >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrmtry share/bbtools" >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/sysutils/coreutils/pkg-plist b/sysutils/coreutils/pkg-plist
index b542c765688..fcc724b966e 100644
--- a/sysutils/coreutils/pkg-plist
+++ b/sysutils/coreutils/pkg-plist
@@ -152,37 +152,37 @@ bin/gyes
%%NLS%%share/locale/zh_CN/LC_TIME/coreutils.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/coreutils.mo
%%NLS%%share/locale/zh_TW/LC_TIME/coreutils.mo
-%%NLS%%@unexec rmdir %D/share/locale/zh_TW/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/zh_CN/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/tr/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/sv/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/sl/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/sk/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ru/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/pt_BR/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/pt/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/pl/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/no/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/nl/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/nb/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ms/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/lg/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/lg/LC_MESSAGES 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/lg 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ko/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ja/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/it/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/hu/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/gl/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ga/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/fr/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/fi/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/et/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/es/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/el/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/de/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/da/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/cs/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ca/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/be/LC_TIME 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/af/LC_TIME 2>/dev/null || true
+%%NLS%%@dirrmtry share/locale/zh_TW/LC_TIME
+%%NLS%%@dirrmtry share/locale/zh_CN/LC_TIME
+%%NLS%%@dirrmtry share/locale/tr/LC_TIME
+%%NLS%%@dirrmtry share/locale/sv/LC_TIME
+%%NLS%%@dirrmtry share/locale/sl/LC_TIME
+%%NLS%%@dirrmtry share/locale/sk/LC_TIME
+%%NLS%%@dirrmtry share/locale/ru/LC_TIME
+%%NLS%%@dirrmtry share/locale/pt_BR/LC_TIME
+%%NLS%%@dirrmtry share/locale/pt/LC_TIME
+%%NLS%%@dirrmtry share/locale/pl/LC_TIME
+%%NLS%%@dirrmtry share/locale/no/LC_TIME
+%%NLS%%@dirrmtry share/locale/nl/LC_TIME
+%%NLS%%@dirrmtry share/locale/nb/LC_TIME
+%%NLS%%@dirrmtry share/locale/ms/LC_TIME
+%%NLS%%@dirrmtry share/locale/lg/LC_TIME
+%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/lg
+%%NLS%%@dirrmtry share/locale/ko/LC_TIME
+%%NLS%%@dirrmtry share/locale/ja/LC_TIME
+%%NLS%%@dirrmtry share/locale/it/LC_TIME
+%%NLS%%@dirrmtry share/locale/hu/LC_TIME
+%%NLS%%@dirrmtry share/locale/gl/LC_TIME
+%%NLS%%@dirrmtry share/locale/ga/LC_TIME
+%%NLS%%@dirrmtry share/locale/fr/LC_TIME
+%%NLS%%@dirrmtry share/locale/fi/LC_TIME
+%%NLS%%@dirrmtry share/locale/et/LC_TIME
+%%NLS%%@dirrmtry share/locale/es/LC_TIME
+%%NLS%%@dirrmtry share/locale/el/LC_TIME
+%%NLS%%@dirrmtry share/locale/de/LC_TIME
+%%NLS%%@dirrmtry share/locale/da/LC_TIME
+%%NLS%%@dirrmtry share/locale/cs/LC_TIME
+%%NLS%%@dirrmtry share/locale/ca/LC_TIME
+%%NLS%%@dirrmtry share/locale/be/LC_TIME
+%%NLS%%@dirrmtry share/locale/af/LC_TIME
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index 76eb7e40a05..39258c14ff8 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -31,8 +31,8 @@ sbin/gkrellmd
%%NLS%%share/locale/sv/LC_MESSAGES/gkrellm.mo
%%CLIENT%%@exec mkdir -p %D/libexec/gkrellm2/plugins
%%CLIENT%%@exec mkdir -p %D/share/gkrellm2/themes
-%%CLIENT%%@unexec rmdir %D/libexec/gkrellm2/plugins 2>/dev/null || true
-%%CLIENT%%@unexec rmdir %D/libexec/gkrellm2 2>/dev/null || true
-%%CLIENT%%@unexec rmdir %D/share/gkrellm2/themes 2>/dev/null || true
-%%CLIENT%%@unexec rmdir %D/share/gkrellm2 2>/dev/null || true
+%%CLIENT%%@dirrmtry libexec/gkrellm2/plugins
+%%CLIENT%%@dirrmtry libexec/gkrellm2
+%%CLIENT%%@dirrmtry share/gkrellm2/themes
+%%CLIENT%%@dirrmtry share/gkrellm2
@cwd %%PREFIX%%
diff --git a/sysutils/lavaps/pkg-plist b/sysutils/lavaps/pkg-plist
index 2718f187f78..38f86415c02 100644
--- a/sysutils/lavaps/pkg-plist
+++ b/sysutils/lavaps/pkg-plist
@@ -1,7 +1,7 @@
bin/lavaps
%%NLS%%share/locale/es/LC_MESSAGES/lavaps.mo
%%NLS%%share/locale/ru/LC_MESSAGES/lavaps.mo
-%%NLS%%@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
+%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ru/LC_MESSAGES
@exec chgrp kmem %D/bin/lavaps
@exec chmod g+s %D/bin/lavaps
diff --git a/sysutils/linux-afaapps/pkg-plist.i386 b/sysutils/linux-afaapps/pkg-plist.i386
index e05a4168499..cad4b48b959 100644
--- a/sysutils/linux-afaapps/pkg-plist.i386
+++ b/sysutils/linux-afaapps/pkg-plist.i386
@@ -1,4 +1,4 @@
dev/MAKEDEV.afa
usr/sbin/afacli
usr/sbin/getcfg.afa
-@unexec rmdir %D/dev 2>/dev/null || true
+@dirrmtry dev
diff --git a/sysutils/relaxconf/pkg-plist b/sysutils/relaxconf/pkg-plist
index 7fcda445e68..307204cb631 100644
--- a/sysutils/relaxconf/pkg-plist
+++ b/sysutils/relaxconf/pkg-plist
@@ -14,10 +14,10 @@ bin/relaxwebinstaller
bin/relaxxconf
%%NLS%%share/locale/zh_CN/LC_MESSAGES/relaxconf.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/relaxconf.mo
-%%NLS%%@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/zh_CN 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2>/dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/zh_TW 2>/dev/null || true
+%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/zh_CN
+%%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/zh_TW
%%DATADIR%%/COPYRIGHT
%%DATADIR%%/COPYRIGHT.RelaxBSD
%%DATADIR%%/README
diff --git a/sysutils/serpentine/pkg-plist b/sysutils/serpentine/pkg-plist
index 1a7d4646598..27f966110f1 100644
--- a/sysutils/serpentine/pkg-plist
+++ b/sysutils/serpentine/pkg-plist
@@ -84,6 +84,6 @@ share/applications/serpentine.desktop
@dirrmtry share/applications
@dirrm %%PYTHON_SITELIBDIR%%/serpentine/plugins
@dirrm %%PYTHON_SITELIBDIR%%/serpentine
-%%MUINE%%@unexec rmdir %D/lib/muine/plugins 2> /dev/null || true
+%%MUINE%%@dirrmtry lib/muine/plugins
@dirrmtry %%PYTHON_SITELIBDIR%%
@dirrmtry %%PYTHON_LIBDIR%%
diff --git a/sysutils/xcdroast/pkg-plist b/sysutils/xcdroast/pkg-plist
index fbc3e7898cd..030c052fe79 100644
--- a/sysutils/xcdroast/pkg-plist
+++ b/sysutils/xcdroast/pkg-plist
@@ -50,7 +50,7 @@ lib/xcdroast-0.98/sound/test.wav
@dirrm lib/xcdroast-0.98/sound
@dirrm lib/xcdroast-0.98
@unexec if pw groupshow -n xcdwrite 2>/dev/null 1>&2; then pw groupdel -n xcdwrite; fi
-%%NLS%%@unexec rmdir %D/share/locale/el_GR/LC_MESSAGES 2> /dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/el_GR 2> /dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/sq_AL/LC_MESSAGES 2> /dev/null || true
-%%NLS%%@unexec rmdir %D/share/locale/sq_AL 2> /dev/null || true
+%%NLS%%@dirrmtry share/locale/el_GR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/el_GR
+%%NLS%%@dirrmtry share/locale/sq_AL/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/sq_AL