summaryrefslogtreecommitdiffstats
path: root/x11-wm/e16/Makefile
blob: 69c43dd54d04796cc7f4129747dd4ca4695a6599 (plain)
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
# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$

PORTNAME=	e16
PORTVERSION=	1.0.17
CATEGORIES=	x11-wm enlightenment
MASTER_SITES=	SF/enlightenment/${PORTNAME}/${PORTVERSION}/

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Enlightenment DR16 window manager

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libImlib2.so:graphics/imlib2

OPTIONS_DEFINE=		DOCS NLS SOUND
OPTIONS_SUB=		yes
SOUND_DESC=		Sound support via pulseaudio/libsndfile
SOUND_LIB_DEPENDS=	libpulse.so:audio/pulseaudio \
			libsndfile.so:audio/libsndfile
SOUND_CONFIGURE_ON=	--enable-sound \
			--enable-sound-pulse \
			--with-sndldr=sndfile
SOUND_CONFIGURE_OFF=	--disable-sound \
			--with-sndldr=none
NLS_USES=		gettext
NLS_CONFIGURE_OFF=	--disable-nls
DOCS_CONFIGURE_ON=	--enable-docs=yes
DOCS_CONFIGURE_OFF=	--enable-docs=no

USE_XORG=	compositeproto damageproto xextproto x11 xbitmaps xcomposite xdamage \
		xext xfixes xft xinerama xrandr xrender xxf86vm
USES=		gettext gmake iconv libtool perl5 pkgconfig shebangfix
SHEBANG_FILES=	scripts/e_gen_menu
CFLAGS+=	-Wno-unused-parameter
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-dependency-tracking \
		--disable-rpath --enable-mans SHELL=/bin/sh

post-patch:
	${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \
	    ${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in

post-patch-DOCS-off:
	${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
	    ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud