1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/chinese/cwtexttf/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

29 lines
690 B
Makefile

# Created by: Shen Chuan-Hsing <satue@freebsd.sinica.edu.tw>
# $FreeBSD$
PORTNAME= cwtexttf
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= chinese x11-fonts
MASTER_SITES= http://ftp.wustl.edu/pub/FreeBSD/distfiles/ \
http://ftp.jaist.ac.jp/pub/FreeBSD/distfiles/
DISTNAME= cwtex-ttf
MAINTAINER= ports@FreeBSD.org
COMMENT= Five Chinese Big5 TrueType fonts made by cwTeX
USES= zip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/texmf/fonts/truetype/cwTeX
TTF= bbttf.ttf fttf.ttf kttf.ttf mttf.ttf rttf.ttf
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
.for i in ${TTF}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${FONTSDIR}
.endfor
.include "${.CURDIR}/../ttfm/Makefile.ttf"
.include <bsd.port.mk>