1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/ddgr/Makefile
Dmitry Marakasov f0ff759b44 www/ddgr: remove unneeded dependency on net/py-urllib3
The port uses builtin urllib module, not urllib3

Reported by:	sunpoet
2021-08-16 16:53:20 +03:00

59 lines
1.5 KiB
Makefile

PORTNAME= ddgr
PORTVERSION= 1.9
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= DuckDuckGo from the terminal
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= jarun
USES= python:3.5+ shebangfix
SHEBANG_FILES= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
PORTDOCS= README.md CHANGELOG
PLIST_FILES= bin/ddgr \
man/man1/ddgr.1.gz
OPTIONS_DEFINE= BASH ZSH FISH DOCS
OPTIONS_DEFAULT=BASH ZSH FISH
BASH_PLIST_FILES= etc/bash_completion.d/ddgr-completion.bash
ZSH_PLIST_FILES= share/zsh/site-functions/_ddgr
FISH_PLIST_FILES= share/fish/completions/ddgr.fish
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ddgr ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ddgr.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
do-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
${INSTALL_DATA} ${WRKSRC}/auto-completion/bash/ddgr-completion.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/
do-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/auto-completion/zsh/_ddgr \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
do-install-FISH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/
${INSTALL_DATA} ${WRKSRC}/auto-completion/fish/ddgr.fish \
${STAGEDIR}${PREFIX}/share/fish/completions/
do-test:
cd ${WRKSRC} && ./ddgr --help >/dev/null 2>&1
.include <bsd.port.mk>