Makefile 828 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.2 2015/12/21 21:53:15 sthen Exp $
  2. COMMENT= minimalistic C client for Redis
  3. V= 0.13.3
  4. DISTNAME= hiredis-$V
  5. PKGNAME= lib${DISTNAME}
  6. DISTFILES= ${DISTNAME}{v$V}.tar.gz
  7. SHARED_LIBS= hiredis 0.0 # 0.13
  8. CATEGORIES= databases devel
  9. HOMEPAGE= https://github.com/redis/hiredis/
  10. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  11. # BSD
  12. PERMIT_PACKAGE_CDROM= Yes
  13. MASTER_SITES= https://github.com/redis/hiredis/archive/
  14. LIBV= HIREDIS_MAJOR=${LIBhiredis_VERSION:R} \
  15. HIREDIS_MINOR=${LIBhiredis_VERSION:E} \
  16. HIREDIS_SONAME=${LIBhiredis_VERSION}
  17. MAKE_FLAGS= OPTIMIZATION= DEBUG= ${LIBV}
  18. FAKE_FLAGS= INSTALL="cp -r" PREFIX="${TRUEPREFIX}" ${LIBV}
  19. USE_GMAKE= Yes
  20. # needs redis to be running for some tests
  21. TEST_IS_INTERACTIVE= Yes
  22. post-install:
  23. rm -f ${PREFIX}/lib/libhiredis.so
  24. .include <bsd.port.mk>