summaryrefslogtreecommitdiff
path: root/security/pwsafe/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2005-07-31 01:06:02 +0000
committerwiz <wiz>2005-07-31 01:06:02 +0000
commit2474799395748a4987d262a613e7b12d14e58ce1 (patch)
tree729b65672930346feab773f9f509564f650ff1ef /security/pwsafe/options.mk
parentc570771ff7ace5c1c292f3416da687a59e52d4bf (diff)
downloadpkgsrc-2474799395748a4987d262a613e7b12d14e58ce1.tar.gz
Initial import of pwsafe-0.1.6 from pkgsrc-wip, packaged by
Mike M. Volokhov. pwsafe is a unix commandline program that manages encrypted password databases. There are few features listed: * Pure command-line operation if desired (good for remote access over ssh). * Can interact with X11 selection & clipboard. * Portable, endianess-clean, misaligned-access-free C++. * Compatible with CounterPane's PasswordSafe Win32 program versions 1.9.x. * Funny comments included in source code.
Diffstat (limited to 'security/pwsafe/options.mk')
-rw-r--r--security/pwsafe/options.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/pwsafe/options.mk b/security/pwsafe/options.mk
new file mode 100644
index 00000000000..03a3a264f4e
--- /dev/null
+++ b/security/pwsafe/options.mk
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pwsafe
+PKG_SUPPORTED_OPTIONS= readline x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+CONFIGURE_ARGS+= --with-readline
+. if ${OPSYS} == "NetBSD"
+# The NetBSD readline implementation isn't GNU compatible
+USE_GNU_READLINE= yes
+. endif
+. include "../../devel/readline/buildlink3.mk"
+. include "../../devel/ncurses/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-readline
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+= --with-x
+.include "../../mk/x11.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-x
+.endif