openbsd-ports/editors/abiword/Makefile

90 lines
2.3 KiB
Makefile
Raw Normal View History

BROKEN-alpha= gr_RenderInfo.cpp:426:1: internal compiler error: Segmentation fault
COMMENT= free cross-platform WYSIWYG word processor
2021-07-04 08:01:05 +00:00
VERSION= 3.0.5
DISTNAME= abiword-${VERSION}
REVISION= 3
CATEGORIES= editors
2000-07-17 07:34:57 +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>
# GPLv2
PERMIT_PACKAGE= Yes
2000-03-16 22:32:35 +00:00
2022-05-27 07:39:32 +00:00
WANTLIB += ${COMPILER_LIBCXX} ICE SM X11 Xau Xcomposite Xcursor
WANTLIB += Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender
WANTLIB += aspell atk-1.0 atk-bridge-2.0 avahi-common bz2 c cairo
WANTLIB += cairo-gobject crypto curl dbus-1 enchant-2 epoxy execinfo
WANTLIB += expat ffi fontconfig freetype fribidi gcrypt gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gmp gobject-2.0
WANTLIB += goffice-0.10 gpg-error graphite2 gs gsf-1 gthread-2.0
WANTLIB += gtk-3 harfbuzz iconv intl jpeg ltdl lzma m mpfr nghttp2
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre2-8 pixman-1
2022-05-27 07:39:32 +00:00
WANTLIB += png raptor2 rasqal rdf rsvg-2 spectre ssl uuid wmf-0.2
WANTLIB += wmflite-0.2 wv-1.2 xcb xcb-render xcb-shm xml2 xslt
WANTLIB += yajl z zstd
2013-10-26 11:27:21 +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
2021-07-04 08:01:05 +00:00
# C++11
COMPILER = base-clang ports-gcc
2002-10-17 18:37:13 +00:00
.if ${MACHINE_ARCH} == "hppa"
CFLAGS += -O0
.endif
USE_GMAKE= Yes
2013-10-26 11:27:21 +00:00
BUILD_DEPENDS= devel/gobject-introspection \
2020-09-13 10:10:07 +00:00
devel/py-gobject3${MODPY_FLAVOR}
# 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} \
x11/gtk+3,-guic
2013-10-26 11:27:21 +00:00
LIB_DEPENDS= devel/fribidi \
converters/wv \
devel/goffice \
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
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}" \
--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
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2017-07-25 11:25:14 +00:00
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_prog_VALGRIND=
2020-12-23 14:41:06 +00:00
DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-install:
rm ${PREFIX}/lib/libabiword-${VERSION:R}*.{a,la}
rm ${PREFIX}/lib/abiword-${VERSION:R}/plugins/*.{a,la}
1999-11-08 14:05:52 +00:00
.include <bsd.port.mk>