aboutsummaryrefslogtreecommitdiffstats
path: root/x11/eterm/Makefile
blob: ca8e849d866f19733c8007f59ea2548e9c1a5030 (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
48
# New ports collection makefile for:    eterm
# Version required:    0.8.7
# Date created:        24 November 1997
# Whom:                Murray Stokely <murray@cdrom.com>
#
# $Id: Makefile,v 1.12 1999/01/14 17:08:22 vanilla Exp $
#

DISTNAME=   Eterm-0.8.7
PKGNAME=    eterm-0.8.7
CATEGORIES= x11
MASTER_SITES=   ftp://ftp.enlightenment.org/pub/Eterm/ \
        http://www.tcserv.com/archive/E/

MAINTAINER= murray@cdrom.com

LIB_DEPENDS=    Imlib.2:${PORTSDIR}/graphics/imlib

USE_GMAKE=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       Eterm.1

pre-patch:
.if ( defined(KANJI) )
    ${CP} ${FILESDIR}/patch-kanji ${PATCHDIR}
.endif

post-patch:
    @find ${WRKSRC} -name '*.orig' | xargs ${RM} -f

post-install:
    chown root.wheel ${PREFIX}/bin/Eterm
    chmod 4755 ${PREFIX}/bin/Eterm
    ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/Eterm
.ifndef NOPORTDOCS
    ${INSTALL_DATA} ${WRKSRC}/doc/Eterm.help ${PREFIX}/share/Eterm
    ${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ref ${PREFIX}/share/Eterm
    ${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/Eterm
    ${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/Eterm
    ${INSTALL_DATA} ${WRKSRC}/doc/FAQ.html ${PREFIX}/share/Eterm
    ${INSTALL_SCRIPT} ${WRKSRC}/doc/colortest.sh ${PREFIX}/share/Eterm
    ${INSTALL_DATA} ${WRKSRC}/doc/menu_cmd ${PREFIX}/share/Eterm
.endif

.include <bsd.port.mk>