aboutsummaryrefslogtreecommitdiff
path: root/deskutils/planner
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-03-19 10:40:22 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-03-19 10:40:22 +0000
commit2a3357182d8cb640f374f8c60b71b6c99ec43843 (patch)
tree7a5f4c1c91d14d9fcab2b30589db732cde4a3725 /deskutils/planner
parent92fdeef4740a0893f904a81b5150a5e3f5604b10 (diff)
downloadports-2a3357182d8cb640f374f8c60b71b6c99ec43843.tar.gz
ports-2a3357182d8cb640f374f8c60b71b6c99ec43843.zip
Notes
Diffstat (limited to 'deskutils/planner')
-rw-r--r--deskutils/planner/Makefile27
1 files changed, 8 insertions, 19 deletions
diff --git a/deskutils/planner/Makefile b/deskutils/planner/Makefile
index 705ecd202172..cb5c7be70e6c 100644
--- a/deskutils/planner/Makefile
+++ b/deskutils/planner/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: Planner
-# Date created: 15 July 2001
-# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
-#
+# 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
@@ -18,7 +14,8 @@ COMMENT= Project management application for GNOME 2
USE_XZ= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui \
+USES= pathfix
+USE_GNOME= gnomeprefix intlhack libgnomeui libgnomeprintui \
libgsf desktopfileutils
WANT_GNOME= yes
USE_GETTEXT= yes
@@ -36,13 +33,13 @@ GCONF_SCHEMAS= planner.schemas
MAN1= planner.1
-OPTIONS= GDA "Enable database support (though libgda)" off
+OPTIONS_DEFINE= GDA
+GDA_DESC= Enable database support (though libgda)
# EVO "Enable evolution data server support" off
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-
-.if defined(WITH_GDA)
+.if ${PORT_OPTIONS:MGDA}
USE_GNOME+= libgda3
CONFIGURE_ARGS+=--with-database=gda3
PLIST_SUB+= GDA=""
@@ -50,15 +47,7 @@ PLIST_SUB+= GDA=""
PLIST_SUB+= GDA="@comment "
.endif
-#.if defined(WITH_EVO)
-#USE_GNOME+= evolutiondataserver
-#CONFIGURE_ARGS+=--enable-eds --enable-eds-backend
-#PLIST_SUB+= EVO=""
-#.else
-PLIST_SUB+= EVO="@comment "
-#.endif
-
post-install:
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>