Prune devel/py-EnthoughtBase
[dports.git] / devel / libpeas / Makefile
1 # Created by: Koop Mast <kwm@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       libpeas
5 PORTVERSION=    1.14.0
6 PORTREVISION?=  1
7 CATEGORIES=     devel gnome
8 MASTER_SITES=   GNOME
9 DIST_SUBDIR=    gnome3
10
11 MAINTAINER=     gnome@FreeBSD.org
12 COMMENT?=       Next evolution of the Gedit plugins engine
13
14 BUILD_DEPENDS=  valac:${PORTSDIR}/lang/vala
15
16 LIBPEAS_SLAVE?= no
17
18 .if ${LIBPEAS_SLAVE} == no
19 PORTSCOUT=      limitw:1,even
20 .else
21 LIB_DEPENDS+=   libpeas-1.0.so:${PORTSDIR}/devel/libpeas
22 PORTSCOUT=      ignore:1
23 .endif
24
25 USES=           gettext gmake libtool pathfix pkgconfig tar:xz
26 USE_GNOME=      gtk30 intlhack introspection:build
27 USE_LDCONFIG=   yes
28 INSTALLS_ICONS= yes
29 GNU_CONFIGURE=  yes
30 CPPFLAGS+=      -I${LOCALBASE}/include
31 LIBS+=          -L${LOCALBASE}/lib
32 INSTALL_TARGET= install-strip
33 CONFIGURE_ARGS+=--disable-glade-catalog
34 PLIST=          ${.CURDIR}/pkg-plist
35
36 .if ${LIBPEAS_SLAVE} == python2
37 USES+=          python:2
38 USE_GNOME+=     pygobject3
39 .else
40 CONFIGURE_ARGS+=        --disable-python2
41 .endif
42
43 .if ${LIBPEAS_SLAVE} == python3
44 USES+=          python:3
45 USE_GNOME+=     py3gobject3
46 .else
47 CONFIGURE_ARGS+=        --disable-python3
48 .endif
49
50 # lua needs lua 5.1 and devel/lua-lgi. The latter is build for lua 5.2 however..
51 CONFIGURE_ARGS+=        --disable-lua5.1 --disable-luajit
52
53 .include <bsd.port.mk>