1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/chinese/cwtex/Makefile
Jean Milanez Melo 407e385f22 - Remove bad sites:
* ftp://192.192.110.1/cwtex/cwTeX_linux/
	* ftp://freebsd.sinica.edu.tw/pub/statue/cwtex/

- Add new mastersites.
2006-07-24 13:11:26 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: cwtex
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= cwtex
PORTVERSION= 16.6
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 >> ${PREFIX}/share/texmf/dvips/config/config.ps
mktexlsr
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not install on ia64 or sparc64
.endif
.include <bsd.port.post.mk>