summaryrefslogtreecommitdiff
path: root/editors/abiword/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/Makefile')
-rw-r--r--editors/abiword/Makefile54
1 files changed, 42 insertions, 12 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 7031770b32e..3dc21d01143 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,22 +1,52 @@
-# $NetBSD: Makefile,v 1.154 2015/06/12 10:50:01 wiz Exp $
+# $NetBSD: Makefile,v 1.155 2015/09/13 21:32:12 nros Exp $
-.include "Makefile.common"
-PKGREVISION= 27
+.include "Makefile.common"
+DISTNAME= abiword-${ABIVERSION}
+CATEGORIES= editors
+MASTER_SITES= http://www.abiword.com/downloads/abiword/${PKGVERSION_NOREV}/source/
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.abiword.com/
COMMENT= Open Source cross-platform word processor
+LICENSE= gnu-gpl-v2
-# GTK1 version and previous name of the GTK2 version
-CONFLICTS= abiword-personal-[0-9]* abiword2-[0-9]*
+CONFLICTS= abiword-personal-[0-9]* abiword2-[0-9]*
-USE_TOOLS+= perl
-CONFIGURE_ARGS+= --disable-builtin-plugins
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake gmake pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --disable-default-plugins #do not build any plugins by default
+CONFIGURE_ARGS+= --enable-spell # (Gtk+ only) include spell checking support
CONFIGURE_ARGS+= --enable-plugins=""
-CONFIGURE_ARGS+= --without-gnomevfs
+# evolution data server can't be found even if buildlinked
+# disable to make usre it's not found somewhere else
+CONFIGURE_ARGS+= --with-evolution-data-server=no
-REPLACE_SH+= ${WRKDIR}/${DISTNAME}/abiword-docs/make-html.sh
-REPLACE_PERL+= user/wp/scripts/abw2html.pl
-.include "../../textproc/enchant/buildlink3.mk"
-.include "../../databases/shared-mime-info/mimedb.mk"
+PKGCONFIG_OVERRIDE+= libabiword.pc.in
+
+pre-configure:
+ cd ${WRKSRC}; \
+ autoreconf --force --install
+
+.include "options.mk"
+
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../converters/wv/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../textproc/redland/buildlink3.mk"
+.include "../../time/libical/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"