aboutsummaryrefslogtreecommitdiff
path: root/devel/glade2/Makefile
blob: a8b2e6e7bb4ec184f785e0f254de7e458eb1a8c0 (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
# New ports collection makefile for:	glade2
# Date created:		02 June 2002
# Whom:			Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/glade2/Makefile,v 1.20 2007/08/04 03:51:29 marcus Exp $
#

PORTNAME=	glade
PORTVERSION=	2.12.2
PORTREVISION=	1
CATEGORIES=	devel gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}
PKGNAMESUFFIX=	2
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A user interface builder for GTK+/GNOME

LIB_DEPENDS=	rarian.0:${PORTSDIR}/textproc/rarian

USE_BZIP2=	yes
USE_GETTEXT=	yes
INSTALLS_OMF=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomeprefix intlhack gnomehack gtk20 desktopfileutils
USE_GMAKE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

OPTIONS=	GNOME "Enable gnome support" on #\
#		GNOMEDB "Enable libgnomedb support" off

.include <bsd.port.pre.mk>

.if defined(WITHOUT_GNOME)
CONFIGURE_ARGS+=	--disable-gnome
.else
USE_GNOME+=		libgailgnome libgnomeui
CONFIGURE_ARGS+=	--enable-gnome
.endif

#.if defined(WITH_GNOMEDB)
#USE_GNOME+=		libgnomedb
#CONFIGURE_ARGS+=	--enable-gnome-db
#.else
CONFIGURE_ARGS+=	--disable-gnome-db
#.endif

.include <bsd.port.post.mk>