blob: ea2448238e3856ce32312f262c47860b81513df9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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>
|