Update x11-wm/e16 to version 1.0.15_1
[dports.git] / x11-wm / e16 / Makefile
1 # Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
2 # $FreeBSD$
3
4 PORTNAME=       e16
5 PORTVERSION=    1.0.15
6 PORTREVISION=   1
7 CATEGORIES=     x11-wm enlightenment
8 MASTER_SITES=   SF/enlightenment/${PORTNAME}/${PORTVERSION}/
9
10 MAINTAINER=     gblach@FreeBSD.org
11 COMMENT=        Enlightenment DR16 window manager
12
13 LICENSE=        MIT
14
15 LIB_DEPENDS=    libImlib2.so:${PORTSDIR}/graphics/imlib2
16
17 OPTIONS_DEFINE=         DOCS NLS SOUND
18 OPTIONS_SUB=            yes
19 SOUND_DESC=             Sound support via pulseaudio/libsndfile
20 SOUND_LIB_DEPENDS=      libpulse.so:${PORTSDIR}/audio/pulseaudio \
21                         libsndfile.so:${PORTSDIR}/audio/libsndfile
22 SOUND_CONFIGURE_ON=     --enable-sound \
23                         --enable-sound-pulse \
24                         --with-sndldr=sndfile
25 SOUND_CONFIGURE_OFF=    --disable-sound \
26                         --with-sndldr=none
27 NLS_USES=               gettext
28 NLS_CONFIGURE_OFF=      --disable-nls
29 DOCS_CONFIGURE_ON=      --enable-docs=yes
30 DOCS_CONFIGURE_OFF=     --enable-docs=no
31
32 USE_XORG=       compositeproto damageproto xextproto x11 xbitmaps xcomposite xdamage \
33                 xext xfixes xft xinerama xrandr xrender xxf86vm
34 USES=           gettext gmake iconv libtool perl5 pkgconfig shebangfix
35 SHEBANG_FILES=  scripts/e_gen_menu
36 CFLAGS+=        -Wno-unused-parameter
37 GNU_CONFIGURE=  yes
38 CONFIGURE_ARGS= --disable-dependency-tracking \
39                 --disable-rpath --enable-mans SHELL=/bin/sh
40
41 .include <bsd.port.options.mk>
42
43 post-patch:
44 .if !${PORT_OPTIONS:MDOCS}
45         ${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
46             ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
47 .endif
48         ${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \
49             ${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in
50
51 .include <bsd.port.mk>