aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libnvpair/Makefile
blob: fe17b6201b41420de068677a987fdc60acd538a8 (plain) (blame)
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
30
31
# 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

ONLY_FOR_ARCHS= amd64 i386

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>