freebsd-ports/chinese/CJKUnifonts/Makefile
John Marino 8ecbb368fb Convert 6 chinese font ponts to include with .CURDIR
These ports were including chinese/ttfm/Makefile.ttf using an absolute
path using PORTSDIR instead of a relative one using .CURDIR.  In
specific use cases, PORTSDIR will fail but .CURDIR always works.  As
a bonus, this allows <pre> & <post> inclusions to be removed as well.
Covered by an old blanket permission (bapt) but only two of these ports
have maintainers anyway.
2014-07-20 09:02:14 +00:00

30 lines
916 B
Makefile

# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
# $FreeBSD$
PORTNAME= CJKUnifonts
PORTVERSION= 0.2.20080216.1
PORTREVISION= 1
CATEGORIES= chinese x11-fonts
MASTER_SITES= LOCAL/chinsan/fonts/:uming \
http://ftp.debian.org/debian/pool/main/t/ttf-arphic-uming/:uming \
LOCAL/chinsan/fonts/:ukai \
http://ftp.debian.org/debian/pool/main/t/ttf-arphic-ukai/:ukai
DISTFILES= ttf-arphic-uming_${PORTVERSION}.orig.tar.gz:uming \
ttf-arphic-ukai_${PORTVERSION}.orig.tar.gz:ukai
MAINTAINER= ports@FreeBSD.org
COMMENT= CJKUnifonts TrueType Font is a combine of Arphic Ming and Kai fonts
DIST_SUBDIR= ${PORTNAME}
NO_WRKSUBDIR= yes
NO_BUILD= yes
TTF= ukai.ttc uming.ttc
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/ukai.ttc ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/uming.ttc ${STAGEDIR}${FONTSDIR}
.include "${.CURDIR}/../ttfm/Makefile.ttf"
.include <bsd.port.mk>