aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pwsafe
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-29 04:01:07 +0800
committerbapt <bapt@FreeBSD.org>2013-04-29 04:01:07 +0800
commit839ca29ce3909cfe75f51f01c6bfd6263cca79ac (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/pwsafe
parent7a2d41eb20684123f01fb37f8af0b0c0bdfd1f26 (diff)
downloadfreebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.tar.gz
freebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.tar.zst
freebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.zip
Convert left sysutils ports to new options framework
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