1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/korean/han/Makefile
Kris Kennaway 7a6f05bb7a BROKEN on 5.x: Does not compile
Approved by:    portmgr (self)
2004-09-18 18:47:46 +00:00

43 lines
934 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# New ports collection makefile for: han
# Date created: 12 Apr 1997
# Whom: CHOI Junho <cjh@FreeBSD.org>
#
# $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
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${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>