2004-01-16 08:46:08 +01:00
|
|
|
# New ports collection makefile for: Planner
|
2001-07-15 10:43:17 +02:00
|
|
|
# Date created: 15 July 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-05 06:51:18 +01:00
|
|
|
# $MCom: ports/deskutils/planner/Makefile,v 1.1 2005/10/08 19:33:55 marcus Exp $
|
2001-07-15 10:43:17 +02:00
|
|
|
#
|
|
|
|
|
2004-01-16 08:46:08 +01:00
|
|
|
PORTNAME= planner
|
2005-03-15 03:37:00 +01:00
|
|
|
PORTVERSION= 0.13
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 3
|
2001-07-15 10:43:17 +02:00
|
|
|
CATEGORIES= deskutils gnome
|
2003-09-25 07:47:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2005-03-15 03:37:00 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.13
|
2003-09-25 07:47:12 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
2001-07-15 10:43:17 +02:00
|
|
|
|
2002-01-29 06:27:38 +01:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-18 01:25:48 +01:00
|
|
|
COMMENT= Project management application for Gnome 2
|
2001-07-15 10:43:17 +02:00
|
|
|
|
2003-09-25 07:47:12 +02:00
|
|
|
USE_BZIP2= yes
|
2001-07-15 10:43:17 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2004-07-09 08:09:45 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui \
|
|
|
|
libgsf
|
|
|
|
WANT_GNOME= yes
|
2006-05-16 00:23:04 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-11-23 03:23:08 +01:00
|
|
|
INSTALLS_OMF= yes
|
2005-11-05 06:51:18 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2006-11-05 03:46:18 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-09 08:09:45 +02:00
|
|
|
CONFIGURE_ARGS= --enable-static \
|
|
|
|
--disable-python \
|
|
|
|
--disable-dotnet
|
2004-04-09 19:53:32 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-07-09 08:09:45 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-09-23 01:26:02 +02:00
|
|
|
|
2005-03-15 03:37:00 +01:00
|
|
|
GCONF_SCHEMAS= planner.schemas
|
|
|
|
|
2004-07-09 08:09:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-03-27 01:27:14 +02:00
|
|
|
.if ${HAVE_GNOME:Mlibgda2}!=""
|
|
|
|
USE_GNOME+= libgda2
|
|
|
|
CONFIGURE_ARGS+=--enable-database=yes
|
|
|
|
PLIST_SUB+= GDA=""
|
|
|
|
.else
|
2004-07-09 08:09:45 +02:00
|
|
|
PLIST_SUB+= GDA="@comment "
|
2006-03-27 01:27:14 +02:00
|
|
|
.endif
|
2004-01-16 08:46:08 +01:00
|
|
|
|
2004-07-09 08:09:45 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-12-21 01:23:18 +01:00
|
|
|
's|[(]datadir[)]/doc|(prefix)/share/doc|g'
|
2004-07-09 08:09:45 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|