Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.14 2015/12/08 15:21:53 sthen Exp $
  2. COMMENT = fetch and update unofficial signatures for ClamAV
  3. V = 4.9.2
  4. REVISION = 1
  5. DISTNAME = clamav-unofficial-sigs-$V
  6. DISTFILES = ${DISTNAME}{$V}.tar.gz
  7. CATEGORIES = security mail
  8. MAINTAINER = Stuart Henderson <sthen@openbsd.org>
  9. HOMEPAGE = https://github.com/extremeshok/clamav-unofficial-sigs
  10. # BSD
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MASTER_SITES = https://github.com/extremeshok/clamav-unofficial-sigs/archive/
  13. RUN_DEPENDS = net/curl \
  14. net/rsync \
  15. security/clamav \
  16. security/gnupg \
  17. shells/bash
  18. NO_BUILD = Yes
  19. NO_TEST = Yes
  20. PKG_ARCH = *
  21. do-configure:
  22. ${SUBST_CMD} ${WRKSRC}/clamav-unofficial-sigs.conf
  23. sed -i -e 's,/etc,${SYSCONFDIR},' -e \
  24. 's,/usr/local/bin,${LOCALBASE}/bin,' \
  25. ${WRKSRC}/clamav-unofficial-sigs.sh
  26. do-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/clamav-unofficial-sigs
  28. cd ${WRKSRC}; \
  29. ${INSTALL_SCRIPT} clamav-unofficial-sigs.sh ${PREFIX}/bin; \
  30. ${INSTALL_DATA} clamav-unofficial-sigs.conf \
  31. ${PREFIX}/share/examples/clamav-unofficial-sigs; \
  32. ${INSTALL_MAN} clamav-unofficial-sigs.8 ${PREFIX}/man/man8
  33. .include <bsd.port.mk>