diff options
author | hrs <hrs@FreeBSD.org> | 2008-10-05 20:47:00 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2008-10-05 20:47:00 +0800 |
commit | 14fbdf46228bc04ccfafc3abefe564f04cff9faf (patch) | |
tree | 73303d88e7d2c4af9ba366554ebc0f4cb5c64e60 /japanese/tgif | |
parent | 1a6c2ea02f74a1afc92c9a5b85121e3ca7c993dd (diff) | |
download | freebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.tar.gz freebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.tar.zst freebsd-ports-gnome-14fbdf46228bc04ccfafc3abefe564f04cff9faf.zip |
Fix an issue that the port overrides the existing, modified resource
file.
Reported by: Hiroto Kagotani
PR: ports/126662
Diffstat (limited to 'japanese/tgif')
-rw-r--r-- | japanese/tgif/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/tgif/Makefile b/japanese/tgif/Makefile index df746c95860d..3c51ac6bc2be 100644 --- a/japanese/tgif/Makefile +++ b/japanese/tgif/Makefile @@ -28,8 +28,9 @@ XAPPLRESDIR= lib/X11/ja_JP.eucJP/app-defaults do-install: ${MKDIR} ${PREFIX}/${XAPPLRESDIR} ${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif.ja-dist -.if !exists(${PREFIX}/${XAPPLRESDIR}/Tgif) - ${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif -.endif + if ! test -r ${PREFIX}/${XAPPLRESDIR}/Tgif; then \ + ${INSTALL_DATA} ${FILESDIR}/Tgif.in \ + ${PREFIX}/${XAPPLRESDIR}/Tgif; \ + fi .include <bsd.port.mk> |