Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.11 2015/01/22 17:47:51 naddy Exp $
  2. COMMENT= Remote SMTP Server Detection
  3. VERSION= 0.5
  4. DISTNAME= smtpscan-${VERSION}
  5. REVISION = 1
  6. CATEGORIES= security net mail
  7. # GPL2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_PACKETSTORM:=UNIX/scanners/}
  10. RUN_DEPENDS= net/p5-Net-DNS
  11. BUILD_DEPENDS= ${RUN_DEPENDS}
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. PKG_ARCH= *
  15. WRKDIST= ${WRKDIR}/smtpscan
  16. do-install:
  17. @perl -pi -e 's|/usr/local|${TRUEPREFIX}|g' ${WRKSRC}/src/smtpscan
  18. @perl -pi -e 's|\@prefix\@|${TRUEPREFIX}/share|g' \
  19. ${WRKSRC}/docs/man/smtpscan.1
  20. @perl -pi -e 's|\@VERSION\@|${VERSION}|g' ${WRKSRC}/src/smtpscan \
  21. ${WRKSRC}/docs/man/smtpscan.1
  22. ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
  23. ${INSTALL_SCRIPT} ${WRKSRC}/src/smtpscan ${PREFIX}/bin
  24. ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
  25. ${INSTALL_MAN} ${WRKSRC}/docs/man/smtpscan.1 ${PREFIX}/man/man1
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/smtpscan
  27. ${INSTALL_DATA} ${WRKSRC}/src/fingerprints ${PREFIX}/share/smtpscan
  28. ${INSTALL_DATA} ${WRKSRC}/src/tests ${PREFIX}/share/smtpscan
  29. .include <bsd.port.mk>