blob: a5f53f3c7195a2e9606a9aae516628a0dce6bb10 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= libsysctlmibinfo2
DISTVERSION= 2.0.1
CATEGORIES= devel
MAINTAINER= alfix86@gmail.com
COMMENT= Sysctl MIB-Tree API (improved version)
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/sysctlinfo.h:sysutils/sysctlinfo-kmod
RUN_DEPENDS= ${KMODDIR}/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod \
${KMODDIR}/sysctlinfo.ko:sysutils/sysctlinfo-kmod
USE_LDCONFIG= yes
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_PROJECT= sysctlmibinfo2
GL_COMMIT= de427a99fc515c22a057998a29c92221e2581592\
PLIST_FILES= include/sysctlmibinfo2.h \
lib/libsysctlmibinfo2.a \
lib/libsysctlmibinfo2.so \
lib/libsysctlmibinfo2.so.2.0.1 \
man/man3/sysctlmibinfo2.3.gz
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
do-install:
${INSTALL_DATA} ${WRKSRC}/sysctlmibinfo2.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libsysctlmibinfo2.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libsysctlmibinfo2.so.2.0.1 ${STAGEDIR}${PREFIX}/lib
${RLN} ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so.2.0.1 ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so
${INSTALL_MAN} ${WRKSRC}/sysctlmibinfo2.3.gz ${STAGEDIR}${MAN3PREFIX}/man/man3
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for e in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${e} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|