2010-08-22 10:09:54 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.76 2010/08/22 10:09:54 ajacoutot Exp $
|
2001-05-06 00:28:54 +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
|
|
|
|
2010-08-22 10:09:54 +00:00
|
|
|
VERSION= 2.8.6
|
2005-10-07 15:42:06 +00:00
|
|
|
MAJORVER= ${VERSION:C/..$//}
|
2005-06-23 10:01:21 +00:00
|
|
|
DISTNAME= abiword-${VERSION}
|
2010-03-21 10:55:04 +00:00
|
|
|
|
|
|
|
# Merge a patch from Fedora to change default font from Times Roman to
|
|
|
|
# DejaVu Serif.: fixes font corruption issue on machines where
|
|
|
|
# msttcorefonts are not installed.
|
|
|
|
PATCHFILES= abiword-dejavu.patch:0
|
|
|
|
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
|
|
|
|
|
|
|
|
SHARED_LIBS += abiword-2.8 0.0 # .0.0
|
2009-12-22 15:08:35 +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
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
MODULES= devel/gettext
|
2003-12-16 18:32:32 +00:00
|
|
|
|
2007-12-15 20:32:57 +00:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2010-08-22 10:09:54 +00:00
|
|
|
LIB_DEPENDS= ::devel/fribidi \
|
|
|
|
::converters/wv \
|
|
|
|
::textproc/enchant \
|
|
|
|
::x11/gnome/librsvg
|
2004-01-10 22:51:14 +00:00
|
|
|
|
2009-10-10 09:51:52 +00:00
|
|
|
# GPLv2
|
2000-03-16 22:32:35 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-05-17 18:32:04 +00:00
|
|
|
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
2010-03-21 10:55:04 +00:00
|
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo
|
|
|
|
WANTLIB += croco-0.6 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gsf-1
|
|
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
|
2010-05-10 12:31:51 +00:00
|
|
|
WANTLIB += stdc++ wmf wmflite xcb xml2 z xcb-render xcb-render-util
|
2010-08-22 10:09:54 +00:00
|
|
|
WANTLIB += fribidi wv enchant rsvg-2
|
2002-10-17 18:37:13 +00:00
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/downloads/abiword/${VERSION}/source/
|
2002-10-17 18:37:13 +00:00
|
|
|
|
2010-03-21 10:55:04 +00:00
|
|
|
USE_LIBTOOL= Yes
|
2005-06-23 10:01:21 +00:00
|
|
|
USE_GMAKE= Yes
|
2006-11-11 21:04:27 +00:00
|
|
|
USE_X11= Yes
|
2000-09-27 21:26:45 +00:00
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-10-10 09:51:52 +00:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2010-03-21 10:55:04 +00:00
|
|
|
--enable-templates \
|
|
|
|
--enable-clipart \
|
|
|
|
--enable-collab-backend-fake=no \
|
|
|
|
--disable-collab-backend-telepathy \
|
|
|
|
--disable-collab-record-always \
|
|
|
|
--enable-collab-backend-xmpp \
|
|
|
|
--enable-collab-backend-sugar \
|
|
|
|
--without-goffice \
|
|
|
|
--without-gnomevfs \
|
|
|
|
--without-gucharmap
|
|
|
|
# broken configure checks (i.e. "no" makes it think we want to enable them)
|
|
|
|
# --disable-collab-backend-tcp
|
|
|
|
# --disable-collab-backend-service
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng" \
|
2005-06-23 10:01:21 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-10-07 15:42:06 +00:00
|
|
|
SUBST_VARS= MAJORVER
|
|
|
|
|
2005-06-23 10:01:21 +00:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e "s|libpng12|libpng|g" ${WRKSRC}/configure
|
1999-11-08 14:05:52 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|