1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/libnss-cache/Makefile
Kevin Bowling 75df7962ec net/libnss-cache: Update to 0.17
Approved by:	krion (mentor)
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D23271
2020-01-19 20:46:59 +00:00

33 lines
836 B
Makefile

# Created by: Kevin Bowling <k@kev009.com>
# $FreeBSD$
PORTNAME= libnss-cache
PORTVERSION= 0.17
DISTVERSIONPREFIX= version/
CATEGORIES= net
MAINTAINER= kbowling@FreeBSD.org
COMMENT= NSS module for directory services using an indexed, local disk cache
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= google
PLIST_FILES= lib/nss_nsscache.so lib/nss_nsscache.so.1
post-patch:
${REINPLACE_CMD} -e 's|PREFIX=$$(DESTDIR)/usr|PREFIX=${STAGEDIR}${PREFIX}|g' \
-e 's|LIBRARY=libnss_cache.so.2.0|LIBRARY=nss_nsscache.so.1|g' \
-e 's|BASE_LIBRARY=libnss_cache.so.2|BASE_LIBRARY=nss_nsscache.so|g' \
-e 's|SONAME=libnss_cache.so.2|SONAME=nss_nsscahe.so.1|g' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nss_nsscache.so.1
.include <bsd.port.mk>