summaryrefslogtreecommitdiff
path: root/graphics/edje/Makefile
blob: bbce534b2103ea811b5e8735c18884795061c0ce (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
# $NetBSD: Makefile,v 1.1.1.1 2011/12/05 17:35:03 joerg Exp $
#

DISTNAME=	edje-1.1.0
CATEGORIES=	graphics
MASTER_SITES=	http://download.enlightenment.org/releases/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	joerg@NetBSD.org
HOMEPAGE=	http://enlightenment.org/
COMMENT=	Interface Abstraction Library and Toolset

PKG_DESTDIR_SUPPORT=	user-destdir
# epp binary is GPL
LICENSE=		2-clause-bsd AND gnu-gpl-v2

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS=	pkg-config

PKG_OPTIONS_VAR=	PKG_OPTIONS.edje
PKG_SUPPORTED_OPTIONS=	python

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	python

.if empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+=	PYTHON=:
.else
PLIST.python=	yes
REPLACE_PYTHON+=	utils/inkscape2edc
.include	"../../lang/python/application.mk"
.endif

INSTALLATION_DIRS+=	share/doc/edje

post-install:
	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING \
	    ${DESTDIR}${PREFIX}/share/doc/edje

.include "../../devel/ecore/buildlink3.mk"
.include "../../devel/eet/buildlink3.mk"
.include "../../graphics/evas/buildlink3.mk"
.include "../../lang/embryo/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"