blob: 5af684cbd1aac10679b8a2426e44bc395eb5f455 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: libpeas
# Date created: 20 June 2010
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/libpeas/Makefile,v 1.14 2011/03/10 14:50:58 kwm Exp $
#
PORTNAME= libpeas
PORTVERSION= 1.0.0
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= kwm@FreeBSD.org
COMMENT= Next evolution of the Gedit plugins engine
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
valac:${PORTSDIR}/lang/vala
USE_BZIP2= yes
USE_PYTHON= 2.5+
USE_LDCONFIG= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack glib20 gtk30 ltverhack
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= PYTHONS "Enable python plugins" on \
SEED "Enable JavaScript plugins" on
.include <bsd.port.options.mk>
.if defined(WITH_SEED)
CONFIGURE_ARGS+=--enable-seed
LIB_DEPENDS= seed-gtk3.0:${PORTSDIR}/devel/seed3
PLIST_SUB+= SEED=""
.else
CONFIGURE_ARGS+=--enable-seed=no
PLIST_SUB+= SEED="@comment "
.endif
.if defined(WITH_PYTHONS)
CONFIGURE_ARGS+=--enable-python
BUILD_DEPENDS+= py*-gobject>=2.28.0:${PORTSDIR}/devel/py-gobject
USE_GNOME+= pygobject
PLIST_SUB+= PYTHONS=""
.else
CONFIGURE_ARGS+=--enable-python=no
PLIST_SUB+= PYTHONS="@comment "
.endif
.include <bsd.port.mk>
|