openbsd-ports/editors/abiword/Makefile

68 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2005/02/21 13:41:37 couderc Exp $
2004-01-10 17:51:14 -05:00
COMMENT= "open-source, cross-platform WYSIWYG word processor"
VERSION= 2.0.7
2004-01-10 17:51:14 -05:00
DISTNAME= abiword-${VERSION}
CATEGORIES= editors
2000-07-17 03:34:57 -04:00
2004-01-10 17:51:14 -05:00
HOMEPAGE= http://www.abisource.com/
2000-07-17 03:34:57 -04:00
2004-08-10 04:32:35 -04:00
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
1999-11-08 09:05:52 -05:00
2004-01-10 17:51:14 -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 \
popt::devel/popt
# 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
2004-11-24 06:08:02 -05:00
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 \
2004-12-25 16:51:00 -05:00
stdc++ xml2.0.0 z Xcursor
2000-03-16 17:32:35 -05:00
2004-01-10 17:51:14 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=abiword/}
EXTRACT_SUFX= .tar.bz2
2002-10-17 14:37:13 -04:00
2004-01-10 17:51:14 -05:00
USE_GMAKE= Yes
2002-10-17 14:37:13 -04:00
2004-01-10 17:51:14 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-pspell
2002-10-17 14:37:13 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
2004-01-10 17:51:14 -05:00
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
2004-01-10 17:51:14 -05:00
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L:Mgnome}
2004-01-10 17:51:14 -05:00
LIB_DEPENDS+= gnomeprintui-2-2::x11/gnome/libgnomeprintui \
nautilus::x11/gnome/nautilus
2004-11-24 06:08:02 -05:00
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
2004-01-10 17:51:14 -05:00
CONFIGURE_ARGS+= --enable-gnome
.endif
2004-01-10 17:51:14 -05:00
MAKE_FILE= GNUmakefile
WRKDIST= ${WRKDIR}/abiword-${VERSION}
WRKSRC= ${WRKDIST}/abi
2003-08-16 12:32:58 -04:00
post-install:
2004-01-10 17:51:14 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop ${PREFIX}/share/applications/
1999-11-08 09:05:52 -05:00
.include <bsd.port.mk>