openbsd-ports/security/amap/Makefile
2010-11-20 17:22:40 +00:00

36 lines
718 B
Makefile

# $OpenBSD: Makefile,v 1.14 2010/11/20 17:22:43 espie Exp $
COMMENT= next generation scanning tool
DISTNAME= amap-5.2
REVISION = 2
CATEGORIES= security
HOMEPAGE= http://thc.org/thc-amap/
# GPL with changes
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://thc.org/releases/ \
${MASTER_SITE_PACKETSTORM:=groups/thc/}
WANTLIB= c crypto ssl pcre
LIB_DEPENDS= devel/pcre
CONFIGURE_STYLE= gnu dest
USE_GROFF = Yes
NO_REGRESS= Yes
MAKE_FLAGS= OPT="${CFLAGS} -I${LOCALBASE}/include"
post-extract:
@${CHMOD} -R u+w ${WRKDIST}
@perl -pi -e "s,\"\.\/\",\"$(LOCALBASE)\/share\/amap\/\"," \
${WRKSRC}/amap-lib.c
.include <bsd.port.mk>