summaryrefslogtreecommitdiff
path: root/security/tkpasman/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-05 21:21:55 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-05 21:21:55 +0000
commit1de8ecdae59f41fcd3491f28d87acf3f16bdbcdb (patch)
tree5e42032d233e1dfdc52672047d9aac74d287208a /security/tkpasman/Makefile
parentea1a1bf2a26688df6fe1b88b5860eccd883ba469 (diff)
downloadpkgsrc-1de8ecdae59f41fcd3491f28d87acf3f16bdbcdb.tar.gz
Initial import of tkpasman, version 2.2. Description follows:
TkPasMan is a simple program that lets you store usernames and passwords you collect during access to forums, mailing lists, and other websites. It is inspired in gpasman, but it has more paste possibilities. You can, for example, paste the username at first and then password, using two mouse clicks. Passwords can be stored in a secure file, using OpenSSL to encrypt it. This closes my own PR pkg/18884. Approved by wiz.
Diffstat (limited to 'security/tkpasman/Makefile')
-rw-r--r--security/tkpasman/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/security/tkpasman/Makefile b/security/tkpasman/Makefile
new file mode 100644
index 00000000000..2c430620841
--- /dev/null
+++ b/security/tkpasman/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/05 21:21:55 jmmv Exp $
+#
+
+DISTNAME= TkPasMan-2.2
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= security
+MASTER_SITES= http://www.xs4all.nl/~wbsoft/linux/projects/
+
+MAINTAINER= jmmv@hispabsd.org
+HOMEPAGE= http://www.xs4all.nl/~wbsoft/linux/tkpasman.html
+COMMENT= Username and password manager that uses the Tk toolkit
+
+USE_BUILDLINK2= YES
+
+CONFIG_SUBST= PREFIX="${PREFIX}"
+CONFIG_SUBST+= SHELL="${SH}"
+CONFIG_SUBST+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CONFIG_SUBST_SED= ${CONFIG_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+
+.include "../../mk/bsd.prefs.mk"
+
+# SSL support
+.if defined(TKPASMAN_USE_SSL) && ${TKPASMAN_USE_SSL} == "YES"
+. include "../../security/openssl/buildlink2.mk"
+CONFIG_SUBST+= USE_OPENSSL="true"
+CONFIG_SUBST+= OPENSSL="${BUILDLINK_PREFIX.openssl}/bin/openssl"
+.else
+CONFIG_SUBST+= USE_OPENSSL="false"
+CONFIG_SUBST+= OPENSSL=""
+.endif
+
+ALL_TARGET= tkpasman
+
+post-extract:
+ ${MV} ${WRKSRC}/config ${WRKSRC}/config.in
+
+do-configure:
+ ${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.in > ${WRKSRC}/config
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkpasman ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkpasman
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkpasman
+
+.include "../../x11/tk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"