summaryrefslogtreecommitdiff
path: root/deskutils/planner/Makefile
blob: a81a0bbdcd48afedada93f0c2a921d2a5ff8d310 (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
49
50
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports-stable/deskutils/planner/Makefile,v 1.4 2009/04/16 00:34:24 kwm Exp $

PORTNAME=	planner
PORTVERSION=	0.14.6
PORTREVISION=	1
CATEGORIES=	deskutils gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Project management application for GNOME 2

USE_XZ=		yes
USES=		pathfix gettext gmake pkgconfig
USE_GNOME=	gnomeprefix intlhack libgnomeui libgnomeprintui \
		libgsf desktopfileutils
WANT_GNOME=	yes
INSTALLS_OMF=	yes
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-static \
		--disable-python \
		--disable-python-plugin
CPPFLAGS+=	-I${LOCALBASE}/include -DGLIB_COMPILATION
LDFLAGS+=	-L${LOCALBASE}/lib

GCONF_SCHEMAS=	planner.schemas

MAN1=		planner.1

OPTIONS_DEFINE=	GDA
GDA_DESC=	Enable database support (though libgda)

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGDA}
USE_GNOME+=	libgda3
CONFIGURE_ARGS+=--with-database=gda3
PLIST_SUB+=	GDA=""
.else
PLIST_SUB+=	GDA="@comment "
.endif

post-install:
	@-update-desktop-database

.include <bsd.port.mk>