aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tgif/Makefile
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-06-09 20:06:56 +0800
committerhrs <hrs@FreeBSD.org>2007-06-09 20:06:56 +0800
commit6f2140041255a43d048164d9458c6193ff948dbd (patch)
treec1889bcfede61b4d351c758bb75542c46b2e832a /japanese/tgif/Makefile
parent99b1005fda50e17f2343955d95656f7957024d80 (diff)
downloadfreebsd-ports-gnome-6f2140041255a43d048164d9458c6193ff948dbd.tar.gz
freebsd-ports-gnome-6f2140041255a43d048164d9458c6193ff948dbd.tar.zst
freebsd-ports-gnome-6f2140041255a43d048164d9458c6193ff948dbd.zip
- Rename the package name: s/ja-tgif/ja-tgif-resource/.
- Use scalable fonts for Japanese characters. Approved by: maintainer
Diffstat (limited to 'japanese/tgif/Makefile')
-rw-r--r--japanese/tgif/Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/japanese/tgif/Makefile b/japanese/tgif/Makefile
index 9adf5d255b1a..fb51fe321c73 100644
--- a/japanese/tgif/Makefile
+++ b/japanese/tgif/Makefile
@@ -5,25 +5,30 @@
# $FreeBSD$
#
-PORTNAME= tgif
-PORTVERSION= 4.1.44
-PORTREVISION= 1
-CATEGORIES= japanese
-MASTER_SITES= http://home.jp.FreeBSD.org/~mita/LOCAL_PORTS/
-DISTNAME= ja-${PORTNAME}-980222
+PORTNAME= tgif-resource
+PORTVERSION= 4.1.45
+CATEGORIES= japanese graphics
+MASTER_SITES= # empty
+DISTFILES= # empty
MAINTAINER= mita@FreeBSD.org
-COMMENT= 2-D drawing facility (with Japanese configuration)
+COMMENT= Japanese Resource and Configuration for TGIF
-RUN_DEPENDS= tgif:${PORTSDIR}/graphics/tgif-nls\
- ${PREFIX}/lib/X11/fonts/local/knm12p.pcf.gz:${PORTSDIR}/japanese/k12
+RUN_DEPENDS= tgif:${PORTSDIR}/graphics/tgif \
+ ${LOCALBASE}/share/ipa-ttfonts/fonts/ipag.ttf:${PORTSDIR}/japanese/ipa-ttfonts
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
+PLIST_SUB= XAPPLRESDIR=${XAPPLRESDIR}
+
+XAPPLRESDIR= lib/X11/ja_JP.eucJP/app-defaults
do-install:
- ${MKDIR} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
- ${INSTALL_DATA} ${WRKSRC}/Tgif ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/
+ ${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
.include <bsd.port.mk>