summaryrefslogtreecommitdiffstats
path: root/devel/goffice/Makefile
blob: 250f5f815ea5c7cd11076a7f77983b2eda0f7d14 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$
#
# !!! When updating goffice, don't forget to update pkg-plist in:
#     math/gnumeric science/gchemutils

PORTNAME=   goffice
PORTVERSION=    0.8.17
PORTREVISION=   2
CATEGORIES= devel gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GLib/GTK+ set of document centric objects and utilities

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_XZ=     yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack gtk20 libgsf ltverhack
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PLIST_SUB=  VERSION=${PORTVERSION} \
        SHORT_VER=0.8

MAKE_JOBS_SAFE= yes

OPTIONS_DEFINE= GCONF
OPTIONS_DEAFULT=GCONF

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= gconf2
.else
CONFIGURE_ARGS+=--with-config-backend=keyfile
.endif

.include <bsd.port.mk>