summaryrefslogtreecommitdiffstats
path: root/editors/gedit/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-05 03:08:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-05 03:08:03 +0800
commit89c7d1219738e5f876b07cc74f8c36f19f8cda11 (patch)
tree78ffc0165242b16811023389a67e04d6b4517b75 /editors/gedit/Makefile
parent410d4d4e34564e8431ec999f7315afa59a741e7b (diff)
downloadmarcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar.gz
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar.bz2
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar.lz
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar.xz
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.tar.zst
marcuscom-ports-89c7d1219738e5f876b07cc74f8c36f19f8cda11.zip
Update to 2.17.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7975 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/gedit/Makefile')
-rw-r--r--editors/gedit/Makefile70
1 files changed, 70 insertions, 0 deletions
diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile
new file mode 100644
index 000000000..4ec743ed0
--- /dev/null
+++ b/editors/gedit/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: gedit2
+# Date created: 14 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports-stable/editors/gedit/Makefile,v 1.7 2006/10/30 18:26:49 marcus Exp $
+#
+
+PORTNAME= gedit
+PORTVERSION= 2.17.1
+CATEGORIES= editors gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+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_GETTEXT= yes
+USE_XLIB= yes
+INSTALLS_OMF= yes
+USE_LDCONFIG= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack \
+ libgnomeprintui libgnomeui eel2 gtksourceview desktopfileutils
+WANT_GNOME= yes
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+PLIST_SUB= VERSION="2.16"
+
+MAN1= gedit.1
+GCONF_SCHEMAS= gedit.schemas gedit-file-browser.schemas
+
+.if defined(PACKAGE_BUILDING)
+.undef WITHOUT_GNOME
+WITH_GNOME= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mpygnomedesktop}!=""
+USE_PYTHON= yes
+.include "${PORTSDIR}/Mk/bsd.python.mk"
+USE_GNOME+= pygnomedesktop
+CONFIGURE_ARGS+=--enable-python
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--disable-python
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|make|${GMAKE}|g' \
+ ${WRKSRC}/bindings/python/Makefile.in
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/bindings/python/.deps
+.for ff in gedit_la-gedit.Plo gedit_la-geditcommands.Plo gedit_la-geditutils.Plo
+ ${TOUCH} ${WRKSRC}/bindings/python/.deps/${ff}
+.endfor
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>