2010-10-18 17:41:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2010/10/18 21:41:45 espie Exp $
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= next generation scanning tool
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2005-09-30 03:47:27 -04:00
|
|
|
DISTNAME= amap-5.2
|
2007-05-19 07:19:50 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2005-05-09 16:35:41 -04:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2007-05-19 07:19:50 -04:00
|
|
|
HOMEPAGE= http://thc.org/thc-amap/
|
2005-05-09 16:35:41 -04:00
|
|
|
|
|
|
|
# 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/ \
|
2005-05-09 16:35:41 -04:00
|
|
|
${MASTER_SITE_PACKETSTORM:=groups/thc/}
|
|
|
|
|
|
|
|
WANTLIB= c crypto ssl
|
|
|
|
|
2006-08-03 19:28:11 -04:00
|
|
|
LIB_DEPENDS= pcre::devel/pcre
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2005-06-20 14:26:11 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
2005-05-09 16:35:41 -04:00
|
|
|
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>
|