freebsd-ports/security/medusa/Makefile

63 lines
1.5 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: medusa
# Date created: 2006-05-01
# Whom: David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#
PORTNAME= medusa
2010-02-17 23:40:42 +01:00
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.foofus.net/jmk/tools/ \
http://redundancy.redundancy.org/mirror/
2007-12-11 21:09:36 +01:00
MAINTAINER= lx@FreeBSD.org
COMMENT= A speedy, massively parallel, modular, login brute-forcer
OPTIONS= SVN "Enable Subversion module" off \
2009-02-10 17:36:55 +01:00
POSTGRESQL "Enable PostgreSQL module" off
2010-02-17 23:40:42 +01:00
LIB_DEPENDS+= ssh2:${PORTSDIR}/security/libssh2 \
pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-module-ncp=no --enable-module-afp=no
MAN1= medusa.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= Does not build on ia64
.endif
.if defined(WITH_SVN)
2007-12-11 21:09:36 +01:00
PLIST_SUB+= SVN=""
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
2007-12-11 21:09:36 +01:00
.else
CONFIGURE_ARGS+= --enable-module-svn=no
2007-12-11 21:09:36 +01:00
PLIST_SUB+= SVN="@comment "
.endif
.if defined(WITH_POSTGRESQL)
2007-12-11 21:09:36 +01:00
PLIST_SUB+= POSTGRESQL=""
USE_PGSQL= yes
2007-12-11 21:09:36 +01:00
CONFIGURE_ARGS+= --enable-module-postgres
.else
2009-02-10 17:36:55 +01:00
CONFIGURE_ARGS+= --enable-module-postgres=no
2007-12-11 21:09:36 +01:00
PLIST_SUB+= POSTGRESQL="@comment "
.endif
2009-02-10 17:36:55 +01:00
post-install:
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa ${PREFIX}/share/zsh/site-functions/_medusa
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>