Update graphics/edje to version 1.7.9_2,2
[dports.git] / graphics / edje / Makefile
1 # Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
2 # $FreeBSD: graphics/edje/Makefile 341823 2014-01-30 09:24:24Z bapt $
3
4 PORTNAME=       edje
5 PORTVERSION=    1.7.9
6 PORTREVISION=   2
7 PORTEPOCH=      2
8 CATEGORIES=     graphics enlightenment
9 MASTER_SITES=   http://download.enlightenment.org/releases/ \
10                 LOCAL/gblach/e17/
11
12 MAINTAINER=     gblach@FreeBSD.org
13 COMMENT=        Edje is a complex graphical design and layout engine
14
15 LICENSE=        BSD2CLAUSE
16
17 DIST_SUBDIR=    e17
18 USE_BZIP2=      yes
19 GNU_CONFIGURE=  yes
20 USES=           pathfix pkgconfig shared-mime-info lua
21 USE_EFL=        eina eet evas ecore eio embryo libtool_hack librt_hack
22 USE_EFL_EVAS_LOADERS=   eet jpeg png
23 USE_EFL_ECORE=  evas file imf imf_evas
24 USE_LDCONFIG=   yes
25
26 CONFIGURE_ARGS+=        --without-vim
27
28 post-patch:
29         @${REINPLACE_CMD} -e "s/lua >=/lua-${LUA_VER} >=/g" \
30                 -e 's/requirement_lua="lua"/requirement_lua="lua-${LUA_VER}"/g' ${WRKSRC}/configure
31         @${REINPLACE_CMD} -E -e "/^SUBDIRS[[:space:]]+=/s/utils//" \
32             ${WRKSRC}/Makefile.in
33         @${REINPLACE_CMD} -e 's|= \$$(datadir)/\$$(PACKAGE)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
34                 ${WRKSRC}/src/examples/Makefile.in
35
36 .include <bsd.port.mk>