aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ume/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-30 07:48:19 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-30 07:48:19 +0000
commit3a939cd9833b65f0444b20fac84a6c798f46b147 (patch)
tree97fdca6482fbddabd151c4c4ef29548b462468b5 /japanese/font-ume/Makefile
parent80f7522da01f1607bd912afa8d6c61a1dc74c7b9 (diff)
downloadports-3a939cd9833b65f0444b20fac84a6c798f46b147.tar.gz
ports-3a939cd9833b65f0444b20fac84a6c798f46b147.zip
Notes
Diffstat (limited to 'japanese/font-ume/Makefile')
-rw-r--r--japanese/font-ume/Makefile22
1 files changed, 13 insertions, 9 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