aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-01 07:39:23 +0800
committerhrs <hrs@FreeBSD.org>2013-05-01 07:39:23 +0800
commite544d1f7d069b90e5587e7dbe2c36276aab81705 (patch)
tree6999675874a8e81e8de490c06f598e31cc35a81d /japanese
parent01a980141dae82e527973ebd573e061210284631 (diff)
downloadfreebsd-ports-gnome-e544d1f7d069b90e5587e7dbe2c36276aab81705.tar.gz
freebsd-ports-gnome-e544d1f7d069b90e5587e7dbe2c36276aab81705.tar.zst
freebsd-ports-gnome-e544d1f7d069b90e5587e7dbe2c36276aab81705.zip
- Trim old-style header.
- Use OPTIONS_DEFINE. - Style clean-ups.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ipa-uigothic/Makefile26
-rw-r--r--japanese/font-ipa-uigothic/pkg-descr2
2 files changed, 15 insertions, 13 deletions
diff --git a/japanese/font-ipa-uigothic/Makefile b/japanese/font-ipa-uigothic/Makefile
index 3baa699636d8..b05e01b18f84 100644
--- a/japanese/font-ipa-uigothic/Makefile
+++ b/japanese/font-ipa-uigothic/Makefile
@@ -1,13 +1,10 @@
-# New ports collection makefile for: font-ipa-uigothic
-# Date created: 2 June 2009
-# Whom: hrs
# $FreeBSD$
-#
-PORTNAME= font-ipa-uigothic
+PORTNAME= ipa-uigothic
PORTVERSION= 00203
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/old/
+PKGNAMEPREFIX= ja-font-
DISTNAME= IPAfont${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
@@ -27,12 +24,17 @@ SUB_FILES= pkg-install
SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR}
PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \
LOCAL_FONTSDIR=${LOCAL_FONTSDIR}
+DATADIR= ${PREFIX}/share/font-${PORTNAME}
PORTDOCS= enduser_license.txt \
Readme${PORTVERSION}.txt
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ipagui.ttf ${DATADIR}
@@ -44,14 +46,14 @@ do-install:
${LN} -s -f \
${DATADIR}/ipagui.ttf \
${PREFIX}/${X_FONTSDIR}/TTF/
- ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipa-uigothic.conf \
- ${FILESDIR}/62-fonts-ipa-uigothic.conf \
+ ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
+ ${FILESDIR}/62-fonts-${PORTNAME}.conf \
${PREFIX}/etc/fonts/conf.avail
- ${LN} -s -f ../conf.avail/20-unhint-ipa-uigothic.conf \
- ${PREFIX}/etc/fonts/conf.d/20-unhint-ipa-uigothic.conf
- ${LN} -s -f ../conf.avail/62-fonts-ipa-uigothic.conf \
- ${PREFIX}/etc/fonts/conf.d/62-fonts-ipa-uigothic.conf
-.if !defined(NOPORTDOCS)
+ ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
+ ${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
+ ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
+ ${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/japanese/font-ipa-uigothic/pkg-descr b/japanese/font-ipa-uigothic/pkg-descr
index da48e72b8067..579eab7bc3b1 100644
--- a/japanese/font-ipa-uigothic/pkg-descr
+++ b/japanese/font-ipa-uigothic/pkg-descr
@@ -1,4 +1,4 @@
Japanese TrueType fonts distributed by Infomation-technology Promotion
Agency (IPA) Japan.
-WWW: http://ossipedia.ipa.go.jp/ipafont/index.html
+WWW: http://ossipedia.ipa.go.jp/ipafont/index.html