Makefile 740 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.4 2017/06/07 12:24:52 rpointel Exp $
  2. COMMENT = pattern matching swiss knife
  3. DISTNAME = yara-${VERSION}
  4. GH_PROJECT = yara
  5. WANTLIB += c crypto m magic pthread z
  6. SHARED_LIBS += yara 0.0 # 0.0
  7. CONFIGURE_STYLE = gnu
  8. CONFIGURE_ARGS += --with-crypto \
  9. --enable-magic
  10. CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib" \
  11. CFLAGS="-I${LOCALBASE}/include"
  12. pre-patch:
  13. cd ${WRKSRC} && \
  14. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  15. AUTOCONF_VERSION=${AUTOCONF_VERSION} ./bootstrap.sh
  16. BUILD_DEPENDS += devel/libtool \
  17. ${MODGNU_AUTOCONF_DEPENDS} \
  18. ${MODGNU_AUTOMAKE_DEPENDS}
  19. LIB_DEPENDS += devel/libmagic
  20. AUTOCONF_VERSION = 2.69
  21. AUTOMAKE_VERSION = 1.14
  22. .include <bsd.port.mk>