aboutsummaryrefslogtreecommitdiffstats
path: root/korean/eterm/Makefile
blob: c7149239be701c1933677d482f1a9a8cf6ba05ac (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
# 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
CATEGORIES= korean x11
MASTER_SITES=   ftp://ftp.eterm.org/pub/Eterm/ \
        ftp://ftp.holywar.net/pub/FreeBSD/ \
        ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/ \
        http://www.tcserv.com/archive/E/ \
        http://eterm.is.nontoxic.org/download/ \
        http://www.tcserv.com/archive/E/old/
DISTNAME=   Eterm-${PORTVERSION}

MAINTAINER= hollywar@mail.holywar.net
COMMENT=    X11 terminal emulator based on rxvt/xterm that supports korean

RUN_DEPENDS=    ${PREFIX}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts

USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  imlib
USE_LIBTOOL=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lxpg4" 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} ${PREFIX}/share/doc/Eterm
    @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm
    @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${PREFIX}/share/doc/Eterm
    @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/doc/Eterm
    @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/doc/Eterm
    @${INSTALL_DATA} ${WRKSRC}/doc/FAQ.html ${PREFIX}/share/doc/Eterm
.endif

.include <bsd.port.mk>