diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-05-19 11:13:21 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-05-19 11:13:21 +0300 |
commit | 1a9f65d2ee2f0477945466de7261a5d0eed7cecf (patch) | |
tree | 1edb978daa5abf1f6cab7a12fe7af62b237d9417 /app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild | |
parent | cb614da9f4a21e7f89230fbf78ec447249547c96 (diff) |
[passwordsafe] added passwordsafe
Diffstat (limited to 'app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild')
-rw-r--r-- | app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild b/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild new file mode 100644 index 00000000..901fddc6 --- /dev/null +++ b/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils versionator + +MY_PV=$(get_version_component_range 1-2) +DESCRIPTION="Popular easy-to-use and secure password manager" +HOMEPAGE="http://sourceforge.net/projects/passwordsafe/" +SRC_URI="http://sourceforge.net/projects/passwordsafe/files/Linux-BETA/${MY_PV}/pwsafe-${MY_PV}BETA-src.tgz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=" +x11-libs/wxGTK +dev-libs/xerces-c +x11-libs/libXt +x11-libs/libXtst +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/pwsafe-${MY_PV}BETA" + +src_prepare() { + # Address name collisions with app-misc/pwsafe. + epatch "${FILESDIR}/${PN}-fix-file-collisions.patch" +} + +src_compile() { + # Alas, Password Safe is not an autotools project. + emake release + emake help +} + +src_install() { + # Aarrgghh. Makefile has no install target. Doing it manually. + # This installation info is derived from the suplied Debian package build script. + # Several new names are used to address name collisions with app-misc/pwsafe. + + newbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe ${PN} + insinto /usr/share/pwsafe/xml + doins xml/* + # Debian package build script lists these but currently the makery doesn't seem to make them. + # insinto /usr/share/locale + # doins src/ui/wxWidgets/I18N/mos/* + + dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt} + newman docs/pwsafe.1 ${PN}.1 + + # The upstream Makefile builds this .zip file from html source material for + # use by the package's internal help system. Must prevent Portage from + # applying additional compression. + docompress -x /usr/share/doc/${PN}/help + insinto /usr/share/doc/${PN}/help + doins help/help.zip + + newmenu install/desktop/pwsafe.desktop ${PN}.desktop + newicon install/graphics/pwsafe.png ${PN}.png +} |