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