8ecbb368fb
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.
28 lines
690 B
Makefile
28 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>
|