Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.11 2015/01/21 06:23:35 bentley Exp $
  2. COMMENT= port scan detection and active defense
  3. DISTNAME= portsentry-1.2
  4. CATEGORIES= security
  5. REVISION = 0
  6. # Common Public License
  7. PERMIT_PACKAGE_CDROM= commercial distribution defend and indemnify clauses
  8. PERMIT_PACKAGE_FTP= Yes
  9. WANTLIB= c
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
  11. WRKDIST= ${WRKDIR}/portsentry_beta
  12. ALL_TARGET= openbsd
  13. MAKE_FLAGS= CFLAGS="${CFLAGS}"
  14. DOCS= README.install README.methods README.stealth
  15. pre-build:
  16. @perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
  17. ${WRKSRC}/portsentry.conf
  18. @perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
  19. ${WRKSRC}/portsentry_config.h
  20. do-install:
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/portsentry
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
  23. ${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
  24. ${INSTALL_DATA} ${WRKSRC}/portsentry.conf \
  25. ${PREFIX}/share/examples/portsentry/
  26. ${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \
  27. ${PREFIX}/share/examples/portsentry/
  28. .for i in ${DOCS}
  29. ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/portsentry/
  30. .endfor
  31. NO_TEST= Yes
  32. .include <bsd.port.mk>