From 6f2140041255a43d048164d9458c6193ff948dbd Mon Sep 17 00:00:00 2001 From: hrs Date: Sat, 9 Jun 2007 12:06:56 +0000 Subject: - Rename the package name: s/ja-tgif/ja-tgif-resource/. - Use scalable fonts for Japanese characters. Approved by: maintainer --- japanese/tgif/Makefile | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'japanese/tgif/Makefile') 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 -- cgit