aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-11 21:27:12 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-11 21:27:12 +0000
commit987d3cd3dde933a076a4995dd4b919ff177676ac (patch)
treed7d0cba29dfa63f2956a887c2d25f4e831dfbdca /chinese
parente7ae547ebfba19881b05c95db7aed9719cecfec8 (diff)
downloadports-987d3cd3dde933a076a4995dd4b919ff177676ac.tar.gz
ports-987d3cd3dde933a076a4995dd4b919ff177676ac.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5width/Makefile4
-rw-r--r--chinese/big5width/pkg-plist4
2 files changed, 3 insertions, 5 deletions
diff --git a/chinese/big5width/Makefile b/chinese/big5width/Makefile
index 01b0fdf978c7..0210346b2ece 100644
--- a/chinese/big5width/Makefile
+++ b/chinese/big5width/Makefile
@@ -48,10 +48,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/LC_CTYPE ${LOCALEDIR}/${LANG}
${CP} -p ${BASELOCALEDIR}/${LANG}/LC_CTYPE \
${LOCALEDIR}/${LANG}/LC_CTYPE.old
-.if !defined(PACKAGE_BUILDING) # don't modify building environment
- ${LN} -sf ${LOCALEDIR}/${LANG}/LC_CTYPE \
+ ${CP} -p ${LOCALEDIR}/${LANG}/LC_CTYPE \
${BASELOCALEDIR}/${LANG}/LC_CTYPE
-.endif
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/chinese/big5width/pkg-plist b/chinese/big5width/pkg-plist
index 5623a64dee1d..96744b47bdb6 100644
--- a/chinese/big5width/pkg-plist
+++ b/chinese/big5width/pkg-plist
@@ -1,5 +1,5 @@
share/locale/%%LANG%%/LC_CTYPE
-@unexec rm -f %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE; mv -f %D/share/locale/%%LANG%%/LC_CTYPE.old %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE
+@unexec mv -f %D/share/locale/%%LANG%%/LC_CTYPE.old %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE
@dirrm share/locale/%%LANG%%
@dirrmtry share/locale
-@exec cp -p %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE %D/share/locale/%%LANG%%/LC_CTYPE.old; ln -sf %D/share/locale/%%LANG%%/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE
+@exec cp -p %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE %D/share/locale/%%LANG%%/LC_CTYPE.old; cp -p %D/share/locale/%%LANG%%/LC_CTYPE %%BASELOCALEDIR%%/%%LANG%%/LC_CTYPE