summaryrefslogtreecommitdiffstats
path: root/japanese/truetypefonts
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-09 22:04:30 +0000
committerlioux <lioux@FreeBSD.org>2001-10-09 22:04:30 +0000
commita3b7197aae7e2c4f0c70084ab7ae4761f6a938af (patch)
tree215efdd6d91dc5dcd900fd7b56525adb7192396b /japanese/truetypefonts
parentdd74c9542d012dbd05d6830564409b30faa42417 (diff)
downloadFreeBSD-ports-a3b7197aae7e2c4f0c70084ab7ae4761f6a938af.zip
FreeBSD-ports-a3b7197aae7e2c4f0c70084ab7ae4761f6a938af.tar.gz
update to 2001.08.18-2
PR: 31172 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'japanese/truetypefonts')
-rw-r--r--japanese/truetypefonts/Makefile25
-rw-r--r--japanese/truetypefonts/distinfo2
-rw-r--r--japanese/truetypefonts/pkg-plist8
3 files changed, 19 insertions, 16 deletions
diff --git a/japanese/truetypefonts/Makefile b/japanese/truetypefonts/Makefile
index ecb7ada..d0dc69e 100644
--- a/japanese/truetypefonts/Makefile
+++ b/japanese/truetypefonts/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= truetypefonts
-PORTVERSION= 2001.08.18
+PORTVERSION= 2001.08.18.2
CATEGORIES= japanese x11-fonts
MASTER_SITES= ftp://ftp.debian.org/debian/pool/main/t/ttf-xtt/
-DISTNAME= ttf-xtt_0.${PORTVERSION:S/.//g}-1
+DISTNAME= ttf-xtt_0.${PORTVERSION:R:S/.//g}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
@@ -21,22 +21,25 @@ USE_X_PREFIX= yes
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
-WRKSRC= ${WRKDIR}/ttf-xtt-0.${PORTVERSION:S/.//g}
+WRKSRC= ${WRKDIR}/ttf-xtt-0.${PORTVERSION:R:S/.//g}
NO_BUILD= yes
-FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
+
+FONTSDIR= lib/X11/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR}
do-install:
-.if !exists(${FONTDIR})
+.if !exists(${PREFIX}/${FONTSDIR})
@${ECHO} "*********************************************************"
- @${ECHO} "Please add ${FONTDIR} to your font path"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
@${ECHO} "in /etc/XF86Config."
@${ECHO} "*********************************************************"
- ${MKDIR} ${FONTDIR}
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
.endif
- ${INSTALL_DATA} ${WRKSRC}/wadalab-gothic.ttf ${FONTDIR}
- ${INSTALL_DATA} ${WRKSRC}/watanabe-mincho.ttf ${FONTDIR}
- ${INSTALL_DATA} ${FILESDIR}/fonts.dir.truetype ${FONTDIR}
- ${INSTALL_DATA} ${FILESDIR}/fonts.alias.truetype ${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/wadalab-gothic.ttf ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/watanabe-mincho.ttf ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/fonts.dir.truetype ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/fonts.alias.truetype ${PREFIX}/${FONTSDIR}
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
diff --git a/japanese/truetypefonts/distinfo b/japanese/truetypefonts/distinfo
index 36addd2..b1179ad 100644
--- a/japanese/truetypefonts/distinfo
+++ b/japanese/truetypefonts/distinfo
@@ -1 +1 @@
-MD5 (ttf-xtt_0.20010818-1.tar.gz) = 3b490d173a5a8570f40d97b134f2f0fc
+MD5 (ttf-xtt_0.20010818-2.tar.gz) = f5b6decdc650627f75db39ff1b1edba8
diff --git a/japanese/truetypefonts/pkg-plist b/japanese/truetypefonts/pkg-plist
index 52ac621..39edd53 100644
--- a/japanese/truetypefonts/pkg-plist
+++ b/japanese/truetypefonts/pkg-plist
@@ -1,4 +1,4 @@
-lib/X11/fonts/TrueType/wadalab-gothic.ttf
-lib/X11/fonts/TrueType/watanabe-mincho.ttf
-lib/X11/fonts/TrueType/fonts.dir.truetype
-lib/X11/fonts/TrueType/fonts.alias.truetype
+%%FONTSDIR%%/fonts.alias.truetype
+%%FONTSDIR%%/fonts.dir.truetype
+%%FONTSDIR%%/wadalab-gothic.ttf
+%%FONTSDIR%%/watanabe-mincho.ttf
OpenPOWER on IntegriCloud