aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/edje/Makefile
blob: 42c03b28a65f4ebbe88054987717f7487481e3a5 (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
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$

PORTNAME=   edje
PORTVERSION=    1.7.9
PORTREVISION=   2
PORTEPOCH=  2
CATEGORIES= graphics enlightenment
MASTER_SITES=   http://download.enlightenment.org/releases/ \
        LOCAL/gblach/e17/

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Edje is a complex graphical design and layout engine

LICENSE=    BSD2CLAUSE

DIST_SUBDIR=    e17
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USES=       pathfix pkgconfig shared-mime-info lua
USE_EFL=    eina eet evas ecore eio embryo libtool_hack librt_hack
USE_EFL_EVAS_LOADERS=   eet jpeg png
USE_EFL_ECORE=  evas file imf imf_evas
USE_LDCONFIG=   yes

CONFIGURE_ARGS+=    --without-vim

post-patch:
    @${REINPLACE_CMD} -e "s/lua >=/lua-${LUA_VER} >=/g" \
        -e 's/requirement_lua="lua"/requirement_lua="lua-${LUA_VER}"/g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -E -e "/^SUBDIRS[[:space:]]+=/s/utils//" \
        ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|= \$$(datadir)/\$$(PACKAGE)/examples|= $$(datadir)/examples/$$(PACKAGE)|' \
        ${WRKSRC}/src/examples/Makefile.in

.include <bsd.port.mk>