openbsd-ports/security/amap/Makefile

35 lines
715 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2007/09/15 23:29:57 merdely Exp $
COMMENT= next generation scanning tool
2005-09-30 03:47:27 -04:00
DISTNAME= amap-5.2
2007-05-19 07:19:50 -04:00
PKGNAME= ${DISTNAME}p2
CATEGORIES= security
2007-05-19 07:19:50 -04:00
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
2007-05-19 07:19:50 -04:00
MASTER_SITES= http://thc.org/releases/ \
${MASTER_SITE_PACKETSTORM:=groups/thc/}
WANTLIB= c crypto ssl
2006-08-03 19:28:11 -04:00
LIB_DEPENDS= pcre::devel/pcre
CONFIGURE_STYLE= gnu dest
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>