f0785d3b44
From: Xavier Santolaria <xavier@santolaria.net>
31 lines
805 B
Makefile
31 lines
805 B
Makefile
# $OpenBSD: Makefile,v 1.19 2003/10/26 23:49:31 naddy Exp $
|
|
|
|
COMMENT= "translate GB/Big5 encoding to tone pinyin"
|
|
|
|
DISTNAME= zh-c2t-1.0
|
|
CATEGORIES= chinese
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/ \
|
|
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/dict/gb/
|
|
DISTFILES= c2t.tar.gz TONEPY.tit
|
|
EXTRACT_ONLY= c2t.tar.gz
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/chinese/gb
|
|
${INSTALL_PROGRAM} ${WRKSRC}/c2t ${PREFIX}/bin
|
|
${INSTALL_DATA} ${FULLDISTDIR}/TONEPY.tit ${PREFIX}/share/chinese/gb
|
|
${INSTALL_MAN} ${WRKSRC}/c2t.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|