mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
41 lines
930 B
Makefile
41 lines
930 B
Makefile
PORTNAME= sysctlbyname-improved-kmod
|
|
DISTVERSION= 20221211
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= alfix86@gmail.com
|
|
COMMENT= Internal sysctl object to implement an improved sysctlbyname(3)
|
|
WWW= https://gitlab.com/alfix/sysctlbyname-improved/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= kmod
|
|
USE_GITLAB= yes
|
|
GL_ACCOUNT= alfix
|
|
GL_PROJECT= sysctlbyname-improved
|
|
GL_TAGNAME= 22bdff50867ff927edd098091608e871503291b6
|
|
|
|
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>
|