Makefile 643 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.23 2013/04/07 01:07:23 rpe Exp $
  2. COMMENT= application protocol detection tool
  3. REVISION= 0
  4. DISTNAME= amap-5.4
  5. CATEGORIES= security
  6. HOMEPAGE= http://thc.org/thc-amap/
  7. # GPL with changes
  8. PERMIT_PACKAGE_CDROM= No
  9. PERMIT_PACKAGE_FTP= Yes
  10. MASTER_SITES= http://freeworld.thc.org/releases/
  11. WANTLIB= c crypto ssl pcre
  12. LIB_DEPENDS= devel/pcre
  13. CONFIGURE_STYLE= simple
  14. CONFIGURE_ARGS= --prefix='${PREFIX}'
  15. NO_TEST= Yes
  16. MAKE_FLAGS= OPT="${CFLAGS} -I${LOCALBASE}/include"
  17. post-extract:
  18. @chmod -R u+w ${WRKDIST}
  19. @perl -pi -e "s,\"\.\/\",\"$(TRUEPREFIX)\/share\/amap\/\"," \
  20. ${WRKSRC}/amap-lib.c
  21. .include <bsd.port.mk>