Makefile 707 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.6 2013/03/11 11:23:50 espie Exp $
  2. COMMENT= generate ScamNailer spear phishing database in ClamAV format
  3. DISTNAME= ClamNailer-1.01
  4. PKGNAME= ${DISTNAME:L}
  5. REVISION= 1
  6. EXTRACT_SUFX= .gz
  7. CATEGORIES= mail security
  8. HOMEPAGE= http://www.scamnailer.info/
  9. # Public Domain
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= http://www.scamnailer.info/files/contrib/
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. RUN_DEPENDS= security/clamav
  15. WRKDIST= ${WRKDIR}
  16. # fix MS-DOS line-endings, output to a file with non-version-dependent name
  17. post-extract:
  18. perl -pi -e 's/\r$$//' < ${WRKSRC}/${DISTNAME} > ${WRKSRC}/clamnailer
  19. do-install:
  20. ${INSTALL_SCRIPT} ${WRKSRC}/clamnailer ${PREFIX}/sbin
  21. .include <bsd.port.mk>