2004-08-14 07:57:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-05-01 04:47:02 +02:00
|
|
|
PORTNAME= mplus-ipa
|
2007-06-23 16:12:16 +02:00
|
|
|
PORTVERSION= 1.0.20060520.p1
|
2015-03-22 00:05:19 +01:00
|
|
|
PORTREVISION= 4
|
2004-08-14 07:57:02 +02:00
|
|
|
CATEGORIES= japanese x11-fonts
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= LOCAL/hrs
|
2013-05-01 04:47:02 +02:00
|
|
|
PKGNAMEPREFIX= ja-font-
|
2007-06-23 16:12:16 +02:00
|
|
|
DISTNAME= mixfont-mplus-ipa-TrueType-20060520p1
|
2004-08-14 07:57:02 +02:00
|
|
|
|
2004-08-19 13:29:42 +02:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2009-05-31 11:15:47 +02:00
|
|
|
COMMENT= Mixed Japanese font with IPA, M-plus outline, and Bitstream Vera
|
2004-08-14 07:57:02 +02:00
|
|
|
|
2009-06-05 03:05:27 +02:00
|
|
|
CONFLICTS= ja-ipa-ttfonts-[0-9]*
|
|
|
|
|
2015-03-22 00:05:19 +01:00
|
|
|
USES= fonts tar:bzip2
|
2004-08-20 19:12:21 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-install
|
2005-11-13 20:03:15 +01:00
|
|
|
SUB_FILES= pkg-install
|
2013-05-01 04:47:02 +02:00
|
|
|
DATADIR= ${PREFIX}/share/font-${PORTNAME}
|
2007-01-03 04:06:36 +01:00
|
|
|
PORTDOCS= Bitstream-COPYRIGHT.txt Mplus-LICENSE_E.txt \
|
|
|
|
Mplus-LICENSE_J.txt README.txt
|
2004-08-14 07:57:02 +02:00
|
|
|
|
2015-03-22 00:05:19 +01:00
|
|
|
FONTNAME= TTF
|
2013-05-01 04:47:02 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-08-14 07:57:02 +02:00
|
|
|
do-install:
|
2013-10-16 06:56:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
cd ${WRKSRC}/opfc-ModuleHP-1.1.1_withIPAFonts_and_Mplus && \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}
|
2015-03-22 00:05:19 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
|
|
cd ${STAGEDIR}${FONTSDIR} && ${LN} -s -f \
|
|
|
|
../../../${DATADIR_REL}/fonts/M+*.ttf .
|
2013-10-16 06:56:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/fonts/conf.d
|
2013-05-01 04:47:02 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
|
2013-10-16 06:56:32 +02:00
|
|
|
${FILESDIR}/62-fonts-${PORTNAME}.conf \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/fonts/conf.avail
|
2013-05-01 04:47:02 +02:00
|
|
|
${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
|
2013-10-16 06:56:32 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
|
2013-05-01 04:47:02 +02:00
|
|
|
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
|
2013-10-16 06:56:32 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2004-08-14 07:57:02 +02:00
|
|
|
.include <bsd.port.mk>
|