freebsd-ports/deskutils/planner/Makefile
Jeremy Messenger 58a61e763c Put all hacks of hicolor icons and mime from ports to bsd.gnome.mk's gnomehack.
deskutils/drivel is the only port that has pkg-plist change, so bump the
PORTREVISION. The rest else should be no function change, but just remove the
patches to allow gnomehack takes care of it. Keep in mind, I only touch those
ports that already have gnomehack.

Reviewed by:	pav and marcus
2004-12-21 00:23:18 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: Planner
# Date created: 15 July 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= planner
PORTVERSION= 0.12.1
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.12
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Project management application for Gnome 2
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui \
libgsf
WANT_GNOME= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-static \
--disable-python \
--disable-dotnet
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgda2}!=""
USE_GNOME+= libgda2
CONFIGURE_ARGS+=--enable-database=yes
PLIST_SUB+= GDA=""
.else
PLIST_SUB+= GDA="@comment "
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]datadir[)]/doc|(prefix)/share/doc|g'
.include <bsd.port.post.mk>