aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pwsafe
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
commit27d44119e7e106f32a4b4b25539a57a35cc68823 (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/pwsafe
parentf3184698839707db08f51b1529956b01b49932cf (diff)
downloadports-27d44119e7e106f32a4b4b25539a57a35cc68823.tar.gz
ports-27d44119e7e106f32a4b4b25539a57a35cc68823.zip
Notes
Diffstat (limited to 'sysutils/pwsafe')
-rw-r--r--sysutils/pwsafe/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/pwsafe/Makefile b/sysutils/pwsafe/Makefile
index 73dd12cf761b..5dbd6cc8cc51 100644
--- a/sysutils/pwsafe/Makefile
+++ b/sysutils/pwsafe/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pwsafe
-# Date created: 29 Mars 2004
-# Whom: donnex
-#
+# Created by: donnex
# $FreeBSD$
-#
PORTNAME= pwsafe
PORTVERSION= 0.2.0
@@ -14,8 +10,8 @@ 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 \
- X11 "Build with X11 libraries" off
+OPTIONS_DEFINE= SETUID X11
+SETUID_DESC= Install setuid pwsafe binary
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -25,7 +21,7 @@ PLIST_FILES= bin/pwsafe
.include <bsd.port.options.mk>
-.if defined(WITH_X11)
+.if ${PORT_OPTIONS:MX11}
CONFIGURE_ARGS= --with-x
USE_XORG= ice sm x11 xmu
.else
@@ -38,7 +34,7 @@ CONFIGURE_ARGS= ac_cv_have_x="have_x=no" \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwsafe ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/pwsafe.1 ${PREFIX}/man/man1/
-.if defined(WITH_SETUID)
+.if ${PORT_OPTIONS:MSETUID}
${CHMOD} u+s ${PREFIX}/bin/pwsafe
.endif