2021-02-23 19:39:08 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.134 2021/02/23 19:39:21 sthen Exp $
|
2019-03-14 10:13:31 +00:00
|
|
|
|
2013-12-22 10:41:26 +00:00
|
|
|
BROKEN-alpha= gr_RenderInfo.cpp:426:1: internal compiler error: Segmentation fault
|
2012-04-23 06:40:22 +00:00
|
|
|
|
2007-09-16 00:44:00 +00:00
|
|
|
COMMENT= free cross-platform WYSIWYG word processor
|
2001-02-18 18:44:57 +00:00
|
|
|
|
2019-12-31 14:27:04 +00:00
|
|
|
VERSION= 3.0.4
|
2005-06-23 10:01:21 +00:00
|
|
|
DISTNAME= abiword-${VERSION}
|
2021-02-13 10:15:02 +00:00
|
|
|
REVISION= 2
|
2010-03-21 10:55:04 +00:00
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
CATEGORIES= editors
|
2000-07-17 07:34:57 +00:00
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
HOMEPAGE= http://www.abisource.com/
|
2000-07-17 07:34:57 +00:00
|
|
|
|
2017-04-13 09:54:38 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2009-10-10 09:51:52 +00:00
|
|
|
# GPLv2
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2000-03-16 22:32:35 +00:00
|
|
|
|
2019-12-31 14:27:04 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} ICE SM X11 Xcomposite Xcursor Xdamage
|
2021-02-13 10:15:02 +00:00
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender aspell atk-1.0
|
|
|
|
WANTLIB += atk-bridge-2.0 avahi-common bz2 c cairo cairo-gobject
|
|
|
|
WANTLIB += crypto curl dbus-1 enchant-2 epoxy expat ffi fontconfig
|
|
|
|
WANTLIB += freetype fribidi gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0
|
|
|
|
WANTLIB += glib-2.0 gmodule-2.0 gmp gobject-2.0 goffice-0.10 gpg-error
|
2017-02-21 09:44:37 +00:00
|
|
|
WANTLIB += graphite2 gs gsf-1 gthread-2.0 gtk-3 harfbuzz hogweed
|
2017-04-13 09:54:38 +00:00
|
|
|
WANTLIB += iconv idn2 intl jpeg ltdl lzma m mpfr nettle nghttp2
|
|
|
|
WANTLIB += p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
|
2019-12-31 14:27:04 +00:00
|
|
|
WANTLIB += pixman-1 png raptor2 rasqal rdf rsvg-2 spectre ssl
|
|
|
|
WANTLIB += tasn1 unistring uuid wmf-0.2 wmflite-0.2 wv-1.2 xcb
|
|
|
|
WANTLIB += xcb-render xcb-shm xml2 xslt yajl z zstd
|
2013-10-26 11:27:21 +00:00
|
|
|
|
2019-12-31 14:27:04 +00:00
|
|
|
MASTER_SITES= http://www.abisource.com/downloads/abiword/${VERSION}/source/
|
2013-10-26 11:27:21 +00:00
|
|
|
|
2017-04-13 09:54:38 +00:00
|
|
|
MODULES= lang/python
|
2013-10-26 11:27:21 +00:00
|
|
|
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
2002-10-17 18:37:13 +00:00
|
|
|
|
2015-03-16 21:45:18 +00:00
|
|
|
.if ${MACHINE_ARCH} == "hppa"
|
|
|
|
CFLAGS += -O0
|
|
|
|
.endif
|
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
USE_GMAKE= Yes
|
2013-10-26 11:27:21 +00:00
|
|
|
|
2019-02-07 14:41:45 +00:00
|
|
|
BUILD_DEPENDS= devel/gobject-introspection \
|
2020-09-13 10:10:07 +00:00
|
|
|
devel/py-gobject3${MODPY_FLAVOR}
|
2011-12-08 11:02:30 +00:00
|
|
|
|
|
|
|
# plugins/openxml.so
|
2013-10-26 11:27:21 +00:00
|
|
|
BUILD_DEPENDS +=devel/boost
|
|
|
|
|
2015-01-21 17:25:50 +00:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
2020-09-13 10:10:07 +00:00
|
|
|
devel/py-gobject3${MODPY_FLAVOR} \
|
2015-03-27 08:11:24 +00:00
|
|
|
x11/gtk+3,-guic
|
2013-10-26 11:27:21 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= devel/fribidi \
|
|
|
|
converters/wv \
|
2013-11-29 08:51:52 +00:00
|
|
|
devel/goffice \
|
2021-02-13 10:15:02 +00:00
|
|
|
textproc/enchant2 \
|
2013-10-26 11:27:21 +00:00
|
|
|
textproc/redland
|
|
|
|
|
|
|
|
# src/af/util/xp/ut_go_file.cpp
|
|
|
|
RUN_DEPENDS += devel/xdg-utils
|
|
|
|
|
|
|
|
PLUGINS= goffice opendocument openwriter openxml pdf
|
2000-09-27 21:26:45 +00:00
|
|
|
|
2019-12-31 14:27:04 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --enable-introspection \
|
2013-10-26 11:27:21 +00:00
|
|
|
--enable-plugins="${PLUGINS}" \
|
2010-03-21 10:55:04 +00:00
|
|
|
--enable-clipart \
|
2013-10-26 11:27:21 +00:00
|
|
|
--enable-templates
|
|
|
|
|
|
|
|
# let's try to keep this package small-ish
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--without-evolution-data-server \
|
|
|
|
--without-libical \
|
|
|
|
--without-champlain \
|
|
|
|
--without-inter7eps \
|
|
|
|
--without-libtidy
|
2010-03-21 10:55:04 +00:00
|
|
|
|
2013-06-04 18:41:39 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2017-07-25 11:25:14 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_prog_VALGRIND=
|
2005-06-23 10:01:21 +00:00
|
|
|
|
2020-12-23 14:41:06 +00:00
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
|
|
|
2012-04-23 06:40:22 +00:00
|
|
|
post-install:
|
2019-12-31 14:27:04 +00:00
|
|
|
rm ${PREFIX}/lib/libabiword-${VERSION:R}*.{a,la}
|
|
|
|
rm ${PREFIX}/lib/abiword-${VERSION:R}/plugins/*.{a,la}
|
2012-04-23 06:40:22 +00:00
|
|
|
|
1999-11-08 14:05:52 +00:00
|
|
|
.include <bsd.port.mk>
|