aboutsummaryrefslogtreecommitdiff
path: root/chinese/cwtex/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-02-23 06:45:30 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-02-23 06:45:30 +0000
commitfcc0c726b821e34d416f8e0f53ad6b4b10a8df67 (patch)
tree4b4e7237be2b69ada82ef49ebc921351ec43bfab /chinese/cwtex/Makefile
parent30ab5aca994f3b1943dcfefdf31c095cc50472f8 (diff)
downloadports-fcc0c726b821e34d416f8e0f53ad6b4b10a8df67.tar.gz
ports-fcc0c726b821e34d416f8e0f53ad6b4b10a8df67.zip
Notes
Diffstat (limited to 'chinese/cwtex/Makefile')
-rw-r--r--chinese/cwtex/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/chinese/cwtex/Makefile b/chinese/cwtex/Makefile
index 9aa9016a9402..f0a079f871e4 100644
--- a/chinese/cwtex/Makefile
+++ b/chinese/cwtex/Makefile
@@ -10,22 +10,26 @@ PORTVERSION= 16.6
CATEGORIES= chinese
MASTER_SITES= ftp://192.192.110.1/cwtex/cwTeX_linux/ \
ftp://freebsd.sinica.edu.tw/pub/statue/cwtex/
-DISTFILES= cwtexmain.tgz cwtexbin-16.6.tgz
-EXTRACT_ONLY= # empty
+DISTFILES= cwtexmain.tgz cwtexbin-${PORTVERSION}.tgz
MAINTAINER= statue@freebsd.netlab.cse.yzu.edu.tw
COMMENT= CwTeX let you use Chinese Big5 codes in TeX/LaTeX documents
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
-NO_BUILD= YES
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
-.include <bsd.port.pre.mk>
+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:
- -${TAR} -kxzf ${DISTDIR}/cwtexmain.tgz -C ${PREFIX}/share/
- -${TAR} -kxzf ${DISTDIR}/cwtexbin-16.6.tgz -C ${PREFIX}/bin/
- ${CAT} ${FILESDIR}/config.ps >> ${PREFIX}/share/texmf/dvips/config/config.ps
+ 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.post.mk>
+.include <bsd.port.mk>