freebsd-ports/security/authforce/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

34 lines
879 B
Makefile

# Ports collection makefile for: authforce
# Date created: 08.05.2002
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= authforce
PORTVERSION= 0.9.9
CATEGORIES= security www
MASTER_SITES= http://www.divineinvasion.net/authforce/
MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP authentication brute forcer
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
CONFIGURE_ENV= LIBS="-lintl"
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GETTEXT= yes
INFO= authforce
MAN1= authforce.1
MANCOMPRESSED= yes
post-patch:
@${REINPLACE_CMD} -e '/#include <malloc.h>/d' ${WRKSRC}/src/methods.c ${WRKSRC}/src/misc.c
@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/src/extract.c
@${REINPLACE_CMD} -e '/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in
.include <bsd.port.mk>