freebsd-ports/korean/han/Makefile

43 lines
934 B
Makefile
Raw Normal View History

# New ports collection makefile for: han
# Date created: 12 Apr 1997
# Whom: CHOI Junho <cjh@FreeBSD.org>
#
1999-08-30 08:09:14 -04:00
# $FreeBSD$
#
PORTNAME= han
PORTVERSION= 1.0fb
PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
MAINTAINER= cjh@FreeBSD.org
COMMENT= A hangul console
ONLY_FOR_ARCHS= i386
USE_GMAKE= YES
2002-11-03 20:56:21 -05:00
USE_REINPLACE= yes
.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
post-configure:
${SED} -e 's%%WRKSRC%%${WRKSRC}' \
-e 's%%PREFIX%%${PREFIX}' \
-e 's%%DISTDIR%%${DISTDIR}' \
${FILESDIR}/dotconfig > ${WRKSRC}/.config
${SED} -e 's%%WRKSRC%%${WRKSRC}' \
-e 's%%PREFIX%%${PREFIX}' \
-e 's%%DISTDIR%%${DISTDIR}' \
${FILESDIR}/han.sh > ${WRKSRC}/han.sh
.include <bsd.port.post.mk>