| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 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/www/googler/ |
Upload File : |
PORTNAME= googler
PORTVERSION= 4.3.2
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= nivit@FreeBSD.org
COMMENT= Google Search, Google Site Search, Google News from the terminal
WWW= https://github.com/jarun/googler
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.5+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= jarun
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/googler man/man1/googler.1.gz
SHEBANG_FILES= googler
post-patch:
@${SED} -i.bak 's/^\(ENABLE_SELF_UPGRADE_MECHANISM = \)True$$/\1False/' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${MANPREFIX}/man/man1/
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests
.include <bsd.port.mk>