| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/getoptions/ |
Upload File : |
PORTNAME= getoptions
PORTVERSION= 3.3.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= bofh@FreeBSD.org
COMMENT= Elegant option parser for shell scripts
WWW= https://github.com/ko1nksm/getoptions/
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= ko1nksm
PORTDOCS= *
PORTEXAMPLES= *
TESTS_EXAMPLES= advanced.sh basic.sh bench.sh example.sh \
parser_definition.sh prehook.sh subcmd.sh
PLIST_FILES= bin/getoptions \
bin/gengetoptions
OPTIONS_DEFINE= DOCS EXAMPLES
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
NO_ARCH= yes
do-build:
cd ${WRKSRC} && ${MAKE} build
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README.md CHANGELOG.md \
docs/References.md docs/Workarounds.md \
${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for e in ${TESTS_EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${e} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>