2007-05-12 16:52:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2007/05/12 20:52:31 jasper Exp $
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2007-05-07 15:38:23 -04:00
|
|
|
COMMENT= "lightweight GNOME text editor"
|
|
|
|
DISTNAME= gedit-2.18.1
|
2007-05-12 16:52:31 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-07-28 00:55:59 -04:00
|
|
|
CATEGORIES= editors x11/gnome
|
|
|
|
|
2005-03-06 03:42:29 -05:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/gedit/
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2007-05-12 16:52:31 -04:00
|
|
|
MAINTAINER= Thomas Delaet <thomas@delaet.org>
|
2004-07-28 00:55:59 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-05-07 15:38:23 -04:00
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
|
|
|
|
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 \
|
|
|
|
audiofile bonobo-2 bonobo-activation bonoboui-2 c cairo \
|
|
|
|
crypto dbus-1 dbus-glib-1 esd expat fontconfig freetype \
|
|
|
|
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 glib-2.0 \
|
|
|
|
glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
|
|
|
|
gnomeprint-2-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
|
|
|
|
jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 png popt \
|
|
|
|
pthread ssl stdc++ util xml2 z
|
|
|
|
|
2007-05-12 16:52:31 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gedit/2.18/}
|
2004-07-28 00:55:59 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-08-10 06:56:42 -04:00
|
|
|
MODULES= devel/gettext
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2007-05-07 15:38:23 -04:00
|
|
|
BUILD_DEPENDS= :iso-codes-*:devel/iso-codes \
|
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser \
|
|
|
|
:scrollkeeper-*:textproc/scrollkeeper \
|
|
|
|
:gnome-doc-utils-*:x11/gnome/doc-utils
|
|
|
|
LIB_DEPENDS= enchant::textproc/enchant \
|
|
|
|
gnomeprintui-2-2.>=2.0::x11/gnome/libgnomeprintui \
|
2004-07-28 00:55:59 -04:00
|
|
|
gnomeui-2::x11/gnome/libgnomeui \
|
2006-09-18 08:19:39 -04:00
|
|
|
gtksourceview-1.0::x11/gtksourceview
|
2007-05-07 15:38:23 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2007-05-12 16:52:31 -04:00
|
|
|
::devel/desktop-file-utils \
|
2007-05-07 15:38:23 -04:00
|
|
|
:gnome-doc-utils-*:x11/gnome/doc-utils \
|
|
|
|
:yelp-*:x11/gnome/yelp
|
2004-07-28 00:55:59 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2007-04-07 09:40:22 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
2007-05-07 15:38:23 -04:00
|
|
|
|
2004-07-28 00:55:59 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-05-07 15:38:23 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gedit \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--disable-python
|
2004-07-28 00:55:59 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
2004-10-20 10:48:11 -04:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lm -lstdc++ -lintl -liconv"
|
2004-07-28 00:55:59 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|