freebsd-ports/databases/libnvpair/Makefile
Dmitry Marakasov ce52368305 - Add USES=uidfix to fix staging as non-root
- Add USE_LDCONFIG as the port installs shared library

Approved by:	marino (maintainer)
2015-10-12 18:55:26 +00:00

29 lines
563 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= libnvpair
PORTVERSION= 2.0
CATEGORIES= databases devel
MAINTAINER= marino@FreeBSD.org
COMMENT= Illumos name-value pair library
LICENSE= CDDL
GH_ACCOUNT= jrmarino
USE_GITHUB= yes
USES= uidfix
MAKE_ARGS= LIBDIR=${PREFIX}/lib
PLIST_FILES= include/libnvpair.h \
include/nvpair.h \
lib/libnvpair.a \
lib/libnvpair.so \
lib/libnvpair.so.3
USE_LDCONFIG= yes
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} libnvpair.h nvpair.h \
${STAGEDIR}${PREFIX}/include/)
.include <bsd.port.mk>