freebsd-ports/security/authforce/Makefile
Sunpoet Po-Chuan Hsieh c401538bea - Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
Submitted by:	sunpoet (myself)
Tested by:	exp-run by linimon
Approved by:	linimon (with portmgr hat)
2012-03-08 08:04:10 +00:00

35 lines
943 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
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/http.c
.include <bsd.port.mk>