1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/font-genjyuugothic/Makefile
Sunpoet Po-Chuan Hsieh 06bfeeb0b0 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN
PR:		225609
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-03-24 21:12:13 +00:00

46 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= genjyuugothic
PORTVERSION= 20150607
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= OSDN/users/8/8636
PKGNAMEPREFIX= ja-font-
MAINTAINER= ume@FreeBSD.org
COMMENT= GenJyuuGothic Japanese TrueType fonts
LICENSE= OFL11
USES= 7z fonts:fc
FONTNAME= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
SUB_FILES= pkg-install
NO_WRKSUBDIR= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d
${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
${FILESDIR}/62-fonts-${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.avail
${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
"! -name *\.ttf"
.include <bsd.port.mk>