aboutsummaryrefslogtreecommitdiff
path: root/security/gpass
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /security/gpass
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
downloadports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz
ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip
Notes
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