1997-06-04 04:12:07 -04:00
|
|
|
|
# New ports collection makefile for: han
|
|
|
|
|
# Date created: 12 Apr 1997
|
2000-07-16 05:01:54 -04:00
|
|
|
|
# Whom: CHOI Junho <cjh@FreeBSD.org>
|
1997-06-04 04:12:07 -04:00
|
|
|
|
#
|
1999-08-30 08:09:14 -04:00
|
|
|
|
# $FreeBSD$
|
1997-06-04 04:12:07 -04:00
|
|
|
|
#
|
|
|
|
|
|
2000-04-13 05:17:26 -04:00
|
|
|
|
PORTNAME= han
|
|
|
|
|
PORTVERSION= 1.0fb
|
2004-02-04 00:21:48 -05:00
|
|
|
|
PORTREVISION= 1
|
1997-06-04 04:12:07 -04:00
|
|
|
|
CATEGORIES= korean
|
2000-07-23 01:06:38 -04:00
|
|
|
|
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
|
|
|
|
|
|
|
|
|
MAINTAINER= cjh@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
|
COMMENT= A hangul console
|
1997-06-04 04:12:07 -04:00
|
|
|
|
|
1999-01-06 00:00:26 -05:00
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
2000-07-16 05:01:54 -04:00
|
|
|
|
USE_GMAKE= YES
|
2002-11-03 20:56:21 -05:00
|
|
|
|
USE_REINPLACE= yes
|
1997-06-04 04:12:07 -04:00
|
|
|
|
|
2004-09-18 14:47:46 -04:00
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
|
|
|
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
|
|
|
.endif
|
|
|
|
|
|
2002-03-30 22:16:00 -05:00
|
|
|
|
pre-patch:
|
2002-11-03 20:56:21 -05:00
|
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
2002-03-30 22:16:00 -05:00
|
|
|
|
${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c
|
|
|
|
|
|
1997-06-04 04:12:07 -04:00
|
|
|
|
post-configure:
|
1997-07-21 15:21:06 -04:00
|
|
|
|
${SED} -e 's%%WRKSRC%%${WRKSRC}' \
|
1997-06-04 04:12:07 -04:00
|
|
|
|
-e 's%%PREFIX%%${PREFIX}' \
|
|
|
|
|
-e 's%%DISTDIR%%${DISTDIR}' \
|
1997-07-21 15:21:06 -04:00
|
|
|
|
${FILESDIR}/dotconfig > ${WRKSRC}/.config
|
|
|
|
|
${SED} -e 's%%WRKSRC%%${WRKSRC}' \
|
1997-06-04 04:12:07 -04:00
|
|
|
|
-e 's%%PREFIX%%${PREFIX}' \
|
|
|
|
|
-e 's%%DISTDIR%%${DISTDIR}' \
|
1997-07-21 15:21:06 -04:00
|
|
|
|
${FILESDIR}/han.sh > ${WRKSRC}/han.sh
|
1997-06-04 04:12:07 -04:00
|
|
|
|
|
2004-09-18 14:47:46 -04:00
|
|
|
|
.include <bsd.port.post.mk>
|