aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glade3/Makefile
blob: d09c7230cfafcb854e08aca58376b12f2171e990 (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   glade3
PORTVERSION=    3.8.5
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    User interface builder for Gtk+ 2

CONFLICTS=  glade-3.*
PORTSCOUT=  ignore

INSTALLS_ICONS= yes
USE_GNOME=  gtk20 intltool libxml2 gnomedocutils
USES=       gmake gettext libtool pathfix desktop-file-utils pkgconfig tar:xz
INSTALLS_OMF=   yes
INSTALL_TARGET= install-strip
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

DOCSDIR=    ${PREFIX}/share/doc/gladeui

OPTIONS_DEFINE= GNOME PYTHON
OPTIONS_DEFAULT=PYTHON
GNOME_DESC= GNOME UI widget support
OPTIONS_SUB=    yes

GNOME_CONFIGURE_ENABLE= gnome
GNOME_USE=  GNOME=libgnomeui
PYTHON_CONFIGURE_ENABLE=    python
PYTHON_USE= GNOME=pygtk2
PUTHON_USES=    python:2

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/lib/glade3/bindings

.include <bsd.port.mk>