1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Make use of the @rmtry macro

This commit is contained in:
Edwin Groothuis 2008-04-19 01:37:40 +00:00
parent b2052016ba
commit 3b1f80f0d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211560
10 changed files with 14 additions and 14 deletions

View File

@ -34,4 +34,4 @@
@dirrm %%LIB32DIR%%/erlang/lib/distel-2007.11.03/ebin
@dirrm %%LIB32DIR%%/erlang/lib/distel-2007.11.03
@exec ln -sf distel-%%VERSION%% %D/%%LIB32DIR%%/erlang/lib/distel
@unexec rm -f %D/%%LIB32DIR%%/erlang/lib/distel
@rmtry %%LIB32DIR%%/erlang/lib/distel

View File

@ -21,4 +21,4 @@ lib/erlang/lib/slang-%%VERSION%%/src/slang_lib.erl
@dirrm lib/erlang/lib/slang-%%VERSION%%/c_src
@dirrm lib/erlang/lib/slang-%%VERSION%%
@exec ln -sf slang-%%VERSION%% %D/lib/erlang/lib/slang
@unexec rm -f %D/lib/erlang/lib/slang
@rmtry lib/erlang/lib/slang

View File

@ -88,4 +88,4 @@ lib/erlang/lib/esdl-%%VERSION%%/vsn
@dirrm lib/erlang/lib/esdl-%%VERSION%%/c_src
@dirrm lib/erlang/lib/esdl-%%VERSION%%
@exec ln -sf esdl-%%VERSION%% %D/lib/erlang/lib/esdl
@unexec rm -f %D/lib/erlang/lib/esdl
@rmtry lib/erlang/lib/esdl

View File

@ -5,5 +5,5 @@ lib/libfam.a
lib/libfam.la
lib/libfam.so
lib/libfam.so.0
@comment For non-standart prefixes
@unexec rm -f %D/libdata/ldconfig/fam || true
@comment For non-standard prefixes
@rmtry libdata/ldconfig/fam

View File

@ -131,7 +131,7 @@ System/Tools/opentool
@dirrm System/Tools/Resources
@dirrm System/Tools/Java
@dirrm System/Tools
@unexec rm -f %D/System/Makefiles
@rmtry System/Makefiles
@dirrm System/Library/Sounds
@dirrm System/Library/Services
@dirrm System/Library/PostScript

View File

@ -22,7 +22,7 @@ bin/iReport
%%DATADIR%%/fonts/flatline.ttf
%%DATADIR%%/fonts/progenisis.ttf
@exec ln -sf %D/%%JAVAJARDIR%% %D/%%DATADIR%%/lib
@unexec rm -f %D/%%DATADIR%%/lib
@rmtry %%DATADIR%%/lib
%%DATADIR%%/notice.txt
%%DATADIR%%/plugins/JRXMLDataSourcePlugin.xml
%%DATADIR%%/plugins/checkupdate.xml

View File

@ -3,7 +3,7 @@ lib/libphish.a
lib/libphish.la
include/phish.h
bin/libphish-config
@unexec rm -f %D/lib/libphish.so
@rmtry lib/libphish.so
%%PORTDOCS%%%%DOCSDIR%%/Doxyfile
%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
%%PORTDOCS%%%%DOCSDIR%%/annotated.html

View File

@ -49,7 +49,7 @@ share/noweb/xchunks
@dirrmtry share/texmf-local/tex/latex
@dirrmtry share/texmf-local/tex/plain
@dirrmtry share/texmf-local/tex
@unexec rm %D/share/texmf-local/ls-R 2>/dev/null || true
@rmtry hare/texmf-local/ls-R
@dirrmtry share/texmf-local
@unexec mktexlsr 2>/dev/null || true
@dirrm share/noweb

View File

@ -149,7 +149,7 @@
%%SITE_PERL%%/mach/auto/Locale/gettext_xs/gettext_xs.so
%%SITE_PERL%%/mach/auto/Locale/gettext_xs/gettext_xs.bs
@dirrm %%SITE_PERL%%/mach/auto/Locale/gettext_xs
@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Locale
@dirrmtry %%SITE_PERL%%/mach/auto/Locale
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libintl-perl
@dirrm %%SITE_PERL%%/Locale/RecodeData
@dirrm %%SITE_PERL%%/Locale/Recode

View File

@ -160,10 +160,10 @@ etc/pear.conf
@dirrm %%DOCSDIR%%/Structures_Graph/docs
@dirrm %%DOCSDIR%%/Structures_Graph
@dirrmtry share/doc/pear
@unexec rm %D/share/pear/.depdb 2> /dev/null || true
@unexec rm %D/share/pear/.depdblock 2> /dev/null || true
@unexec rm %D/share/pear/.filemap 2> /dev/null || true
@unexec rm %D/share/pear/.lock 2> /dev/null || true
@rmtry share/pear/.depdb
@rmtry share/pear/.depdblock
@rmtry share/pear/.filemap
@rmtry share/pear/.lock
@dirrmtry share/pear/.channels/.alias
@dirrmtry share/pear/.channels
@dirrmtry share/pear/.registry/.channel.__uri