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
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
PORTNAME= nsysctl
|
|
DISTVERSION= 2.1.2
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= alfix86@gmail.com
|
|
COMMENT= Utility to get and set kernel state at runtime
|
|
WWW= https://gitlab.com/alfix/nsysctl/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libsysctlmibinfo2.so:devel/libsysctlmibinfo2
|
|
|
|
USE_GITLAB= yes
|
|
|
|
GL_ACCOUNT= alfix
|
|
GL_TAGNAME= 5d92b5a19300c56a95db0012c659f64f36fb1bce
|
|
|
|
PLIST_FILES= man/man8/${PORTNAME}.8.gz \
|
|
sbin/${PORTNAME}
|
|
PORTDOCS= CHANGELOG
|
|
PORTEXAMPLES= file.conf
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} != FreeBSD
|
|
IGNORE= not supported on anything but FreeBSD
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.post.mk>
|