1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/chinese/big5con/Makefile

31 lines
694 B
Makefile

# Created by: Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw>
# $FreeBSD$
PORTNAME= big5con
PORTVERSION= 0.92i
CATEGORIES= chinese
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Big5 Chinese console
ONLY_FOR_ARCHS= i386
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
post-patch:
@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
@${REINPLACE_CMD} -e 's,GetShmem(),GetShmem(char),g' ${WRKSRC}/src/fnld.c
@${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/include/ksymdef.h
@${REINPLACE_CMD} -e 's,TOPDIR,PREFIX,g' ${WRKSRC}/big5con.mk
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>