2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2013/03/11 11:41:24 espie Exp $
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2010-12-06 07:08:55 -05:00
|
|
|
COMMENT= application protocol detection tool
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2012-04-09 14:21:18 -04:00
|
|
|
REVISION= 0
|
2012-04-09 11:04:53 -04:00
|
|
|
DISTNAME= amap-5.4
|
2012-04-09 14:21:18 -04:00
|
|
|
CATEGORIES= security
|
2005-05-09 16:35:41 -04:00
|
|
|
|
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
|
2012-10-15 11:18:31 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2010-12-06 07:08:55 -05:00
|
|
|
MASTER_SITES= http://freeworld.thc.org/releases/ \
|
2005-05-09 16:35:41 -04:00
|
|
|
${MASTER_SITE_PACKETSTORM:=groups/thc/}
|
|
|
|
|
2010-11-11 13:34:59 -05:00
|
|
|
WANTLIB= c crypto ssl pcre
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS= devel/pcre
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2011-06-06 20:13:08 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS= --prefix='${PREFIX}'
|
2005-05-09 16:35:41 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2005-05-09 16:35:41 -04:00
|
|
|
MAKE_FLAGS= OPT="${CFLAGS} -I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
post-extract:
|
2011-10-21 12:23:44 -04:00
|
|
|
@chmod -R u+w ${WRKDIST}
|
2012-04-09 14:21:18 -04:00
|
|
|
@perl -pi -e "s,\"\.\/\",\"$(TRUEPREFIX)\/share\/amap\/\"," \
|
2005-05-09 16:35:41 -04:00
|
|
|
${WRKSRC}/amap-lib.c
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|