1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/chinese/c2t/Makefile
Muhammad Moinur Rahman 54e21d6988
chinese/c2t: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-22 15:02:02 +01:00

24 lines
712 B
Makefile

PORTNAME= c2t
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/:file \
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/dict/gb/:dict
DISTFILES= c2t.tar.gz:file TONEPY.tit:dict
MAINTAINER= ports@FreeBSD.org
COMMENT= Translates GB/Big5 encoding to tone pinyin
NO_WRKSUBDIR= yes
EXTRACT_ONLY= c2t.tar.gz
CFLAGS+= -Dregister=
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese/gb
${INSTALL_PROGRAM} ${WRKSRC}/c2t ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/TONEPY.tit ${STAGEDIR}${PREFIX}/share/chinese/gb
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>