aboutsummaryrefslogtreecommitdiff
path: root/security/gtkpasman
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-06-28 13:59:59 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-06-28 13:59:59 +0000
commitbc142dc721f1477c29037da33dd105867e821f74 (patch)
tree41d4d4894e7fad52140b4d7b0282d88f0c8cf87b /security/gtkpasman
parent65d78e0785d678623bf125bc1ec28d65725b9d8e (diff)
downloadports-bc142dc721f1477c29037da33dd105867e821f74.tar.gz
ports-bc142dc721f1477c29037da33dd105867e821f74.zip
- Update to 0.11
- Use gnupg2 - Add -with-gtk2 to CONFIGURE_ARGS since gtkpasman looking for gtk30 by default - Install desktop-file to be able to call gtkpasman from menu - Show pkg-message only when NOPORTDOCS is not defined - Use %%DOCSDIR%% instead of full path in pkg-message - Couple of whitespace fixes in pkg-descr PR: 156862 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=276572
Diffstat (limited to 'security/gtkpasman')
-rw-r--r--security/gtkpasman/Makefile17
-rw-r--r--security/gtkpasman/distinfo5
-rw-r--r--security/gtkpasman/files/pkg-message.in2
-rw-r--r--security/gtkpasman/pkg-descr4
4 files changed, 16 insertions, 12 deletions
diff --git a/security/gtkpasman/Makefile b/security/gtkpasman/Makefile
index e1483bd2b6e0..f3023bf5bfe8 100644
--- a/security/gtkpasman/Makefile
+++ b/security/gtkpasman/Makefile
@@ -6,26 +6,26 @@
#
PORTNAME= gtkpasman
-PORTVERSION= 0.9
-PORTREVISION= 8
+PORTVERSION= 0.11
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-sources/${PORTVERSION}
MAINTAINER= cvs-src@yandex.ru
COMMENT= A GTK+ passwords manager for system and network administrators
-RUN_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1
+RUN_DEPENDS+= gpgv2:${PORTSDIR}/security/gnupg
USE_GMAKE= yes
-USE_GNOME= gtk20
+USE_GNOME= desktopfileutils gtk20
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gtk2
USE_AUTOTOOLS= automake aclocal autoconf
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-DOCS= README src/gpasman4.sample
-PLIST_FILES= bin/gtkpasman
+DOCS= README data/gpasman4.sample
+PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop
ACLOCAL_ARGS?= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
.if !defined(NOPORTDOCS)
@@ -34,12 +34,17 @@ PORTDOCS= README gpasman4.sample
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/data/gtkpasman.desktop \
+ ${PREFIX}/share/applications
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
post-install:
+.if !defined(NOPORTDOCS)
@${CAT} ${PKGMESSAGE}
+.endif
+ @-update-desktop-database
.include <bsd.port.mk>
diff --git a/security/gtkpasman/distinfo b/security/gtkpasman/distinfo
index 483b85609ed7..de7885c10050 100644
--- a/security/gtkpasman/distinfo
+++ b/security/gtkpasman/distinfo
@@ -1,3 +1,2 @@
-MD5 (gtkpasman-0.9.tar.gz) = dbf4f01d80939b397460b25d0b654b36
-SHA256 (gtkpasman-0.9.tar.gz) = 54e3f663eb84a9ab1d681bf9197c011e1df0438b2632dfd5f835247cd254e57a
-SIZE (gtkpasman-0.9.tar.gz) = 123727
+SHA256 (gtkpasman-0.11.tar.gz) = a2514a96ca195f1e0834dea573119e97c48104ef2a6f6fd512ee045bcb03a3a2
+SIZE (gtkpasman-0.11.tar.gz) = 117037
diff --git a/security/gtkpasman/files/pkg-message.in b/security/gtkpasman/files/pkg-message.in
index 1abd72bf9658..7b773d532578 100644
--- a/security/gtkpasman/files/pkg-message.in
+++ b/security/gtkpasman/files/pkg-message.in
@@ -2,7 +2,7 @@
#####################################################################
This port installs a sample password file in the following location:
-%%PREFIX%%/share/doc/gtkpasman/
+%%DOCSDIR%%
You may find this file useful while making your own password file.
Also note that the File->Open function is not implemented yet.
diff --git a/security/gtkpasman/pkg-descr b/security/gtkpasman/pkg-descr
index 7fadcb103c78..02c5bc5a892a 100644
--- a/security/gtkpasman/pkg-descr
+++ b/security/gtkpasman/pkg-descr
@@ -1,8 +1,8 @@
-The purpose of Gtkpasman is to provide system and network administrators a
+The purpose of Gtkpasman is to provide system and network administrators a
convenient tool to manage a passwords knowledge base related to customers,
servers, services... It can help to retrieve passwords, or even connect to
servers (ssh, telnet, ftp).
-Passwords must be kept in a gnupg crypted file. The structure of the file is
+Passwords must be kept in a gnupg crypted file. The structure of the file is
predefined, but very easy to edit and maintain.
WWW: http://gtkpasman.sourceforge.net/