mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
8ffa1480ad
- Add NO_ARCH - Fix LICENSE - While here, pet portlint Approved by: portmgr blanket
35 lines
778 B
Makefile
35 lines
778 B
Makefile
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= googler
|
|
PORTVERSION= 3.2
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Google Search, Google Site Search, Google News from the terminal
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python:3.3+ shebangfix
|
|
SHEBANG_FILES= googler
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jarun
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/googler man/man1/googler.1.gz
|
|
|
|
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>
|