Lines 6-33
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cwtex |
8 |
PORTNAME= cwtex |
9 |
PORTVERSION= 16.3 |
9 |
PORTVERSION= 16.6 |
10 |
CATEGORIES= chinese |
10 |
CATEGORIES= chinese |
11 |
MASTER_SITES= ftp://192.192.110.1/cwtex/cwTeX_linux/ \ |
11 |
MASTER_SITES= ftp://192.192.110.1/cwtex/cwTeX_linux/ \ |
12 |
ftp://freebsd.sinica.edu.tw/pub/statue/cwtex/ |
12 |
ftp://freebsd.sinica.edu.tw/pub/statue/cwtex/ |
13 |
DISTFILES= cwtexmain.tgz cwtex_freebsd.tgz |
13 |
DISTFILES= cwtexmain.tgz cwtexbin-16.6.tgz |
|
|
14 |
EXTRACT_ONLY= # empty |
14 |
|
15 |
|
15 |
MAINTAINER= statue@freebsd.sinica.edu.tw |
16 |
MAINTAINER= statue@freebsd.sinica.edu.tw |
16 |
|
17 |
|
17 |
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX |
18 |
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX |
18 |
|
19 |
|
19 |
WRKSRC= ${WRKDIR} |
|
|
20 |
NO_BUILD= YES |
20 |
NO_BUILD= YES |
21 |
|
21 |
|
22 |
.include <bsd.port.pre.mk> |
22 |
.include <bsd.port.pre.mk> |
23 |
|
23 |
|
24 |
do-install: |
24 |
do-install: |
25 |
${INSTALL_PROGRAM} ${WRKSRC}/addfont ${PREFIX}/bin/ |
25 |
${TAR} -xzf ${DISTDIR}/cwtexmain.tgz -C ${PREFIX}/share/ |
26 |
${INSTALL_PROGRAM} ${WRKSRC}/cwbibtex ${PREFIX}/bin/ |
26 |
${TAR} -xzf ${DISTDIR}/cwtexbin-16.6.tgz -C ${PREFIX}/bin/ |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/cwmkidx ${PREFIX}/bin/ |
|
|
28 |
${INSTALL_PROGRAM} ${WRKSRC}/cwtex ${PREFIX}/bin/ |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/tex2xtc ${PREFIX}/bin/ |
30 |
${CP} -R ${WRKSRC}/texmf/ ${PREFIX}/share/texmf/ |
31 |
${CAT} ${FILESDIR}/config.ps >> ${PREFIX}/share/texmf/dvips/config/config.ps |
27 |
${CAT} ${FILESDIR}/config.ps >> ${PREFIX}/share/texmf/dvips/config/config.ps |
32 |
mktexlsr |
28 |
mktexlsr |
33 |
|
29 |
|