diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-29 05:02:39 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-29 05:02:39 +0800 |
commit | 63cff4fb52ecbe8ce9260e04e0049980d8cb41d5 (patch) | |
tree | 933fd11da647dda8c169bc24693094174bdc0355 /security/pam_bsdbioapi | |
parent | 65f6091f0d07908b50e6042a48cdadec0073a2ac (diff) | |
download | freebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.tar.gz freebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.tar.zst freebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.zip |
Convert security to new options framework
Diffstat (limited to 'security/pam_bsdbioapi')
-rw-r--r-- | security/pam_bsdbioapi/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/security/pam_bsdbioapi/Makefile b/security/pam_bsdbioapi/Makefile index f2013f61c480..840ca6ce8bed 100644 --- a/security/pam_bsdbioapi/Makefile +++ b/security/pam_bsdbioapi/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: pam_bsdbioapi -# Date created: 13 January 2006 -# Whom: Fredrik Lindberg <fli@shapeshifter.se> -# +# Created by: Fredrik Lindberg <fli@shapeshifter.se> # $FreeBSD$ -# PORTNAME= pam_bsdbioapi PORTVERSION= 1.5.1 @@ -21,24 +17,25 @@ MAN8= pam_bsdbioapi.8 MAN3= libbirdb.3 MAN1= bbdm.1 -OPTIONS= FILEDB "Filebacked database backend" on \ - MYSQL "MySQL backend" off \ - PLAIN "Plain ASCII backend" on +OPTIONS_DEFINE= FILEDB MYSQL PLAIN +OPTIONS_DEFAULT= FILEDB PLAIN +FILEDB_DESC= Filebacked database backend +PLAIN_DESC= Plain ASCII backend .include <bsd.port.pre.mk> PLIST_FILES= etc/birdb.conf.sample BACKENDS= -.if defined(WITH_FILEDB) +.if ${PORT_OPTIONS:MFILEDB} BACKENDS+= filedb PLIST_FILES+= share/birdb/birdb_filedb.so .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes BACKENDS+= mysql PLIST_FILES+= share/birdb/birdb_mysql.so .endif -.if defined(WITH_PLAIN) +.if ${PORT_OPTIONS:MPLAIN} BACKENDS+= plain PLIST_FILES+= share/birdb/birdb_plain.so .endif |