1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/databases/hiredis/Makefile
Jimmy Olgeni bb6d132a8d Upgrade to version 0.13.3.
The fix from r397044 was merged upstream.
2015-09-16 10:35:30 +00:00

30 lines
594 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= hiredis
PORTVERSION= 0.13.3
DISTVERSIONPREFIX=v
CATEGORIES= databases
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Minimalistic C client library for the Redis database
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= redis
USES= gmake
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} \
-e '/^REAL_/s/ \$$(ARCH)//' \
-e 's|\$$(INSTALL_LIBRARY_PATH)/\$$(PKGCONF_PATH)|\$$(DESTDIR)\$$(PREFIX)/libdata/\$$(PKGCONF_PATH)|' \
${WRKSRC}/Makefile
post-build:
@${STRIP_CMD} ${WRKSRC}/libhiredis.so
.include <bsd.port.mk>