summaryrefslogtreecommitdiffstats
path: root/devel/goffice/Makefile
blob: aed6e2d18b664f23adf47ed91c364f70228473fb (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   goffice
PORTVERSION=    0.10.1
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
USES=       pathfix
USE_GNOME=  gnomeprefix intlhack gtk30 libgsf ltverhack
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-lasem=no --with-config-backend=gsettings
PLIST_SUB=  VERSION=${PORTVERSION} SHORT_VER=${SHORT_VER}
SHORT_VER=0.10

MAKE_JOBS_SAFE= yes

post-patch:
    @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g'\
        ${WRKSRC}/configure

post-install:
    @${MKDIR} ${PREFIX}/lib/goffice/${SHORT_VER}/plugins

.include <bsd.port.mk>