79 lines
2.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.83 2011/04/05 14:42:39 ajacoutot Exp $
COMMENT= free cross-platform WYSIWYG word processor
2010-08-22 10:09:54 +00:00
VERSION= 2.8.6
MAJORVER= ${VERSION:C/..$//}
DISTNAME= abiword-${VERSION}
REVISION= 2
2010-10-01 17:43:41 +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
2011-04-02 16:56:42 +00:00
MASTER_SITES0= http://distfiles.bsdfrog.org/
SHARED_LIBS += abiword-2.8 0.0 # .0.0
CATEGORIES= editors
2000-07-17 07:34:57 +00:00
HOMEPAGE= http://www.abisource.com/
2000-07-17 07:34:57 +00:00
MODULES= devel/gettext
2010-11-15 23:22:07 +00:00
RUN_DEPENDS= devel/desktop-file-utils
LIB_DEPENDS= devel/fribidi \
converters/wv \
textproc/enchant \
x11/gnome/librsvg \
x11/gtk+2
2004-01-10 22:51:14 +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
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
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
2010-10-11 08:11:24 +00:00
WANTLIB += gio-2.0 glib-2.0 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
WANTLIB += stdc++ xcb xml2 z xcb-render wmf-0.2 wmflite-0.2
WANTLIB += fribidi enchant rsvg-2 wv-1.2 GL Xxf86vm drm xcb-shm
2002-10-17 18:37:13 +00:00
MASTER_SITES= ${HOMEPAGE}/downloads/abiword/${VERSION}/source/
2002-10-17 18:37:13 +00:00
USE_LIBTOOL= Yes
USE_GMAKE= Yes
2010-10-18 18:00:15 +00:00
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--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" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS= MAJORVER
pre-configure:
@perl -pi -e "s|libpng12|libpng|g" ${WRKSRC}/configure
1999-11-08 14:05:52 +00:00
.include <bsd.port.mk>