freebsd-ports/deskutils/planner/Makefile

54 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Planner
# Date created: 15 July 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/deskutils/planner/Makefile,v 1.1 2005/10/08 19:33:55 marcus Exp $
#
PORTNAME= planner
2005-03-15 03:37:00 +01:00
PORTVERSION= 0.13
PORTREVISION= 3
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
2002-01-29 06:27:38 +01:00
MAINTAINER= gnome@FreeBSD.org
COMMENT= Project management application for Gnome 2
2003-09-25 07:47:12 +02:00
USE_BZIP2= yes
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
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
2004-07-09 08:09:45 +02:00
CONFIGURE_ARGS= --enable-static \
--disable-python \
--disable-dotnet
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-07-09 08:09:45 +02:00
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]datadir[)]/doc|(prefix)/share/doc|g'
2004-07-09 08:09:45 +02:00
.include <bsd.port.post.mk>