summaryrefslogtreecommitdiff
path: root/x11/eterm/Makefile
blob: 8a9afb91a57f664db99bb74d7cbf03a2df5cffba (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
# Created by: Murray Stokely <murray@FreeBSD.org>
# $FreeBSD$

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

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

BUILD_DEPENDS=	man2html:${PORTSDIR}/textproc/man2html
LIB_DEPENDS=	libast.so:${PORTSDIR}/devel/libast \
		libImlib2.so:${PORTSDIR}/graphics/imlib2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS?=--enable-trans --enable-utmp \
		--enable-xim --with-theme-update \
		--with-backspace=bs --without-terminfo \
		--enable-multi-charset
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USES=		iconv libtool shebangfix
SHEBANG_FILES=	${WRKSRC}/utils/kEsetroot.in
perl_OLD_CMD=	@PERL@
USE_CSTD=	gnu89
USE_LDCONFIG=	yes
USE_XORG=	x11 xt

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>