freebsd-ports/security/medusa/Makefile
2009-02-10 16:36:55 +00:00

55 lines
1.3 KiB
Makefile

# New ports collection makefile for: medusa
# Date created: 2006-05-01
# Whom: David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#
PORTNAME= medusa
PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= http://www.foofus.net/jmk/tools/ \
http://redundancy.redundancy.org/mirror/
MAINTAINER= lx@FreeBSD.org
COMMENT= A speedy, massively parallel, modular, login brute-forcer
OPTIONS= SVN "Enable Subversion module" off \
POSTGRESQL "Enable PostgreSQL module" off
LIB_DEPENDS+= ssh2:${PORTSDIR}/security/libssh2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-transform= #--disable-module-ncp
MAN1= medusa.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= Does not build on ia64
.endif
.if defined(WITH_SVN)
PLIST_SUB+= SVN=""
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion \
apr-1:${PORTSDIR}/devel/apr
CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
.else
PLIST_SUB+= SVN="@comment "
.endif
.if defined(WITH_POSTGRESQL)
PLIST_SUB+= POSTGRESQL=""
USE_PGSQL= yes
CONFIGURE_ARGS+= --enable-module-postgres
.else
CONFIGURE_ARGS+= --enable-module-postgres=no
PLIST_SUB+= POSTGRESQL="@comment "
.endif
post-install:
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa ${PREFIX}/share/zsh/site-functions/_medusa
.include <bsd.port.post.mk>