blob: 1a143b801b979d84b12f2433b5ce3cbbb625294c (
plain) (
tree)
|
|
# New ports collection makefile for: gedit2
# Date created: 14 May 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/editors/gedit/Makefile,v 1.54 2005/11/05 04:53:20 marcus Exp $
# $MCom: ports/editors/gedit/Makefile,v 1.16 2005/12/19 04:15:19 marcus Exp $
#
PORTNAME= gedit
PORTVERSION= 2.13.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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
|