1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/misc/ansiweather/Makefile
Danilo G. Baio 3ce7c72843 misc/ansiweather: Update to 1.11
Unicode symbols display is now off by default
  Shorten default greeting text: "Current weather" => "Weather"

Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11295
2017-06-22 22:45:03 +00:00

44 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= ansiweather
PORTVERSION= 1.11
CATEGORIES= misc
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Shell script for displaying the current weather in your terminal
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= jq:textproc/jq \
curl:ftp/curl \
bash:shells/bash \
gprintf:sysutils/coreutils
USE_GITHUB= yes
GH_ACCOUNT= fcambus
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/ansiweather.plugin.zsh ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>