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

PORTNAME=	goffice
PORTVERSION=	0.10.50
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

LIB_DEPENDS=	libspectre.so:print/libspectre \
		libfribidi.so:converters/fribidi

USES=		gettext gmake gnome libtool pathfix perl5 pkgconfig \
		shebangfix tar:xz xorg
USE_GNOME=	cairo gtk30 intlhack introspection:build libgsf librsvg2 libxslt
USE_XORG=	xrender xext
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip
CONFIGURE_ARGS=	--with-lasem=no --with-config-backend=gsettings \
		--enable-compile-warnings=no \
		--enable-introspection
USE_PERL5=	build
SHEBANG_FILES=	${WRKSRC}/tools/introspection-identifier-filter

PLIST_SUB=	VERSION=${PORTVERSION} SHORT_VER=${PORTVERSION:R}

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/goffice/${SHORT_VER}/plugins
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgoffice-0.10.so.*
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/goffice/${PORTVERSION}/plugins/*/*.so

.include <bsd.port.mk>