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/medusa | |
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/medusa')
-rw-r--r-- | security/medusa/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/security/medusa/Makefile b/security/medusa/Makefile index dcd70c03a9a6..d598e8769288 100644 --- a/security/medusa/Makefile +++ b/security/medusa/Makefile @@ -1,6 +1,5 @@ # Created by: David Thiel <lx@redundancy.redundancy.org> # $FreeBSD$ -# PORTNAME= medusa PORTVERSION= 2.1 @@ -12,8 +11,7 @@ MASTER_SITES= http://www.foofus.net/~jmk/tools/ \ MAINTAINER= lx@FreeBSD.org COMMENT= Speedy, massively parallel, modular, login brute-forcer -OPTIONS= SVN "Enable Subversion module" off \ - POSTGRESQL "Enable PostgreSQL module" off +OPTIONS_DEFINE= SVN PGSQL DOCS LIB_DEPENDS+= ssh2:${PORTSDIR}/security/libssh2 \ pcre:${PORTSDIR}/devel/pcre @@ -29,7 +27,7 @@ MAN1= medusa.1 BROKEN= Does not build on ia64 .endif -.if defined(WITH_SVN) +.if ${PORT_OPTIONS:MSVN} PLIST_SUB+= SVN="" LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1 @@ -38,7 +36,7 @@ CONFIGURE_ARGS+= --enable-module-svn=no PLIST_SUB+= SVN="@comment " .endif -.if defined(WITH_POSTGRESQL) +.if ${PORT_OPTIONS:MPGSQL} PLIST_SUB+= POSTGRESQL="" USE_PGSQL= yes CONFIGURE_ARGS+= --enable-module-postgres @@ -51,7 +49,7 @@ post-install: ${MKDIR} ${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa ${PREFIX}/share/zsh/site-functions/_medusa -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} .endif |