summaryrefslogtreecommitdiffstats
path: root/devel/glade3
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 /devel/glade3
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 'devel/glade3')
-rw-r--r--devel/glade3/Makefile23
-rw-r--r--devel/glade3/pkg-plist2
2 files changed, 9 insertions, 16 deletions
diff --git a/devel/glade3/Makefile b/devel/glade3/Makefile
index 2f727f99e..9e1c15635 100644
--- a/devel/glade3/Makefile
+++ b/devel/glade3/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: glade3
-# Date created: Sun May 22 17:22:53 CEST 2005
-# Whom: Koop Mast <kwm@FreeBSD.org>
-#
+# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
-# $MCom$
-#
+# $MCom: ports/trunk/devel/glade3/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= glade3
PORTVERSION= 3.8.2
@@ -21,10 +17,9 @@ LATEST_LINK= glade3
INSTALLS_ICONS= yes
USE_XZ= yes
USE_GMAKE= yes
-USE_GNOME= gtk20 libxml2 gnomeprefix gnomehack \
- gnomedocutils desktopfileutils ltverhack:10
+USE_GNOME= gtk20 libxml2 gnomeprefix gnomedocutils ltverhack:10
WANT_GNOME= yes
-USE_GETTEXT= yes
+USES= gettext pathfix desktop-file-utils pkgconfig
INSTALLS_OMF= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
@@ -33,12 +28,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
DOCSDIR= ${PREFIX}/share/doc/gladeui
-OPTIONS= GNOME "Enable GNOME UI widget support" off \
- PYTHON "Enable python widget support" on
+OPTIONS_DEFINE= GNOME PYTHON
+OPTIONS_DEFAULT=PYTHON
+GNOME_DESC= GNOME UI widget support
.include <bsd.port.options.mk>
-.if defined(WITH_GNOME)
+.if ${PORT_OPTIONS:MGNOME}
USE_GNOME+= libgnomeui
CONFIGURE_ARGS+=--enable-gnome
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gnome
@@ -48,7 +44,7 @@ CONFIGURE_ARGS+=--disable-gnome
PLIST_SUB+= GNOME:="@comment "
.endif
-.if defined(WITH_PYTHON)
+.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
USE_GNOME+= pygtk2
PLIST_SUB+= PYTHON:=""
@@ -60,6 +56,5 @@ PLIST_SUB+= PYTHON:="@comment "
post-install:
${MKDIR} ${PREFIX}/lib/glade3/bindings
- @-update-desktop-database
.include <bsd.port.mk>
diff --git a/devel/glade3/pkg-plist b/devel/glade3/pkg-plist
index f38e05568..c60fa5b37 100644
--- a/devel/glade3/pkg-plist
+++ b/devel/glade3/pkg-plist
@@ -622,8 +622,6 @@ share/omf/glade3/glade3-zh_CN.omf
@dirrm lib/glade3
@dirrm include/libgladeui-1.0/gladeui
@dirrm include/libgladeui-1.0
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrmtry share/applications
@dirrmtry share/locale/zh_HK/LC_MESSAGES
@dirrmtry share/locale/zh_HK