aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/planner/Makefile
blob: 461d478978a85cb999af354227fab2767c3487ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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.13
PORTREVISION=   2
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.13
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
INSTALLS_ICONS= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
CONFIGURE_ARGS= --enable-static \
        --disable-python \
        --disable-dotnet
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  planner.schemas

.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>