2009-12-22 10:08:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.73 2009/12/22 15:08:35 ajacoutot Exp $
|
2001-05-05 20:28:54 -04:00
|
|
|
|
2007-09-15 20:44:00 -04:00
|
|
|
COMMENT= free cross-platform WYSIWYG word processor
|
2001-02-18 13:44:57 -05:00
|
|
|
|
2009-10-10 05:51:52 -04:00
|
|
|
VERSION= 2.6.8
|
2005-10-07 11:42:06 -04:00
|
|
|
MAJORVER= ${VERSION:C/..$//}
|
2005-06-23 06:01:21 -04:00
|
|
|
DISTNAME= abiword-${VERSION}
|
2009-12-22 10:08:35 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
CATEGORIES= editors
|
2000-07-17 03:34:57 -04:00
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
HOMEPAGE= http://www.abisource.com/
|
2000-07-17 03:34:57 -04:00
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
MODULES= devel/gettext
|
2003-12-16 13:32:32 -05:00
|
|
|
|
2007-12-15 15:32:57 -05:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2005-06-23 06:01:21 -04:00
|
|
|
LIB_DEPENDS= fribidi::devel/fribidi \
|
2008-02-19 20:17:53 -05:00
|
|
|
popt::devel/popt \
|
2009-06-16 15:57:50 -04:00
|
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0,gailutil::x11/gtk+2 \
|
|
|
|
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
|
2009-10-10 05:51:52 -04:00
|
|
|
wmf.>=8,wmflite,wv::converters/wv \
|
2009-06-16 15:57:50 -04:00
|
|
|
enchant.>=5::textproc/enchant
|
2004-01-10 17:51:14 -05:00
|
|
|
|
2009-10-10 05:51:52 -04:00
|
|
|
# GPLv2
|
2000-03-16 17:32:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-05-17 14:32:04 -04:00
|
|
|
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
|
|
|
WANTLIB += Xfixes Xft Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
|
|
|
|
WANTLIB += c cairo expat fontconfig freetype gio-2.0 glade-2.0
|
|
|
|
WANTLIB += glib-2.0 glitz gmodule-2.0 gnomecanvas-2 gnomeprint-2-2
|
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pangoxft-1.0 pixman-1 png pthread stdc++
|
2009-10-10 05:51:52 -04:00
|
|
|
WANTLIB += xml2 z pthread-stubs xcb gio-2.0 gsf-1 jpeg
|
2002-10-17 14:37:13 -04:00
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/downloads/abiword/${VERSION}/source/
|
2002-10-17 14:37:13 -04:00
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
USE_GMAKE= Yes
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
2000-09-27 17:26:45 -04:00
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-10-10 05:51:52 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-printing
|
2005-10-19 18:24:11 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DMAXSTRINGCHARS=512" \
|
2005-06-23 06:01:21 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
FLAVORS= gnome
|
2002-11-14 15:16:27 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnome}
|
2005-10-07 11:42:06 -04:00
|
|
|
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui \
|
2009-10-10 05:51:52 -04:00
|
|
|
gsf-gnome-1.>=114:libgsf-gnome-*:devel/libgsf,-gnome
|
2006-09-18 07:50:39 -04:00
|
|
|
WANTLIB+= ORBit-2 bonobo-2 bonobo-activation bonoboui-2 \
|
2009-10-10 05:51:52 -04:00
|
|
|
gconf-2 gnome-2 gnomeui-2 gnomevfs-2 dbus-1 gnome-keyring
|
|
|
|
CONFIGURE_ARGS+= --enable-gnomevfs \
|
|
|
|
--enable-gnomeui \
|
|
|
|
--enable-gucharmap
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnomevfs \
|
|
|
|
--disable-gnomeui \
|
|
|
|
--disable-gucharmap
|
2002-11-14 15:16:27 -05:00
|
|
|
.endif
|
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
MAKE_FILE= GNUmakefile
|
2004-01-10 17:51:14 -05:00
|
|
|
|
2005-10-07 11:42:06 -04:00
|
|
|
SUBST_VARS= MAJORVER
|
|
|
|
|
2005-06-23 06:01:21 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e "s|libpng12|libpng|g" ${WRKSRC}/configure
|
1999-11-08 09:05:52 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|