Index: Makefile =================================================================== --- Makefile (revision 505572) +++ Makefile (working copy) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= nsysctl -DISTVERSION= 1.0 +DISTVERSION= 1.1 CATEGORIES= sysutils MAINTAINER= alfix86@gmail.com @@ -15,13 +15,25 @@ USE_GITLAB= yes GL_ACCOUNT= alfix -GL_COMMIT= be430829dd2ba9a69aee02f25d56a196983d96b4 +GL_COMMIT= e251dcf345c37e83d39f6fe93f0af2adf62da282 PLIST_FILES= man/man8/${PORTNAME}.8.gz \ sbin/${PORTNAME} +PORTDOCS= CHANGELOG +PORTEXAMPLES= file.conf +OPTIONS_DEFINE= DOCS EXAMPLES + 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 Index: distinfo =================================================================== --- distinfo (revision 505572) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1559353547 -SHA256 (alfix-nsysctl-be430829dd2ba9a69aee02f25d56a196983d96b4_GL0.tar.gz) = 2b0356cf0e5bf5f60dbef94673f58be46d9beedc8aba1a8bbec09164ee8d5d9a -SIZE (alfix-nsysctl-be430829dd2ba9a69aee02f25d56a196983d96b4_GL0.tar.gz) = 15210 +TIMESTAMP = 1561988369 +SHA256 (alfix-nsysctl-e251dcf345c37e83d39f6fe93f0af2adf62da282_GL0.tar.gz) = 9b940d57dcd953278d2de47dacd32ebe5c218e2f6c904e7cc5e9773697ad0b9f +SIZE (alfix-nsysctl-e251dcf345c37e83d39f6fe93f0af2adf62da282_GL0.tar.gz) = 23996 Index: pkg-descr =================================================================== --- pkg-descr (revision 505572) +++ pkg-descr (working copy) @@ -1,13 +1,10 @@ The nsysctl utility is a sysctl(8) clone to get or set the -kernel state with libxo, libsysctlmibinfo and a lot of options. -Improvements: +kernel state supporting libxo and extra options, features: - * sysctlmibinfo(3) provides a simple API to the sysctl MIB, - * output via libxo(3) in human and machine readable formats, - * isolated code to manage "opaque values", - * some string value is splitted to show structured output, + * new options to show the properties of a state, * output is explicitly indicated by the options, * the options are not mutually exclusive, - * new options to show the properties of a state. + * output via libxo in human and machine readable formats, + * some value is parsed to show structured output. WWW: https://gitlab.com/alfix/nsysctl/