blob: d34ef16ae35a3b5183e9c4bb5dba83ba3a4e057f (
plain) (
tree)
|
|
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= googler
PORTVERSION= 2.8
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= nivit@FreeBSD.org
COMMENT= Google Search, Google Site Search, Google News from the terminal
LICENSE= GPLv3
GH_ACCOUNT= jarun
NO_BUILD= yes
PLIST_FILES= bin/googler man/man1/googler.1.gz
USE_GITHUB= yes
USES= python:3.3+
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/
.include <bsd.port.mk>
|