Makefile 932 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.15 2015/06/10 11:05:02 jca Exp $
  2. COMMENT= passive network mapping tool
  3. DISTNAME= siphon-v.666
  4. PKGNAME= siphon-0.666
  5. REVISION= 0
  6. CATEGORIES= security net
  7. # BSD-style
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c pcap pthread
  10. # DEAD MASTER_SITES
  11. MASTER_SITES= ${MASTER_SITE_PACKETSTORM:=UNIX/utilities/}
  12. MAKE_FLAGS= CC="${CC}" \
  13. CFLAGS='${CFLAGS} -Wall -I. \
  14. -DSYSCONFDIR="\"${SYSCONFDIR}\""' \
  15. CCFLAGS='-pthread \
  16. -DSYSCONFDIR="\"${SYSCONFDIR}\""'
  17. MAKE_ENV= SYSCONFDIR="${SYSCONFDIR}"
  18. NO_TEST= Yes
  19. do-install:
  20. ${INSTALL_PROGRAM} ${WRKSRC}/siphon ${PREFIX}/bin
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/siphon
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/siphon
  23. ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/siphon
  24. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/siphon
  25. ${INSTALL_DATA} ${WRKSRC}/osprints.conf ${PREFIX}/share/examples/siphon
  26. .include <bsd.port.mk>