summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-11 10:36:15 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-11 10:36:15 +0800
commit0752ea856814d9b2fd5152d3e97ff86150ca1d7b (patch)
treea752d1fb0abd2cf1c116dec5f2a41ee93a0badab /ports-mgmt
parent6814146d8477fc412c1e789ec782ee469babc1b5 (diff)
downloadmarcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar.gz
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar.bz2
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar.lz
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar.xz
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.tar.zst
marcuscom-ports-0752ea856814d9b2fd5152d3e97ff86150ca1d7b.zip
Add desktop MIME support, and do some more plist cleanups.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13429 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/gnome-packagekit/Makefile10
-rw-r--r--ports-mgmt/gnome-packagekit/pkg-plist4
2 files changed, 11 insertions, 3 deletions
diff --git a/ports-mgmt/gnome-packagekit/Makefile b/ports-mgmt/gnome-packagekit/Makefile
index bd2f3aff3..7b3b7794a 100644
--- a/ports-mgmt/gnome-packagekit/Makefile
+++ b/ports-mgmt/gnome-packagekit/Makefile
@@ -3,11 +3,11 @@
# Whom: Anders F Bjorklund <afb@users.sourceforge.net>
#
# $FreeBSD$
-# $MCom: ports/ports-mgmt/gnome-packagekit/Makefile,v 1.7 2010/01/10 21:11:40 marcus Exp $
+# $MCom: ports/ports-mgmt/gnome-packagekit/Makefile,v 1.8 2010/01/11 01:12:08 marcus Exp $
PORTNAME= gnome-packagekit
PORTVERSION= 2.29.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= ports-mgmt sysutils gnome
MASTER_SITES= GNOME
@@ -24,7 +24,8 @@ LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
USE_GMAKE= yes
USE_BZIP2= yes
-USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomemenus gnomedocutils
+USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomemenus gnomedocutils \
+ desktopfileutils
USE_GETTEXT= yes
USE_ICONV= yes
USE_PYTHON_BUILD=2.4+
@@ -44,4 +45,7 @@ pre-configure:
@${REINPLACE_CMD} -E -e 's/.*CPPFLAGS.*-Werror/#$$&/' \
-e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/ports-mgmt/gnome-packagekit/pkg-plist b/ports-mgmt/gnome-packagekit/pkg-plist
index 84db377c8..a62f195b1 100644
--- a/ports-mgmt/gnome-packagekit/pkg-plist
+++ b/ports-mgmt/gnome-packagekit/pkg-plist
@@ -467,6 +467,7 @@ share/omf/gnome-packagekit/gnome-packagekit-zh_CN.omf
@dirrm share/gnome/help/gnome-packagekit/de
@dirrm share/gnome/help/gnome-packagekit/C/figures
@dirrm share/gnome/help/gnome-packagekit/C
+@dirrm share/gnome/help/gnome-packagekit
@dirrm share/gnome-packagekit/icons/hicolor/scalable/status
@dirrm share/gnome-packagekit/icons/hicolor/scalable/actions
@dirrm share/gnome-packagekit/icons/hicolor/scalable
@@ -489,4 +490,7 @@ share/omf/gnome-packagekit/gnome-packagekit-zh_CN.omf
@dirrm share/gnome-packagekit/icons/hicolor
@dirrm share/gnome-packagekit/icons
@dirrm share/gnome-packagekit
+@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrm %%PYTHON_SITELIBDIR%%/packagekit