openbsd-ports/security/amap/Makefile

39 lines
819 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2011/10/21 16:23:45 espie Exp $
COMMENT= application protocol detection tool
2005-09-30 03:47:27 -04:00
DISTNAME= amap-5.2
REVISION= 4
CATEGORIES= security
MAINTAINER= Stephan A. Rickauer <stephan@openbsd.org>
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
MASTER_SITES= http://freeworld.thc.org/releases/ \
${MASTER_SITE_PACKETSTORM:=groups/thc/}
2010-11-11 13:34:59 -05:00
WANTLIB= c crypto ssl pcre
2010-11-20 12:22:40 -05:00
LIB_DEPENDS= devel/pcre
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix='${PREFIX}'
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>