aboutsummaryrefslogtreecommitdiffstats
path: root/www
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 /www
parent9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff)
downloadfreebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.gz
freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.zst
freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'www')
-rw-r--r--www/coppermine/Makefile3
-rw-r--r--www/drupal/pkg-plist4
-rw-r--r--www/drupal4/pkg-plist4
-rw-r--r--www/drupal5/pkg-plist4
-rw-r--r--www/drupal6/pkg-plist4
-rw-r--r--www/drupal7/pkg-plist4
-rw-r--r--www/horde-base/pkg-plist2
-rw-r--r--www/horde/pkg-plist2
-rw-r--r--www/horde4-base/pkg-plist2
-rw-r--r--www/iwebcal/pkg-plist4
-rw-r--r--www/libapreq2/pkg-plist22
-rw-r--r--www/lynx-current/pkg-plist4
-rw-r--r--www/mplayer-plugin/pkg-plist2
-rw-r--r--www/p5-HTML-FillInForm/pkg-plist2
-rw-r--r--www/p5-WWW-Wikipedia/pkg-plist4
-rw-r--r--www/xaraya/Makefile2
16 files changed, 34 insertions, 35 deletions
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile
index 7e890c0c3938..82d53e89e924 100644
--- a/www/coppermine/Makefile
+++ b/www/coppermine/Makefile
@@ -87,7 +87,6 @@ build-plist:
${FIND} ${DOCSDIR} -type d | \
${SED} -e 's|${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' | \
${SORT} -r >> pkg-plist
- ${ECHO} "@unexec rmdir %D/%%CPGDIR%% 2>/dev/null || true" \
- >> pkg-plist
+ ${ECHO} "@dirrmtry %%CPGDIR%%" >> pkg-plist
.include <bsd.port.mk>
diff --git a/www/drupal/pkg-plist b/www/drupal/pkg-plist
index f2a4397544bf..734e8b5dee00 100644
--- a/www/drupal/pkg-plist
+++ b/www/drupal/pkg-plist
@@ -142,8 +142,8 @@
@dirrm %%DRUPDIR%%/themes/chameleon
@dirrm %%DRUPDIR%%/themes/bluemarine
@dirrm %%DRUPDIR%%/themes
-@unexec rmdir %D/%%DRUPDIR%%/sites/default 2>/dev/null || /usr/bin/true
-@unexec rmdir %D/%%DRUPDIR%%/sites 2>/dev/null || /usr/bin/true
+@dirrmtry %%DRUPDIR%%/sites/default
+@dirrmtry %%DRUPDIR%%/sites
@dirrm %%DRUPDIR%%/scripts
@dirrm %%DRUPDIR%%/modules
@dirrm %%DRUPDIR%%/misc
diff --git a/www/drupal4/pkg-plist b/www/drupal4/pkg-plist
index f2a4397544bf..734e8b5dee00 100644
--- a/www/drupal4/pkg-plist
+++ b/www/drupal4/pkg-plist
@@ -142,8 +142,8 @@
@dirrm %%DRUPDIR%%/themes/chameleon
@dirrm %%DRUPDIR%%/themes/bluemarine
@dirrm %%DRUPDIR%%/themes
-@unexec rmdir %D/%%DRUPDIR%%/sites/default 2>/dev/null || /usr/bin/true
-@unexec rmdir %D/%%DRUPDIR%%/sites 2>/dev/null || /usr/bin/true
+@dirrmtry %%DRUPDIR%%/sites/default
+@dirrmtry %%DRUPDIR%%/sites
@dirrm %%DRUPDIR%%/scripts
@dirrm %%DRUPDIR%%/modules
@dirrm %%DRUPDIR%%/misc
diff --git a/www/drupal5/pkg-plist b/www/drupal5/pkg-plist
index f2a4397544bf..734e8b5dee00 100644
--- a/www/drupal5/pkg-plist
+++ b/www/drupal5/pkg-plist
@@ -142,8 +142,8 @@
@dirrm %%DRUPDIR%%/themes/chameleon
@dirrm %%DRUPDIR%%/themes/bluemarine
@dirrm %%DRUPDIR%%/themes
-@unexec rmdir %D/%%DRUPDIR%%/sites/default 2>/dev/null || /usr/bin/true
-@unexec rmdir %D/%%DRUPDIR%%/sites 2>/dev/null || /usr/bin/true
+@dirrmtry %%DRUPDIR%%/sites/default
+@dirrmtry %%DRUPDIR%%/sites
@dirrm %%DRUPDIR%%/scripts
@dirrm %%DRUPDIR%%/modules
@dirrm %%DRUPDIR%%/misc
diff --git a/www/drupal6/pkg-plist b/www/drupal6/pkg-plist
index f2a4397544bf..734e8b5dee00 100644
--- a/www/drupal6/pkg-plist
+++ b/www/drupal6/pkg-plist
@@ -142,8 +142,8 @@
@dirrm %%DRUPDIR%%/themes/chameleon
@dirrm %%DRUPDIR%%/themes/bluemarine
@dirrm %%DRUPDIR%%/themes
-@unexec rmdir %D/%%DRUPDIR%%/sites/default 2>/dev/null || /usr/bin/true
-@unexec rmdir %D/%%DRUPDIR%%/sites 2>/dev/null || /usr/bin/true
+@dirrmtry %%DRUPDIR%%/sites/default
+@dirrmtry %%DRUPDIR%%/sites
@dirrm %%DRUPDIR%%/scripts
@dirrm %%DRUPDIR%%/modules
@dirrm %%DRUPDIR%%/misc
diff --git a/www/drupal7/pkg-plist b/www/drupal7/pkg-plist
index f2a4397544bf..734e8b5dee00 100644
--- a/www/drupal7/pkg-plist
+++ b/www/drupal7/pkg-plist
@@ -142,8 +142,8 @@
@dirrm %%DRUPDIR%%/themes/chameleon
@dirrm %%DRUPDIR%%/themes/bluemarine
@dirrm %%DRUPDIR%%/themes
-@unexec rmdir %D/%%DRUPDIR%%/sites/default 2>/dev/null || /usr/bin/true
-@unexec rmdir %D/%%DRUPDIR%%/sites 2>/dev/null || /usr/bin/true
+@dirrmtry %%DRUPDIR%%/sites/default
+@dirrmtry %%DRUPDIR%%/sites
@dirrm %%DRUPDIR%%/scripts
@dirrm %%DRUPDIR%%/modules
@dirrm %%DRUPDIR%%/misc
diff --git a/www/horde-base/pkg-plist b/www/horde-base/pkg-plist
index e3902824891b..e33cd965cad1 100644
--- a/www/horde-base/pkg-plist
+++ b/www/horde-base/pkg-plist
@@ -1590,4 +1590,4 @@
@dirrm %%HORDEDIR%%/admin
@dirrmtry %%HORDEDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%RMDIRINC%%@unexec rmdir %D/%%HORDE_INC%% 2>/dev/null || true
+%%RMDIRINC%%@dirrmtry %%HORDE_INC%%
diff --git a/www/horde/pkg-plist b/www/horde/pkg-plist
index e3902824891b..e33cd965cad1 100644
--- a/www/horde/pkg-plist
+++ b/www/horde/pkg-plist
@@ -1590,4 +1590,4 @@
@dirrm %%HORDEDIR%%/admin
@dirrmtry %%HORDEDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%RMDIRINC%%@unexec rmdir %D/%%HORDE_INC%% 2>/dev/null || true
+%%RMDIRINC%%@dirrmtry %%HORDE_INC%%
diff --git a/www/horde4-base/pkg-plist b/www/horde4-base/pkg-plist
index e3902824891b..e33cd965cad1 100644
--- a/www/horde4-base/pkg-plist
+++ b/www/horde4-base/pkg-plist
@@ -1590,4 +1590,4 @@
@dirrm %%HORDEDIR%%/admin
@dirrmtry %%HORDEDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%RMDIRINC%%@unexec rmdir %D/%%HORDE_INC%% 2>/dev/null || true
+%%RMDIRINC%%@dirrmtry %%HORDE_INC%%
diff --git a/www/iwebcal/pkg-plist b/www/iwebcal/pkg-plist
index a78a83cc0bd7..dd432dba1dab 100644
--- a/www/iwebcal/pkg-plist
+++ b/www/iwebcal/pkg-plist
@@ -41,5 +41,5 @@
@dirrm %%IWEBCAL%%/img
@dirrm %%IWEBCAL%%/class
@dirrm %%IWEBCAL%%/base
-@unexec rmdir %D/%%IWEBCAL%%/cache 2>&1 >/dev/null || true
-@unexec rmdir %D/%%IWEBCAL%% 2>&1 >/dev/null || true
+@dirrmtry %%IWEBCAL%%/cache
+@dirrmtry %%IWEBCAL%%
diff --git a/www/libapreq2/pkg-plist b/www/libapreq2/pkg-plist
index 183e92bf0d2b..f35fe7815e55 100644
--- a/www/libapreq2/pkg-plist
+++ b/www/libapreq2/pkg-plist
@@ -49,17 +49,17 @@ libexec/apache2/mod_apreq2.so
%%WITH_MODPERL2%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Request.bs
%%WITH_MODPERL2%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Request.so
%%WITH_MODPERL2%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2/.packlist
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/APR/Request/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/APR/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Apache2/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/CGI/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Cookie/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Error/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Hook/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Param/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Parser/ 2>/dev/null || true
-%%WITH_MODPERL2%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/ 2>/dev/null || true
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/APR/Request/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/APR/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Apache2/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/CGI/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Cookie/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Error/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Hook/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Param/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Parser/
+%%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/
%%WITH_MODPERL2%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2
@dirrm include/apache2/apreq2
@dirrm include/apreq2
diff --git a/www/lynx-current/pkg-plist b/www/lynx-current/pkg-plist
index 4992359da225..4cbba6dfe9ea 100644
--- a/www/lynx-current/pkg-plist
+++ b/www/lynx-current/pkg-plist
@@ -118,5 +118,5 @@ share/lynx_help/lynx_url_support.html
@dirrm %%DOCSDIR%%
@dirrm share/lynx_help/keystrokes
@dirrm share/lynx_help
-%%NLS%%@unexec rmdir %D/share/locale/rw/LC_MESSAGES > /dev/null 2>&1 || true
-%%NLS%%@unexec rmdir %D/share/locale/rw > /dev/null 2>&1 || true
+%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/rw
diff --git a/www/mplayer-plugin/pkg-plist b/www/mplayer-plugin/pkg-plist
index 92dba19e7082..d0b33ad7ac67 100644
--- a/www/mplayer-plugin/pkg-plist
+++ b/www/mplayer-plugin/pkg-plist
@@ -26,4 +26,4 @@ share/locale/pt_BR/LC_MESSAGES/mplayerplug-in.mo
share/locale/ru/LC_MESSAGES/mplayerplug-in.mo
@dirrmtry share/locale/en_US/LC_MESSAGES
@dirrmtry share/locale/en_US
-@unexec rmdir %D/lib/browser_plugins 2>/dev/null || /usr/bin/true
+@dirrmtry lib/browser_plugins
diff --git a/www/p5-HTML-FillInForm/pkg-plist b/www/p5-HTML-FillInForm/pkg-plist
index d6b35483fe33..4a4ec6d88478 100644
--- a/www/p5-HTML-FillInForm/pkg-plist
+++ b/www/p5-HTML-FillInForm/pkg-plist
@@ -2,4 +2,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FillInForm/.packlist
@dirrmtry %%SITE_PERL%%/HTML
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FillInForm
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null|| true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML
diff --git a/www/p5-WWW-Wikipedia/pkg-plist b/www/p5-WWW-Wikipedia/pkg-plist
index b7a402d313fa..005ebf830930 100644
--- a/www/p5-WWW-Wikipedia/pkg-plist
+++ b/www/p5-WWW-Wikipedia/pkg-plist
@@ -4,5 +4,5 @@ bin/wikipedia
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Wikipedia/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Wikipedia
@dirrm %%SITE_PERL%%/WWW/Wikipedia
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>&1 || true
-@unexec rmdir %D/%%SITE_PERL%%/WWW 2>&1 || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW
+@dirrmtry %%SITE_PERL%%/WWW
diff --git a/www/xaraya/Makefile b/www/xaraya/Makefile
index eb4d3ebd1ce6..85fa9e0605c4 100644
--- a/www/xaraya/Makefile
+++ b/www/xaraya/Makefile
@@ -56,7 +56,7 @@ post-install:
-or -name upgrade.php ')' | ${SED} -e \
's,^${PREFIX}/\(.*\),@unexec rm -f %D/\1 >/dev/null 2>\&1 || true,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${XARAYADIR} -type d -and -path "*var*" | \
- ${SED} -e 's,^${PREFIX}/\(.*\),@unexec rmdir %D/\1 >/dev/null 2>\&1 || true,' | \
+ ${SED} -e 's,^${PREFIX}/\(.*\),@dirrmtry \1,' | \
${SORT} -r >> ${TMPPLIST}
@${FIND} ${PREFIX}/${XARAYADIR} -type d -and ! -path "*var*" | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' | \