2015-07-06 18:51:06 +02:00
|
|
|
PORTNAME= ansiweather
|
2021-10-03 13:55:56 +02:00
|
|
|
PORTVERSION= 1.18.0
|
2015-07-06 18:51:06 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
|
2017-05-08 19:21:49 +02:00
|
|
|
MAINTAINER= dbaio@FreeBSD.org
|
2015-07-06 18:51:06 +02:00
|
|
|
COMMENT= Shell script for displaying the current weather in your terminal
|
|
|
|
|
2016-07-27 22:01:46 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2015-07-06 18:51:06 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= jq:textproc/jq \
|
|
|
|
curl:ftp/curl \
|
|
|
|
bash:shells/bash \
|
|
|
|
gprintf:sysutils/coreutils
|
2015-07-06 18:51:06 +02:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= fcambus
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2016-07-27 22:01:46 +02:00
|
|
|
NO_ARCH= yes
|
2015-07-06 18:51:06 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
do-install:
|
2017-02-21 11:45:26 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2016-07-27 22:01:46 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${STAGEDIR}${PREFIX}/bin
|
2015-07-06 18:51:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ansiweather.plugin.zsh ${STAGEDIR}${DATADIR}
|
2016-11-09 12:19:20 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2016-07-27 22:01:46 +02:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
2017-02-21 11:45:26 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2015-07-06 18:51:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example ${STAGEDIR}${EXAMPLESDIR}
|
2016-07-27 22:01:46 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2017-02-21 11:45:26 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2018-01-11 15:18:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
|
2015-07-06 18:51:06 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|