2013-04-30 22:56:58 +02:00
|
|
|
# Created by: NIIMI Satoshi <sa2c@sa2c.net>
|
2006-11-03 21:25:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-11-18 13:35:05 +01:00
|
|
|
PORTNAME= vlgothic
|
2015-02-15 15:22:32 +01:00
|
|
|
PORTVERSION= 20141206
|
2016-12-30 13:38:02 +01:00
|
|
|
PORTREVISION= 4
|
2006-11-03 21:25:53 +01:00
|
|
|
CATEGORIES= japanese x11-fonts
|
2015-02-15 15:22:32 +01:00
|
|
|
MASTER_SITES= SFJP/vlgothic/62375
|
2012-11-18 13:35:05 +01:00
|
|
|
PKGNAMEPREFIX= ja-font-
|
2006-11-03 21:25:53 +01:00
|
|
|
DISTNAME= VLGothic-${PORTVERSION}
|
|
|
|
|
2008-05-25 09:10:33 +02:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2009-05-31 11:15:47 +02:00
|
|
|
COMMENT= VLGothic Japanese TrueType fonts
|
2006-11-03 21:25:53 +01:00
|
|
|
|
2016-12-30 13:38:02 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.en
|
|
|
|
|
2015-09-14 01:36:45 +02:00
|
|
|
USES= fonts:fc tar:xz
|
|
|
|
FONTNAME= TTF
|
2015-09-26 00:02:16 +02:00
|
|
|
NO_ARCH= yes
|
2006-11-03 21:25:53 +01:00
|
|
|
NO_BUILD= yes
|
2008-05-25 09:10:33 +02:00
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
SUB_FILES= pkg-install
|
2013-05-01 01:53:03 +02:00
|
|
|
DATADIR= ${PREFIX}/share/font-${PORTNAME}
|
2016-12-30 13:38:02 +01:00
|
|
|
PORTDOCS= Changelog LICENSE_E.mplus LICENSE_J.mplus \
|
2006-11-03 21:25:53 +01:00
|
|
|
README README.sazanami README_J.mplus
|
2008-05-25 09:10:33 +02:00
|
|
|
WRKSRC= ${WRKDIR}/VLGothic
|
|
|
|
|
2013-04-30 22:56:58 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2006-11-03 21:25:53 +01:00
|
|
|
do-install:
|
2013-10-16 06:56:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${DATADIR}
|
2015-03-22 00:05:19 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
|
|
cd ${STAGEDIR}${FONTSDIR} && ${LN} -s -f \
|
|
|
|
../../../${DATADIR_REL}/*.ttf .
|
2013-10-16 06:56:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/fonts/conf.d
|
2013-04-30 22:56:58 +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-04-30 22:56:58 +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-04-30 22:56:58 +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
|
2015-09-14 01:36:45 +02:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2013-10-16 06:56:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2006-11-03 21:25:53 +01:00
|
|
|
.include <bsd.port.mk>
|