blob: 88f4b487684ba7b1482d1b3dc5a33f2b9113f035 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: cwtex
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= cwtex
PORTVERSION= 16.6
PORTREVISION= 5
CATEGORIES= chinese
MASTER_SITES= http://ftp.ussg.iu.edu/FreeBSD/distfiles/ \
http://ftp.nara.wide.ad.jp/pub/FreeBSD/distfiles/
DISTFILES= cwtexmain.tgz cwtexbin-${PORTVERSION}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= CwTeX let you use Chinese Big5 codes in TeX/LaTeX documents
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
NO_BUILD= yes
NO_WRKSUBDIR= yes
do-extract:
${MKDIR} ${WRKSRC}/share ${WRKSRC}/bin
${TAR} -kxzf ${DISTDIR}/cwtexmain.tgz -C ${WRKSRC}/share
${TAR} -kxzf ${DISTDIR}/cwtexbin-${PORTVERSION}.tgz -C ${WRKSRC}/bin
do-install:
cd ${WRKSRC}/share && ${FIND} * \
| ${CPIO} -dpum --quiet -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin/
${CAT} ${FILESDIR}/config.ps >> ${PSFONTSMAP}
mktexlsr
.include <bsd.port.pre.mk>
PSFONTSMAP!= ${LOCALBASE}/bin/kpsewhich -format 'dvips config' config.ps 2>/dev/null || ${ECHO_CMD} "/dev/null"
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not install on ia64 or sparc64
.endif
.include <bsd.port.post.mk>
|