aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glade2
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-05-02 04:17:33 +0800
committermezz <mezz@FreeBSD.org>2006-05-02 04:17:33 +0800
commit28f2b933d645e2108a83cbb8ec2af0ee2b20e3e6 (patch)
treee0dbbfd02572c5076bd671c76e0bd21da5e219d4 /devel/glade2
parent296c78b65c5a99d6b823b7c8ad7e9ac4d223c03e (diff)
downloadfreebsd-ports-gnome-28f2b933d645e2108a83cbb8ec2af0ee2b20e3e6.tar.gz
freebsd-ports-gnome-28f2b933d645e2108a83cbb8ec2af0ee2b20e3e6.tar.zst
freebsd-ports-gnome-28f2b933d645e2108a83cbb8ec2af0ee2b20e3e6.zip
-Add WITHOUT_GNOME knob (OPTIONS). [1]
-Use libgailgnome in USE_GNOME instead RUN_DEPENDS line. -Add desktopfileutils, bump the PORTREVISION. PR: ports/96123 [1] Submitted by: Alexander Botero-Lowry <alex@foxybanana.com> [1]
Diffstat (limited to 'devel/glade2')
-rw-r--r--devel/glade2/Makefile17
-rw-r--r--devel/glade2/pkg-plist2
2 files changed, 15 insertions, 4 deletions
diff --git a/devel/glade2/Makefile b/devel/glade2/Makefile
index 54cc6ad2080b..98efd48a2d62 100644
--- a/devel/glade2/Makefile
+++ b/devel/glade2/Makefile
@@ -8,7 +8,7 @@
PORTNAME= glade
PORTVERSION= 2.12.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@@ -18,22 +18,31 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A user interface builder for GTK+/GNOME
-RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/modules/libgail-gnome.so:${PORTSDIR}/x11-toolkits/libgail-gnome
+BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
USE_BZIP2= yes
USE_GETTEXT= yes
USE_X_PREFIX= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui
+USE_GNOME= gnomeprefix intlhack gnomehack gtk20 desktopfileutils
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-#OPTIONS= GNOMEDB "Enable libgnomedb support" off
+OPTIONS= GNOME "Enable gnome support" on #\
+# GNOMEDB "Enable libgnomedb support" off
.include <bsd.port.pre.mk>
+.if defined(WITHOUT_GNOME)
+CONFIGURE_ARGS+= --disable-gnome
+.else
+USE_GNOME+= libgailgnome libgnomeui
+CONFIGURE_ARGS+= --enable-gnome
+.endif
+
#.if defined(WITH_GNOMEDB)
#USE_GNOME+= libgnomedb
#CONFIGURE_ARGS+= --enable-gnome-db
diff --git a/devel/glade2/pkg-plist b/devel/glade2/pkg-plist
index 86b3a933b548..c4c9ad6ee8af 100644
--- a/devel/glade2/pkg-plist
+++ b/devel/glade2/pkg-plist
@@ -83,3 +83,5 @@ share/locale/zh_TW/LC_MESSAGES/glade-2.0.mo
@dirrm share/gnome/help/glade-2
@dirrm share/gnome/glade-2/gtk
@dirrm share/gnome/glade-2
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true