aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-04-30 15:48:19 +0800
committerhrs <hrs@FreeBSD.org>2013-04-30 15:48:19 +0800
commitf1bc176bfbd39d28e7696df826ec09fd917cb828 (patch)
tree97fdca6482fbddabd151c4c4ef29548b462468b5 /japanese
parentc794211247b37883e3d157b3460e7c83910c6456 (diff)
downloadfreebsd-ports-gnome-f1bc176bfbd39d28e7696df826ec09fd917cb828.tar.gz
freebsd-ports-gnome-f1bc176bfbd39d28e7696df826ec09fd917cb828.tar.zst
freebsd-ports-gnome-f1bc176bfbd39d28e7696df826ec09fd917cb828.zip
Update to 450 and style clean-ups.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ume/Makefile22
-rw-r--r--japanese/font-ume/distinfo4
2 files changed, 15 insertions, 11 deletions
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile
index 3540f95a41de..29012db4f004 100644
--- a/japanese/font-ume/Makefile
+++ b/japanese/font-ume/Makefile
@@ -1,10 +1,10 @@
# $FreeBSD$
PORTNAME= ume
-PORTVERSION= 0.0.449
+PORTVERSION= 0.0.450
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ume-font/22212
+MASTER_SITE_SUBDIR= ${PORTNAME}-font/22212
PKGNAMEPREFIX= ja-font-
DISTNAME= umefont_${PORTVERSION:E}
@@ -26,6 +26,10 @@ PORTDOCS= license.html
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR}
@@ -35,14 +39,14 @@ do-install:
${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
${LN} -s -f \
${DATADIR}/*.ttf ${PREFIX}/${X_FONTSDIR}/TTF/
- ${INSTALL_DATA} ${FILESDIR}/20-unhint-ume.conf \
- ${FILESDIR}/62-fonts-ume.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-ume.conf \
- ${PREFIX}/etc/fonts/conf.d/20-unhint-ume.conf
- ${LN} -s -f ../conf.avail/62-fonts-ume.conf \
- ${PREFIX}/etc/fonts/conf.d/62-fonts-ume.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-ume/distinfo b/japanese/font-ume/distinfo
index 4a12bc4301cd..8ab19eda64d5 100644
--- a/japanese/font-ume/distinfo
+++ b/japanese/font-ume/distinfo
@@ -1,2 +1,2 @@
-SHA256 (umefont_449.tar.xz) = 71d92b980718080c266b7bb3b80693779671e6248f8c2547bdf2fba3fddff835
-SIZE (umefont_449.tar.xz) = 5656444
+SHA256 (umefont_450.tar.xz) = 97cb6ea69eb189dc62659ca889f8ca5641d55361dc19ce8ee373b312c60f39d8
+SIZE (umefont_450.tar.xz) = 5646528