aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-migu
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-01 04:48:46 +0800
committerhrs <hrs@FreeBSD.org>2013-05-01 04:48:46 +0800
commitb82b66e0b46b5c102b65a4ae4adb1ad3f3427c10 (patch)
treef4375dd22d9a21ac599f17f2ee7026c93ced5d0b /japanese/font-migu
parent8d390bed23b9489c05a5bb4f911d76502070dabc (diff)
downloadfreebsd-ports-gnome-b82b66e0b46b5c102b65a4ae4adb1ad3f3427c10.tar.gz
freebsd-ports-gnome-b82b66e0b46b5c102b65a4ae4adb1ad3f3427c10.tar.zst
freebsd-ports-gnome-b82b66e0b46b5c102b65a4ae4adb1ad3f3427c10.zip
Update to 20130430 and add style clean-ups.
Diffstat (limited to 'japanese/font-migu')
-rw-r--r--japanese/font-migu/Makefile42
-rw-r--r--japanese/font-migu/distinfo16
-rw-r--r--japanese/font-migu/pkg-descr2
3 files changed, 32 insertions, 28 deletions
diff --git a/japanese/font-migu/Makefile b/japanese/font-migu/Makefile
index 20486d2bc744..cd44eadb2022 100644
--- a/japanese/font-migu/Makefile
+++ b/japanese/font-migu/Makefile
@@ -1,15 +1,15 @@
# $FreeBSD$
PORTNAME= migu
-PORTVERSION= 1.0.20121030
+PORTVERSION= 1.0.20130430
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= mix-mplus-ipa/57240
+MASTER_SITE_SUBDIR= mix-mplus-ipa/58720
PKGNAMEPREFIX= ja-font-
-DISTFILES= migu-1p-20121030${EXTRACT_SUFX} \
- migu-1c-20121030${EXTRACT_SUFX} \
- migu-1m-20121030${EXTRACT_SUFX} \
- migu-2m-20121030${EXTRACT_SUFX}
+DISTFILES= ${PORTNAME}-1p-${PORTVERSION:E}${EXTRACT_SUFX} \
+ ${PORTNAME}-1c-${PORTVERSION:E}${EXTRACT_SUFX} \
+ ${PORTNAME}-1m-${PORTVERSION:E}${EXTRACT_SUFX} \
+ ${PORTNAME}-2m-${PORTVERSION:E}${EXTRACT_SUFX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Another Japanese font set based on MigMix
@@ -30,17 +30,21 @@ PORTDOCS= IPA_Font_License_Agreement_v1.0.txt Readme_ipag00303.txt \
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
- cd ${WRKDIR}/migu-1p-20121030/ && \
+ cd ${WRKDIR}/${PORTNAME}-1p-${PORTVERSION:E}/ && \
${INSTALL_DATA} ipag00303/*.txt \
- migu-README.txt \
+ ${PORTNAME}-README.txt \
${WRKDIR}
${MKDIR} ${DATADIR}
${INSTALL_DATA} \
- ${WRKDIR}/migu-1p-20121030/*.ttf \
- ${WRKDIR}/migu-1c-20121030/*.ttf \
- ${WRKDIR}/migu-1m-20121030/*.ttf \
- ${WRKDIR}/migu-2m-20121030/*.ttf \
+ ${WRKDIR}/${PORTNAME}-1p-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-1c-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-1m-${PORTVERSION:E}/*.ttf \
+ ${WRKDIR}/${PORTNAME}-2m-${PORTVERSION:E}/*.ttf \
${DATADIR}
${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF
${LN} -s -f ${DATADIR}/migu*.ttf \
@@ -48,14 +52,14 @@ do-install:
${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
${LN} -s -f ${DATADIR}/migu*.ttf \
${PREFIX}/${X_FONTSDIR}/TTF/
- ${INSTALL_DATA} ${FILESDIR}/20-unhint-migu.conf \
- ${FILESDIR}/62-fonts-migu.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-migu.conf \
- ${PREFIX}/etc/fonts/conf.d/20-unhint-migu.conf
- ${LN} -s -f ../conf.avail/62-fonts-migu.conf \
- ${PREFIX}/etc/fonts/conf.d/62-fonts-migu.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 ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/japanese/font-migu/distinfo b/japanese/font-migu/distinfo
index 628dc21a9e74..c54d837f1d80 100644
--- a/japanese/font-migu/distinfo
+++ b/japanese/font-migu/distinfo
@@ -1,8 +1,8 @@
-SHA256 (migu-1p-20121030.zip) = 8a0c62a52f2245c2e2394db0940e8962a2d91a167634d13d9732fd33810b8b2e
-SIZE (migu-1p-20121030.zip) = 4357395
-SHA256 (migu-1c-20121030.zip) = 48fcf4404d63521242da48a5423fd26dd47b941bd955a14e84286a8b7add3172
-SIZE (migu-1c-20121030.zip) = 4365846
-SHA256 (migu-1m-20121030.zip) = dfe8b3d565071e933f789d5dc45e77aa2139c619e818255eadf2b5f53be96fcd
-SIZE (migu-1m-20121030.zip) = 4261382
-SHA256 (migu-2m-20121030.zip) = 37671604aa1877d90981882c84fe31802be114f30408e6dbf070b0ccacc82e3e
-SIZE (migu-2m-20121030.zip) = 4259878
+SHA256 (migu-1p-20130430.zip) = e455d560ff26c547e8870535a2b0c816bf37b8a0f2950ffa0c4249e98a0e9f9a
+SIZE (migu-1p-20130430.zip) = 4364204
+SHA256 (migu-1c-20130430.zip) = 367b7b0810ab75523a68b2efdf17944287dcca16889c1dd087a154fec00d9d2c
+SIZE (migu-1c-20130430.zip) = 4372878
+SHA256 (migu-1m-20130430.zip) = 97eefcf84f97b345a34a0db027c12926f01f6c3c4a255cf2622cd9443c2d22d5
+SIZE (migu-1m-20130430.zip) = 4268281
+SHA256 (migu-2m-20130430.zip) = baf88cff246c96251994e6042a9935fecc39855ffb9172d662416d5540a43b9d
+SIZE (migu-2m-20130430.zip) = 4266364
diff --git a/japanese/font-migu/pkg-descr b/japanese/font-migu/pkg-descr
index e740e5bd7a0d..7acbc11a6bf9 100644
--- a/japanese/font-migu/pkg-descr
+++ b/japanese/font-migu/pkg-descr
@@ -1,3 +1,3 @@
This is a Japanese TrueType font based on MigMix Japanese font.
-WWW: http://mix-mplus-ipa.sourceforge.jp/migu/
+WWW: http://mix-mplus-ipa.sourceforge.jp/migu/