Makefile 995 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.22 2015/06/10 11:05:02 jca Exp $
  2. COMMENT= remote promiscuous mode detection tool
  3. DISTNAME= sentinel-1.0
  4. REVISION = 2
  5. CATEGORIES= security net
  6. HOMEPAGE= http://www.packetfactory.net/projects/sentinel/
  7. PERMIT_PACKAGE_CDROM= no license
  8. PERMIT_PACKAGE_FTP= no license
  9. PERMIT_DISTFILES_FTP= no license
  10. WANTLIB= c pcap pthread lib/libnet-1.0/net=0
  11. MASTER_SITES= http://www.packetfactory.net/projects/sentinel/ \
  12. ${MASTER_SITE_PACKETSTORM:=UNIX/IDS/sentinel/}
  13. LIB_DEPENDS= net/libnet/1.0
  14. WRKDIST= ${WRKDIR}/sentinel
  15. ALL_TARGET= sentinel
  16. MAKE_FLAGS= CC="${CC}" CFLAGS='${CFLAGS} -Wall -I. \
  17. -I${LOCALBASE}/include/libnet-1.0 `libnet-config-1.0 --defines`' \
  18. LIBS="-lnet -L${LOCALBASE}/lib/libnet-1.0 -lpcap -pthread"
  19. NO_TEST= Yes
  20. do-install:
  21. ${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/bin/sentinel
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sentinel
  23. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sentinel
  24. .include <bsd.port.mk>