blob: 8b334a4b4f777dc6a5a729586ff3173a6a49c697 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Ports collection makefile for: zhcon
# Date created: Sun Sep 9, 2001
# Whom: statue@freebsd.sinica.edu.tw
#
# $FreeBSD$
#
PORTNAME= zhcon
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= statue@freebsd.sinica.edu.tw
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-included-gettext=${LOCALBASE}
USE_GMAKE= yes
MAN1= zhcon.1
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} > 500012
@${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,'
.endif
.include <bsd.port.post.mk>
|