diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-01 02:47:02 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-01 02:47:02 +0000 |
commit | 41d078d1586e02cfa2a6dbd09a228f02f87e3ff9 (patch) | |
tree | 53fe86dd87478a478ddfdf77d24df57998f5b57d /japanese | |
parent | 6cbb39d5e59b8c9869dd883731e05027f914d132 (diff) | |
download | ports-41d078d1586e02cfa2a6dbd09a228f02f87e3ff9.tar.gz ports-41d078d1586e02cfa2a6dbd09a228f02f87e3ff9.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/font-mplus-ipa/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile index 385533b3eff7..2eeb60928516 100644 --- a/japanese/font-mplus-ipa/Makefile +++ b/japanese/font-mplus-ipa/Makefile @@ -1,16 +1,12 @@ -# New ports collection makefile for: font-mplus-ipa fonts -# Date created: 26 April 2009 -# Whom: hrs -# # $FreeBSD$ -# -PORTNAME= font-mplus-ipa +PORTNAME= mplus-ipa PORTVERSION= 1.0.20060520.p1 PORTREVISION= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= hrs +PKGNAMEPREFIX= ja-font- DISTNAME= mixfont-mplus-ipa-TrueType-20060520p1 MAINTAINER= hrs@FreeBSD.org @@ -28,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= Bitstream-COPYRIGHT.txt Mplus-LICENSE_E.txt \ Mplus-LICENSE_J.txt README.txt LOCAL_FONTSDIR= share/fonts X_FONTSDIR= lib/X11/fonts +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: ${MKDIR} ${DATADIR} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} @@ -45,14 +46,14 @@ do-install: ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF ${LN} -s -f ${DATADIR}/fonts/M+*.ttf \ ${PREFIX}/${X_FONTSDIR}/TTF/ - ${INSTALL_DATA} ${FILESDIR}/20-unhint-mplus-ipa.conf \ - ${FILESDIR}/62-fonts-mplus-ipa.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-mplus-ipa.conf \ - ${PREFIX}/etc/fonts/conf.d/20-unhint-mplus-ipa.conf - ${LN} -s -f ../conf.avail/62-fonts-mplus-ipa.conf \ - ${PREFIX}/etc/fonts/conf.d/62-fonts-mplus-ipa.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 |