From 3a939cd9833b65f0444b20fac84a6c798f46b147 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Tue, 30 Apr 2013 07:48:19 +0000 Subject: Update to 450 and style clean-ups. --- japanese/font-ume/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'japanese/font-ume/Makefile') 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 + 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 -- cgit v1.2.3