summaryrefslogtreecommitdiffstats
path: root/editors/gedit3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-04-27 05:23:07 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-04-27 05:23:07 +0800
commit65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9 (patch)
tree0648e0ce504a559632af430d3494fe2008d104aa /editors/gedit3
parent613b43090f18ebf78cb6ffd8eac82a763a0ce226 (diff)
downloadmarcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.gz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.bz2
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.lz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.xz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.zst
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.zip
Massive port framework maintaince/update (long over due too)
Deal with recent USES changes, pet portlint here and there. Sync with ports, more to come. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18393 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/gedit3')
-rw-r--r--editors/gedit3/Makefile23
-rw-r--r--editors/gedit3/pkg-plist2
2 files changed, 8 insertions, 17 deletions
diff --git a/editors/gedit3/Makefile b/editors/gedit3/Makefile
index ec324e634..b7806e5f9 100644
--- a/editors/gedit3/Makefile
+++ b/editors/gedit3/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: gedit2
-# Date created: 14 May 2002
-# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
-# $MCom$
-#
+# $MCom: ports/trunk/editors/gedit3/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= gedit
PORTVERSION= 3.4.2
@@ -18,9 +14,9 @@ COMMENT= A small but powerful text editor for GNOME 3 Desktop Environment
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas \
itstool:${PORTSDIR}/textproc/itstool
-LIB_DEPENDS= enchant.1:${PORTSDIR}/textproc/enchant \
- peas-gtk-1.0.0:${PORTSDIR}/devel/libpeas \
- soup-2.4.1:${PORTSDIR}/devel/libsoup
+LIB_DEPENDS= enchant:${PORTSDIR}/textproc/enchant \
+ peas-gtk-1.0:${PORTSDIR}/devel/libpeas \
+ soup-2.4:${PORTSDIR}/devel/libsoup
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
@@ -29,13 +25,13 @@ CONFLICTS= gedit-2.[0-9]*
LATEST_LINK= gedit3
USE_XORG= sm
USE_XZ= yes
-USE_GETTEXT= yes
+USES= gettext pathfix desktop-file-utils pkgconfig
USE_PYTHON= yes
INSTALLS_OMF= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomeprefix gnomehack intlhack gtksourceview3 libxml2 \
- desktopfileutils gnomedocutils pygobject3
+USE_GNOME= gnomeprefix intlhack gtksourceview3 libxml2 \
+ gnomedocutils pygobject3
CONFIGURE_ARGS= --disable-updater
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -51,7 +47,4 @@ GLIB_SCHEMAS= org.gnome.gedit.enums.xml \
org.gnome.gedit.plugins.time.enums.xml \
org.gnome.gedit.plugins.time.gschema.xml
-post-install:
- @-update-desktop-database
-
.include <bsd.port.mk>
diff --git a/editors/gedit3/pkg-plist b/editors/gedit3/pkg-plist
index 3a5d10832..eeb3fc96c 100644
--- a/editors/gedit3/pkg-plist
+++ b/editors/gedit3/pkg-plist
@@ -2319,5 +2319,3 @@ share/locale/zh_TW/LC_MESSAGES/gedit.mo
@dirrmtry lib/gedit
@dirrm include/gedit-%%VERSION%%/gedit
@dirrm include/gedit-%%VERSION%%
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true