aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/tgif/Makefile7
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>