1 # New ports collection makefile for: gedit2
2 # Date created: 14 May 2002
3 # Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
5 # $FreeBSD: ports/editors/gedit/Makefile,v 1.93 2012/11/17 05:57:13 svnexp Exp $
6 # $MCom: ports/editors/gedit/Makefile,v 1.125 2010/09/30 19:58:54 kwm Exp $
12 CATEGORIES= editors gnome
16 MAINTAINER= gnome@FreeBSD.org
17 COMMENT= A small but powerful text editor for GNOME 2 Desktop Environment
19 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
20 LIB_DEPENDS= enchant.1:${PORTSDIR}/textproc/enchant \
21 soup-2.4.1:${PORTSDIR}/devel/libsoup
22 RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
30 USE_AUTOTOOLS= libtool
31 USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gtksourceview2 \
32 desktopfileutils gnomedocutils ltasneededhack
33 GNOME_DESKTOP_VERSION=2
35 CPPFLAGS+= -I${LOCALBASE}/include
36 LDFLAGS+= -L${LOCALBASE}/lib
37 PLIST_SUB= VERSION="2.20"
40 GCONF_SCHEMAS= gedit.schemas gedit-file-browser.schemas
42 .if defined(PACKAGE_BUILDING)
47 .include <bsd.port.pre.mk>
49 .if ${HAVE_GNOME:Mpygtksourceview}!=""
51 .include "${PORTSDIR}/Mk/bsd.python.mk"
52 USE_GNOME+= pygtksourceview
53 CONFIGURE_ARGS+=--enable-python
56 CONFIGURE_ARGS+=--disable-python
57 PLIST_SUB+= PYTHON="@comment "
61 # ${MKDIR} ${WRKSRC}/bindings/python/.deps
62 #.for ff in gedit_la-gedit.Plo gedit_la-geditcommands.Plo gedit_la-geditutils.Plo
63 # ${TOUCH} ${WRKSRC}/bindings/python/.deps/${ff}
67 @-update-desktop-database
69 .include <bsd.port.post.mk>