aboutsummaryrefslogtreecommitdiffstats
path: root/korean/eterm/Makefile
blob: 903ea3b795b147ca57564b2369bbdf8bcf3e80d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    ko-eterm-0.8.9
# Date created:        8 Jun 1999
# Whom:                Oh Junseon <hollywar@mail.holywar.net>
#
# $FreeBSD$
#

PORTNAME=   eterm
PORTVERSION=    0.8.9
PORTREVISION=   8
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

USE_AUTOTOOLS=  libtool:22
USE_GMAKE=  yes
USE_XORG=   x11 xext ice sm xt
USE_GNOME=  imlib
USE_LDCONFIG=   yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib" LOCALBASE="${LOCALBASE}"
MAN1=       Eterm.1

pre-patch:
    @${PERL} -pi -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.mk>