[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / ansiweather

File: [cvs.NetBSD.org] / pkgsrc / misc / ansiweather / Makefile (download)

Revision 1.17, Sat Jun 18 18:11:27 2022 UTC (7 months, 2 weeks ago) by fcambus
Branch: MAIN
Changes since 1.16: +1 -6 lines

ansiweather: remove SUBST directives, they are not run anymore.

They haven't been run since SUBST_STAGE.config was set to pre-configure
in revision 1.8, as NO_CONFIGURE is set to "yes". This accidentally
fixed PR pkg/52026.

# $NetBSD: Makefile,v 1.17 2022/06/18 18:11:27 fcambus Exp $

DISTNAME=	ansiweather-1.18.0
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GITHUB:=fcambus/}
GITHUB_RELEASE=	${PKGVERSION_NOREV}

MAINTAINER=	fcambus@NetBSD.org
HOMEPAGE=	https://github.com/fcambus/ansiweather/
COMMENT=	Display current weather conditions in your terminal
LICENSE=	2-clause-bsd

USE_LANGUAGES=	# none

USE_TOOLS+=	cut:run date:run grep:run

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

CONF_FILES+=	${EGDIR}/ansiweatherrc.example ${PKG_SYSCONFDIR}/ansiweatherrc

AUTO_MKDIRS=		yes
INSTALLATION_DIRS+=	${PKGMANDIR}/man1

do-install:
	${RUN}${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${DESTDIR}${PREFIX}/bin
.for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh
	${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
	${RUN}${INSTALL_MAN} ${WRKSRC}/ansiweather.1 \
	                     ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${RUN}${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example \
	                      ${DESTDIR}${PREFIX}/${EGDIR}

.include "../../mk/bsd.pkg.mk"