aboutsummaryrefslogtreecommitdiff
path: root/x11/eterm/Makefile
blob: 26ca8f496849e1a254067b31fc4f296a7f198ff6 (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
49
50
51
52
# Created by: Murray Stokely <murray@FreeBSD.org>

PORTNAME=	eterm
PORTVERSION=	0.9.6
PORTREVISION=	5
CATEGORIES+=	x11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Eterm-${PORTVERSION}
DISTNAME=	Eterm-${PORTVERSION}

MAINTAINER?=	enlightenment@FreeBSD.org
COMMENT?=	X11 terminal emulator based on rxvt/xterm

BUILD_DEPENDS=	man2html:textproc/man2html
LIB_DEPENDS=	libast.so:devel/libast \
		libImlib2.so:graphics/imlib2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS?=--enable-trans --enable-utmp \
		--enable-xim --with-theme-update \
		--with-backspace=bs --without-terminfo \
		--enable-multi-charset

.if exists(/usr/libexec/gdb)
CONFIGURE_ENV=	GDB=/usr/libexec/gdb
.else
CONFIGURE_ENV=	GDB=/usr/bin/gdb
.endif

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USES=		cpe iconv libtool shebangfix xorg
SHEBANG_FILES=	${WRKSRC}/utils/kEsetroot.in
perl_OLD_CMD=	@PERL@
USE_CSTD=	gnu89
USE_LDCONFIG=	yes
USE_XORG=	x11 xt
CPE_VENDOR=	eterm_project

OPTIONS_DEFINE=	DOCS
OPTIONS_DEFINE_i386=	MMX

MMX_CONFIGURE_WITH=	mmx

post-patch:
	@${FIND} ${WRKSRC} -name '*.orig' -delete

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>