aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpass
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
committermarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
commit0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch)
tree17937489af4c767844fc63b684ae3e7b31948812 /security/gpass
parente959473966b963953d63d5f00fae8751f2decf0f (diff)
downloadfreebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.zst
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
Diffstat (limited to 'security/gpass')
-rw-r--r--security/gpass/Makefile15
-rw-r--r--security/gpass/pkg-plist19
2 files changed, 21 insertions, 13 deletions
diff --git a/security/gpass/Makefile b/security/gpass/Makefile
index a76dde347d67..ada98217f6a8 100644
--- a/security/gpass/Makefile
+++ b/security/gpass/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gpass
PORTVERSION= 0.5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security gnome
MASTER_SITES= http://projects.netlab.jp/gpass/release/
@@ -17,14 +17,14 @@ COMMENT= A password manager for GNOME2
LIB_DEPENDS= mcrypt:${PORTSDIR}/security/mcrypt \
mhash:${PORTSDIR}/security/mhash
-USE_X_PREFIX= yes
+USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
USE_GMAKE= yes
-MAN1= gpass.1 gpass.ja.1 gpass-convert.1 gpass-convert.ja.1
+MAN1= gpass.1 gpass.ja.1 gpass-convert.1 gpass-convert.ja.1
-USE_GNOME= gtk20 libgnomeui intltool libglade2
+USE_GNOME= gnomehack gnomeprefix gtk20 libgnomeui intltool libglade2
GCONF_SCHEMAS= gpass.schemas
.include <bsd.port.pre.mk>
@@ -33,4 +33,11 @@ GCONF_SCHEMAS= gpass.schemas
BROKEN= Does not compile
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|{packageprefix}/share|{datadir}|g' \
+ ${WRKSRC}/configure
+
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.post.mk>
diff --git a/security/gpass/pkg-plist b/security/gpass/pkg-plist
index 6bcc03316d17..9910308dc5b2 100644
--- a/security/gpass/pkg-plist
+++ b/security/gpass/pkg-plist
@@ -1,16 +1,17 @@
bin/gpass
bin/gpass-convert
-share/applications/gpass.desktop
-%%DATADIR%%/welcome.glade
-%%DATADIR%%/intergradation.glade
-%%DATADIR%%/authentication.glade
-%%DATADIR%%/window.glade
+share/gnome/applications/gpass.desktop
+share/gnome/pixmaps/gpass-icon.png
%%DATADIR%%/attribute-editor.glade
-%%DATADIR%%/confirm-quit.glade
+%%DATADIR%%/authentication.glade
%%DATADIR%%/change-master-password.glade
+%%DATADIR%%/confirm-quit.glade
+%%DATADIR%%/intergradation.glade
+%%DATADIR%%/lock.glade
%%DATADIR%%/password-generator.glade
%%DATADIR%%/preferences.glade
-%%DATADIR%%/lock.glade
-share/pixmaps/gpass-icon.png
-@dirrmtry share/applications
+%%DATADIR%%/welcome.glade
+%%DATADIR%%/window.glade
@dirrm %%DATADIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true