# New ports collection makefile for: gedit2 # Date created: 14 May 2002 # Whom: Joe Marcus Clarke # # $FreeBSD: ports/editors/gedit/Makefile,v 1.54 2005/11/05 04:53:20 marcus Exp $ # $MCom: ports/editors/gedit/Makefile,v 1.15 2005/12/19 04:14:53 marcus Exp $ # PORTNAME= gedit PORTVERSION= 2.13.0 PORTREVISION= 1 CATEGORIES= editors gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.13 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= A small but powerful text editor for Gnome 2 Desktop Environment LIB_DEPENDS= pspell.16:${PORTSDIR}/textproc/aspell USE_BZIP2= yes USE_X_PREFIX= yes INSTALLS_OMF= yes INSTALLS_SHLIB= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 USE_GNOME= gnomeprefix gnomehack intlhack \ libgnomeprintui libgnomeui eel2 gtksourceview desktopfileutils WANT_GNOME= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PLIST_SUB= VERSION="2.10" MAN1= gedit.1 GCONF_SCHEMAS= gedit.schemas .include .if ${HAVE_GNOME:Mpygtk2}!="" USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" USE_GNOME+= pygtk2 CONFIGURE_ARGS+=--enable-python PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+=--disable-python PLIST_SUB+= PYTHON="@comment " .endif post-install: @-update-desktop-database .include