aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-04-19 08:40:54 +0800
committerEdwin Groothuis <edwin@FreeBSD.org>2008-04-19 08:40:54 +0800
commit9937a09c97250e78d587598549d6124ad0367f66 (patch)
tree414ba0a5d8972f6fff9b0857f4776cb1cef8f425 /cad
parentb9b294b8fc2be0b778681f60fcfcf4bbbbf3acec (diff)
downloadfreebsd-ports-gnome-9937a09c97250e78d587598549d6124ad0367f66.tar.gz
freebsd-ports-gnome-9937a09c97250e78d587598549d6124ad0367f66.tar.zst
freebsd-ports-gnome-9937a09c97250e78d587598549d6124ad0367f66.zip
Use @rmtry macro in the pkg-plist.
Diffstat (limited to 'cad')
-rw-r--r--cad/kicad-devel/pkg-plist10
-rw-r--r--cad/kicad/pkg-plist10
-rw-r--r--cad/linux-eagle/pkg-plist2
-rw-r--r--cad/linux-eagle5/pkg-plist2
-rw-r--r--cad/opencascade/pkg-plist8
5 files changed, 16 insertions, 16 deletions
diff --git a/cad/kicad-devel/pkg-plist b/cad/kicad-devel/pkg-plist
index 3ff94de0eee9..431509717235 100644
--- a/cad/kicad-devel/pkg-plist
+++ b/cad/kicad-devel/pkg-plist
@@ -1,18 +1,18 @@
%%INSTDIR%%/%%OPSYS%%/cvpcb
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/eeschema
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/gerbview
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/kicad
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/pcbnew
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/plugins/netlist_form_pads-pcb
%%INSTDIR%%/INSTALL.txt
%%INSTDIR%%/author.txt
diff --git a/cad/kicad/pkg-plist b/cad/kicad/pkg-plist
index 3ff94de0eee9..431509717235 100644
--- a/cad/kicad/pkg-plist
+++ b/cad/kicad/pkg-plist
@@ -1,18 +1,18 @@
%%INSTDIR%%/%%OPSYS%%/cvpcb
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/eeschema
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/gerbview
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/kicad
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/pcbnew
@exec ln -sf %D/%F %D/bin
-@unexec rm %D/bin/%f 2>&1 >/dev/null || true
+@rmtry bin/%f
%%INSTDIR%%/%%OPSYS%%/plugins/netlist_form_pads-pcb
%%INSTDIR%%/INSTALL.txt
%%INSTDIR%%/author.txt
diff --git a/cad/linux-eagle/pkg-plist b/cad/linux-eagle/pkg-plist
index 3bde8ae25580..0fbb0adbbfe6 100644
--- a/cad/linux-eagle/pkg-plist
+++ b/cad/linux-eagle/pkg-plist
@@ -813,7 +813,7 @@ share/eagle/ulp/unidat.ulp
share/eagle/ulp/update-packages.ulp
share/eagle/ulp/useful-routines.ulp
share/eagle/ulp/warning.bmp
-@unexec rm -f %D/share/eagle/bin/eagle.key || true
+@rmtry share/eagle/bin/eagle.key
@dirrm share/eagle/ulp
@dirrm share/eagle/scr
@dirrm share/eagle/projects/examples/tutorial
diff --git a/cad/linux-eagle5/pkg-plist b/cad/linux-eagle5/pkg-plist
index 3bde8ae25580..0fbb0adbbfe6 100644
--- a/cad/linux-eagle5/pkg-plist
+++ b/cad/linux-eagle5/pkg-plist
@@ -813,7 +813,7 @@ share/eagle/ulp/unidat.ulp
share/eagle/ulp/update-packages.ulp
share/eagle/ulp/useful-routines.ulp
share/eagle/ulp/warning.bmp
-@unexec rm -f %D/share/eagle/bin/eagle.key || true
+@rmtry share/eagle/bin/eagle.key
@dirrm share/eagle/ulp
@dirrm share/eagle/scr
@dirrm share/eagle/projects/examples/tutorial
diff --git a/cad/opencascade/pkg-plist b/cad/opencascade/pkg-plist
index eb5c92a6400f..d1cc110cec7c 100644
--- a/cad/opencascade/pkg-plist
+++ b/cad/opencascade/pkg-plist
@@ -45970,10 +45970,10 @@ lib/libwokutilscmd.so.0
%%OCCROOT%%/wok/site/wokinit.csh
%%OCCROOT%%/wok/wok_entities/ATLIST
@comment "The following entities only exist if wokinit.csh has been run."
-@unexec rm %D%/OpenCAS/wok/wok_entities/DEFAULT.edl 2>/dev/null || true
-@unexec rm %D%/OpenCAS/wok/wok_entities/OS.edl 2>/dev/null || true
-@unexec rm %D%/OpenCAS/wok/wok_entities/OS/adm/WSLIST 2>/dev/null || true
-@unexec rm %D%/OpenCAS/wok/wok_entities/WOKSESSION.edl 2>/dev/null || true
+@rmtry OpenCAS/wok/wok_entities/DEFAULT.edl
+@rmtry OpenCAS/wok/wok_entities/OS.edl
+@rmtry OpenCAS/wok/wok_entities/OS/adm/WSLIST
+@rmtry OpenCAS/wok/wok_entities/WOKSESSION.edl
@dirrmtry %%OCCROOT%%/wok/wok_entities/OS/adm
@dirrmtry %%OCCROOT%%/wok/wok_entities/OS/SCCS
@dirrmtry %%OCCROOT%%/wok/wok_entities/OS