2001-09-08 18:37:56 +02:00
|
|
|
# Ports collection makefile for: zhcon
|
|
|
|
# Date created: Sun Sep 9, 2001
|
|
|
|
# Whom: statue@freebsd.sinica.edu.tw
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zhcon
|
2002-03-06 04:29:13 +01:00
|
|
|
PORTVERSION= 0.2
|
2002-05-10 21:18:41 +02:00
|
|
|
PORTREVISION= 4
|
2001-09-08 18:37:56 +02:00
|
|
|
CATEGORIES= chinese
|
2002-03-06 04:29:13 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-09-08 18:37:56 +02:00
|
|
|
|
|
|
|
MAINTAINER= statue@freebsd.sinica.edu.tw
|
|
|
|
|
2002-04-12 19:10:20 +02:00
|
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
2002-03-06 04:29:13 +01:00
|
|
|
|
2001-10-14 18:08:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-06 04:29:13 +01:00
|
|
|
CONFIGURE_ARGS= --with-included-gettext=${LOCALBASE}
|
2001-09-08 18:37:56 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
MAN1= zhcon.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2001-09-11 06:49:46 +02:00
|
|
|
|
2001-09-08 18:37:56 +02:00
|
|
|
post-patch:
|
2001-09-11 06:49:46 +02:00
|
|
|
.if ${OSVERSION} > 500012
|
2002-03-06 04:29:13 +01:00
|
|
|
@${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,'
|
2001-09-11 06:49:46 +02:00
|
|
|
.endif
|
|
|
|
|
2001-09-08 18:37:56 +02:00
|
|
|
.include <bsd.port.post.mk>
|