1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/deskutils/planner/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

59 lines
1.3 KiB
Makefile

# 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
PORTVERSION= 0.14.2
PORTREVISION= 3
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.14
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Project management application for GNOME 2
USE_BZIP2= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui \
libgsf desktopfileutils
WANT_GNOME= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--disable-python \
--disable-dotnet
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= planner.schemas
MAN1= planner.1
.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'
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>