openbsd-ports/editors/abiword/Makefile

67 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2005/06/23 10:01:21 fgsch Exp $
COMMENT= "open-source, cross-platform WYSIWYG word processor"
VERSION= 2.2.8
DISTNAME= abiword-${VERSION}
CATEGORIES= editors
2000-07-17 03:34:57 -04:00
HOMEPAGE= http://www.abisource.com/
2000-07-17 03:34:57 -04:00
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
1999-11-08 09:05:52 -05:00
LIB_DEPENDS= fribidi::devel/fribidi \
gthread-2.0.0.0::devel/glib2 \
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
glade-2.0.0.0::devel/libglade2 \
xml2.6::textproc/libxml \
popt::devel/popt
2004-01-10 17:51:14 -05:00
# GPL
2000-03-16 17:32:35 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xft Xinerama Xrender \
atk-1.0.0.0 c fontconfig freetype glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 m pango-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0 png pthread \
stdc++ z Xcursor
2002-10-17 14:37:13 -04:00
MASTER_SITES= ${HOMEPAGE}/downloads/abiword/${VERSION}/source/
2002-10-17 14:37:13 -04:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-gucharmap --disable-enchant --without-pspell
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= gnomeprintui-2-2::x11/gnome/libgnomeprintui \
nautilus::x11/gnome/nautilus
WANTLIB+= ORBit-2.0.0 art_lgpl_2.0.0 bonobo-2.0.0 \
bonobo-activation bonoboui-2.0.0 eel-2.0.0 \
gailutil gconf-2.0.0 gnome-2.0.0 gnomecanvas-2.0.0 \
gnomeprint-2-2.0.0 gnomeui-2.0.0 gnomevfs-2.0.0 \
pangoft2-1.0.0.0
CONFIGURE_ARGS+= --enable-gnome
.endif
MAKE_FILE= GNUmakefile
2004-01-10 17:51:14 -05:00
WRKDIST= ${WRKDIR}/abiword-${VERSION}
WRKSRC= ${WRKDIST}/abi
2003-08-16 12:32:58 -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>