blob: 69e2966cb1f57274bac1a1ab92dc59ecfab88313 (
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
32
33
34
35
36
37
38
39
|
PORTNAME= sysctlbyname-improved-kmod
DISTVERSION= 20210223
CATEGORIES= sysutils
MAINTAINER= alfix86@gmail.com
COMMENT= Internal sysctl object to implement an improved sysctlbyname(3)
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= kmod
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_PROJECT= sysctlbyname-improved
GL_COMMIT= 1d6119756931d05cc2526308c941c979e475d3a7
PLIST_FILES= ${KMODDIR}/sysctlbyname_improved.ko
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
.include <bsd.port.pre.mk>
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD
.endif
do-install:
${INSTALL_KLD} ${WRKSRC}/sysctlbyname_improved.ko ${STAGEDIR}${KMODDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for e in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${e} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.post.mk>
|