1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/databases/hiredis/Makefile
Bernhard Froehlich 09081d8286
databases/hiredis: Add CPE information
Approved by:    portmgr (blanket)
2021-09-20 14:27:16 +00:00

31 lines
609 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
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= cpe gmake
USE_LDCONFIG= yes
CPE_VENDOR= redislabs
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>