aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-19 07:55:10 +0800
committeredwin <edwin@FreeBSD.org>2008-04-19 07:55:10 +0800
commit62f9f5e410abca79d2730d481569a3c13f50418d (patch)
tree2aa747eb12c3485e27b125c9e9c1a4eb159f630b /astro
parent3c45cff1d7afcd0ad6f2609a8a77423afd1f5c4a (diff)
downloadfreebsd-ports-graphics-62f9f5e410abca79d2730d481569a3c13f50418d.tar.gz
freebsd-ports-graphics-62f9f5e410abca79d2730d481569a3c13f50418d.tar.zst
freebsd-ports-graphics-62f9f5e410abca79d2730d481569a3c13f50418d.zip
Use @dirrmtry and @rmtry macros in the pkg-plist
Diffstat (limited to 'astro')
-rw-r--r--astro/boinc-einsteinathome/pkg-plist2
-rw-r--r--astro/roadmap/pkg-plist3
2 files changed, 3 insertions, 2 deletions
diff --git a/astro/boinc-einsteinathome/pkg-plist b/astro/boinc-einsteinathome/pkg-plist
index 96588102ea5..f4115789cad 100644
--- a/astro/boinc-einsteinathome/pkg-plist
+++ b/astro/boinc-einsteinathome/pkg-plist
@@ -1,4 +1,4 @@
@cwd %%BOINC_HOME%%
projects/%%EINSTEIN_SITE%%/app_info.xml
projects/%%EINSTEIN_SITE%%/%%EINSTEIN_BINARY%%
-@unexec rmdir %D/projects/%%EINSTEIN_SITE%% 2>/dev/null || true
+@dirrmtry projects/%%EINSTEIN_SITE%%
diff --git a/astro/roadmap/pkg-plist b/astro/roadmap/pkg-plist
index 25c038b4803..d69ff3c1b29 100644
--- a/astro/roadmap/pkg-plist
+++ b/astro/roadmap/pkg-plist
@@ -2,7 +2,8 @@ bin/gtkroadmap
bin/gtkroadgps
@exec ln -sf %D/bin/gtkroadmap %D/bin/roadmap
@exec ln -sf %D/bin/gtkroadgps %D/bin/roadgps
-@unexec rm -f %D/bin/roadmap %D/bin/roadgps 2>&1 >/dev/null || true
+@rmtry bin/roadmap
+@rmtry bin/roadgps
bin/buildmap
bin/buildus
bin/dumpmap