53 lines
1.4 KiB
Makefile
Raw Normal View History

2020-06-09 07:14:44 +00:00
# $OpenBSD: Makefile,v 1.108 2020/06/09 07:14:44 jasper Exp $
COMMENT= document centric objects and utilities
GNOME_PROJECT= goffice
2020-05-14 12:27:33 +00:00
GNOME_VERSION= 0.10.47
2020-06-09 07:14:44 +00:00
REVISION= 0
2013-10-08 09:19:17 +00:00
# NOTE: when GNOME_VERSION changes, increment GOFFICE_VERSION and
# GOFFICE_API_VERSION accordingly and bump:
# math/gnumeric
GOFFICE_API_VERSION= ${GNOME_VERSION:R}
SUBST_VARS= GNOME_VERSION GOFFICE_API_VERSION
2020-05-14 12:27:33 +00:00
SHARED_LIBS += goffice-0.10 0.2 # 10.46
2010-07-31 05:15:33 +00:00
CATEGORIES= devel
2012-12-19 10:42:05 +00:00
2013-03-14 09:00:44 +00:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2012-12-19 10:42:05 +00:00
# GPLv2+
2019-06-15 11:06:43 +00:00
PERMIT_PACKAGE= Yes
2013-03-10 12:17:34 +00:00
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
2019-06-15 11:06:43 +00:00
WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 avahi-common
2020-05-14 12:27:33 +00:00
WANTLIB += bz2 cairo cairo-gobject dbus-1 epoxy expat ffi fontconfig
WANTLIB += freetype fribidi gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gmp gobject-2.0 graphite2 gs gsf-1 gtk-3
WANTLIB += harfbuzz hogweed iconv idn2 intl jpeg lzma m nettle
WANTLIB += p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread rsvg-2 spectre tasn1 unistring
WANTLIB += xcb xcb-render xcb-shm xml2 xslt z zstd
2016-06-18 09:12:44 +00:00
MODULES= x11/gnome
2010-11-15 19:45:56 +00:00
LIB_DEPENDS= devel/libgsf \
2012-12-19 10:42:05 +00:00
print/libspectre \
2014-03-09 22:09:36 +00:00
textproc/libxslt \
2012-12-19 10:42:05 +00:00
x11/gnome/librsvg \
x11/gtk+3
2015-01-24 09:48:40 +00:00
MODGNOME_TOOLS= gobject-introspection
MODGNOME_LDFLAGS= -L${X11BASE}/lib
2009-01-18 18:49:55 +00:00
2012-12-19 10:42:05 +00:00
CONFIGURE_STYLE= gnu
2011-03-25 07:24:31 +00:00
2020-05-14 12:27:33 +00:00
DEBUG_PACKAGES= ${BUILD_PACKAGES}
2012-12-19 10:42:05 +00:00
post-install:
rm ${PREFIX}/lib/goffice/${GNOME_VERSION}/plugins/*/*.{a,la}
.include <bsd.port.mk>