aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pwsafe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pwsafe/Makefile')
-rw-r--r--sysutils/pwsafe/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/sysutils/pwsafe/Makefile b/sysutils/pwsafe/Makefile
index 78661fd63912..06faf52a5414 100644
--- a/sysutils/pwsafe/Makefile
+++ b/sysutils/pwsafe/Makefile
@@ -6,18 +6,29 @@
#
PORTNAME= pwsafe
-PORTVERSION= 0.1.6
+PORTVERSION= 0.2.0
CATEGORIES= sysutils
MASTER_SITES= http://nsd.dyndns.org/pwsafe/releases/
MAINTAINER= donnex@donnex.net
COMMENT= Cmdline program that manages encrypted password databases
+OPTIONS= SETUID "Install setuid pwsafe binary" off
+
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GCC= 2.95
MAN1= pwsafe.1
PLIST_FILES= bin/pwsafe
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pwsafe ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/pwsafe.1 ${PREFIX}/man/man1
+.if defined(WITH_SETUID)
+ ${CHMOD} u+s ${PREFIX}/bin/pwsafe
+.endif
+
+.include <bsd.port.post.mk>
+