2022-06-27 17:29:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2022/06/27 15:29:16 fcambus Exp $
|
2015-09-08 23:50:28 +02:00
|
|
|
|
2021-09-14 18:49:01 +02:00
|
|
|
DISTNAME= ansiweather-1.18.0
|
2022-06-18 20:34:59 +02:00
|
|
|
PKGREVISION= 1
|
2015-09-08 23:50:28 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
|
2020-03-30 17:35:09 +02:00
|
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
2015-09-08 23:50:28 +02:00
|
|
|
|
2022-06-27 17:29:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-06-09 08:23:38 +02:00
|
|
|
HOMEPAGE= https://github.com/fcambus/ansiweather/
|
2015-09-08 23:50:28 +02:00
|
|
|
COMMENT= Display current weather conditions in your terminal
|
2016-12-18 19:57:05 +01:00
|
|
|
LICENSE= 2-clause-bsd
|
2015-09-08 23:50:28 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2020-06-16 11:21:57 +02:00
|
|
|
USE_TOOLS+= cut:run date:run grep:run
|
2015-09-08 23:50:28 +02:00
|
|
|
|
|
|
|
DEPENDS+= curl-[0-9]*:../../www/curl
|
|
|
|
DEPENDS+= jq-[0-9]*:../../devel/jq
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
DOCDIR= share/doc/ansiweather
|
|
|
|
EGDIR= share/examples/ansiweather
|
|
|
|
|
2016-12-18 20:17:44 +01:00
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
2015-09-08 23:50:28 +02:00
|
|
|
|
|
|
|
do-install:
|
2020-12-20 13:41:27 +01:00
|
|
|
${RUN}${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${DESTDIR}${PREFIX}/bin
|
2016-12-18 20:17:44 +01:00
|
|
|
.for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh
|
2015-09-08 23:50:28 +02:00
|
|
|
${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
2016-12-18 20:17:44 +01:00
|
|
|
${RUN}${INSTALL_MAN} ${WRKSRC}/ansiweather.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2015-09-08 23:50:28 +02:00
|
|
|
${RUN}${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example \
|
|
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|