09206cf539
- Add LICENSE_FILE ChangeLog: https://github.com/jarun/googler/releases/tag/v3.2
32 lines
715 B
Makefile
32 lines
715 B
Makefile
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= googler
|
|
PORTVERSION= 3.2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Google Search, Google Site Search, Google News from the terminal
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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>
|