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

53 lines
1.2 KiB
Makefile

# Created by: Oh Junseon <hollywar@mail.holywar.net>
# $FreeBSD$
PORTNAME= eterm
PORTVERSION= 0.8.9
PORTREVISION= 11
CATEGORIES= korean x11
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/ \
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTNAME= Eterm-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 terminal emulator based on rxvt/xterm that supports korean
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts
USES= perl5
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_XORG= x11 xext ice sm xt
USE_GNOME= imlib
USE_LDCONFIG= yes
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" LOCALBASE="${LOCALBASE}"
MAN1= Eterm.1
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
pre-patch:
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/libmej/debug.c ${WRKSRC}/libmej/strings.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ReleaseNotes \
${WRKSRC}/doc/Eterm_reference.html \
${WRKSRC}/doc/Eterm_reference.html \
${WRKSRC}/doc/Eterm.tcap \
${WRKSRC}/doc/Eterm.ti \
${WRKSRC}/doc/FAQ.html \
${DOCSDIR}
.endif
.include <bsd.port.post.mk>