openbsd-ports/x11/gnome/gedit/Makefile
steven b6104fb7bf - fix WANTLIB after gtk+2 downgrade
- sync PLISTs
- add MODULES=devel/gettext where appropriate
2006-01-19 08:41:08 +00:00

58 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2006/01/19 08:41:08 steven Exp $
COMMENT= "Lightweight GNOME text editor"
DISTNAME= gedit-2.8.3
PKGNAME= ${DISTNAME}p2
CATEGORIES= editors x11/gnome
HOMEPAGE= http://www.gnome.org/projects/gedit/
MAINTAINER= Thomas Delaet <thomas@delaet.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xext Xft \
Xrender art_lgpl_2 atk-1.0.0.0 audiofile bonobo-2 \
bonobo-activation bonoboui-2 c crypto esd fontconfig \
freetype gailutil gconf-2 gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 \
glade-2.0.0.0 glib-2.0.0.0 gmodule-2.0.0.0 gnome-2 \
gnome-keyring gnomecanvas-2 gnomeprint-2-2 gnomevfs-2 \
gobject-2.0.0.0 gthread-2.0.0.0 gtk-x11-2.0.0.0 jpeg m \
pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 pangoft2-1.0.0.0 \
popt pthread ssl stdc++ xml2 z \
gnome-menu gnome-desktop-2 startup-notification-1
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gedit/2.8/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
:p5-XML-Parser-*:textproc/p5-XML-Parser \
:scrollkeeper-*:textproc/scrollkeeper
LIB_DEPENDS= aspell.15.2::textproc/aspell/core \
eel-2::x11/gnome/eel \
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
gnomeui-2::x11/gnome/libgnomeui \
gtksourceview-1.0.0.0::x11/gtksourceview
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lm -lstdc++ -lintl -liconv"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gedit \
--disable-schemas-install
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>