freebsd-ports/chinese/cce/Makefile
Clive Lin 4df311db14 New port: zh-cce.
Yet another Chinese console.
onsole Chinese Environment - display Chinese (GB) on console
CCE is a Console Chinese Environment like WZCE, yact & chdrv that
lets you display and input Chinese (GB) at the console.  Input
methods include PinYin, WuBi, ShuangPin and ZiranMa.

I made slightly difference against original PR. Treat distro patch
`as-is', instead of bloating our repo.

PR: ports/37255
Submitted by: Statue <statue@softwareliberty.org>
2002-08-03 20:02:15 +00:00

32 lines
894 B
Makefile

# New ports collection makefile for: cce
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= cce
PORTVERSION= 0.36
CATEGORIES= chinese
MASTER_SITES= http://programmer.lib.sjtu.edu.cn/cce/ \
ftp://freebsd.sinica.edu.tw/pub/statue/cce/
DISTNAME= ${PORTNAME}-${PORTVERSION}-05052000
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= cce-0.36_security.ukai-lin-fok.patch.gz
PATCH_DIST_ARGS= -d ${WRKSRC} -p1
MAINTAINER= statue@freebsd.sinica.edu.tw
MAN1= cce.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
pre-configure:
(cd ${WRKSRC} && ${LN} -fs Makefile.FreeBSD Makefile )
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} > 500012
@${FIND} ${WRKSRC}/src/ -name "*.c" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,'
.endif
.include <bsd.port.post.mk>