aboutsummaryrefslogtreecommitdiff
path: root/japanese/tgif
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-05-24 17:20:50 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-05-24 17:20:50 +0000
commit279356f9570b138f3c125758628f115978219195 (patch)
tree82af07b821c9aeefaf0c8887b63822a2c326a1e9 /japanese/tgif
parent769beb0c42384d98a2828f4b1f1b1ce565699950 (diff)
downloadports-279356f9570b138f3c125758628f115978219195.tar.gz
ports-279356f9570b138f3c125758628f115978219195.zip
Notes
Diffstat (limited to 'japanese/tgif')
-rw-r--r--japanese/tgif/Makefile11
-rw-r--r--japanese/tgif/pkg-plist5
2 files changed, 6 insertions, 10 deletions
diff --git a/japanese/tgif/Makefile b/japanese/tgif/Makefile
index 97e9a86d65ac..b97a38a7f18e 100644
--- a/japanese/tgif/Makefile
+++ b/japanese/tgif/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tgif
PORTVERSION= 4.2.2
+PORTREVISION= 1
CATEGORIES= japanese graphics
MASTER_SITES= # empty
PKGNAMESUFFIX= -resource
@@ -22,13 +23,9 @@ PLIST_SUB= XAPPLRESDIR=${XAPPLRESDIR}
XAPPLRESDIR= lib/X11/ja_JP.eucJP/app-defaults
-NO_STAGE= yes
do-install:
- ${MKDIR} ${PREFIX}/${XAPPLRESDIR}
- ${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif.ja-dist
- if ! test -r ${PREFIX}/${XAPPLRESDIR}/Tgif; then \
- ${INSTALL_DATA} ${FILESDIR}/Tgif.in \
- ${PREFIX}/${XAPPLRESDIR}/Tgif; \
- fi
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${XAPPLRESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/Tgif.in \
+ ${STAGEDIR}${PREFIX}/${XAPPLRESDIR}/Tgif.sample
.include <bsd.port.mk>
diff --git a/japanese/tgif/pkg-plist b/japanese/tgif/pkg-plist
index bb6b733fc5bc..5fffa54aa248 100644
--- a/japanese/tgif/pkg-plist
+++ b/japanese/tgif/pkg-plist
@@ -1,5 +1,4 @@
-@unexec if cmp -s %D/%%XAPPLRESDIR%%/Tgif.ja-dist %D/%%XAPPLRESDIR%%/Tgif; then rm %D/%%XAPPLRESDIR%%/Tgif; fi
-%%XAPPLRESDIR%%/Tgif.ja-dist
-@exec if ! test -r %D/%%XAPPLRESDIR%%/Tgif; then cp %D/%%XAPPLRESDIR%%/Tgif.ja-dist %D/%%XAPPLRESDIR%%/Tgif; fi
+@comment $FreeBSD$
+@sample %%XAPPLRESDIR%%/Tgif.sample
@dirrmtry %%XAPPLRESDIR%%
@dirrmtry lib/X11/ja_JP.eucJP