mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
ace00b233e
- Modernize the port and update the project URL. - Clarify the license. This font family was relicensed under BSD/X11 license and open-sourced by the original author in 2002. Later it was forked and now maintained by Baekmuk Project under BSD license. - Use vendor supplied fonts.dir and fonts.scale instead of our local copies.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# New ports collection makefile for: Baekmuk Korean TrueType fonts
|
|
# Date created: 17 Jan 2000
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= baekmukfonts
|
|
PORTVERSION= 2.2
|
|
CATEGORIES= korean
|
|
MASTER_SITES= http://kldp.net/frs/download.php/1429/
|
|
PKGNAMESUFFIX= -ttf
|
|
DISTNAME= ${FONTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Baekmuk family Korean TrueType Fonts
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
NO_BUILD= yes
|
|
|
|
FONTNAME= baekmuk
|
|
FONTSDIR= lib/X11/fonts/${FONTNAME}${PKGNAMESUFFIX}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.ks ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/hconfig.ps ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ttf/fonts.dir ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ttf/fonts.scale.xtt \
|
|
${PREFIX}/${FONTSDIR}/fonts.scale
|
|
|
|
post-install:
|
|
@-${PREFIX}/bin/fc-cache -s ${PREFIX}/${FONTSDIR} 2>/dev/null
|
|
|
|
.include <bsd.port.mk>
|