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

File: [cvs.NetBSD.org] / pkgsrc / net / nanotodon / Makefile (download)

Revision 1.12, Wed Oct 26 10:31:50 2022 UTC (3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.11: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.12 2022/10/26 10:31:50 wiz Exp $

GITHUB_TAG=	0.2.0
DISTNAME=	nanotodon-${GITHUB_TAG}
#PKGREVISION=	0
PKGREVISION=	4
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=taka-tuos/}

MAINTAINER=	tsutsui@NetBSD.org
HOMEPAGE=	https://github.com/taka-tuos/nanotodon
COMMENT=	CUI/C99 mastodon client
LICENSE=	mit

USE_LANGUAGES=	c99

INSTALLATION_DIRS+=	bin share/doc/nanotodon

BUILD_TARGET=		default
MAKE_FILE=		Makefile.bsd

SUBST_CLASSES+=		prefix
SUBST_MESSAGE.prefix=	Fixing hardcoded paths and link options in Makefiles.
SUBST_STAGE.prefix=	pre-configure
SUBST_FILES.prefix=	Makefile.bsd
SUBST_SED.prefix+=	-e 's|/usr/pkg/|${PREFIX}/|g'

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nanotodon ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/README.md \
	    ${DESTDIR}${PREFIX}/share/doc/nanotodon

.include "../../devel/ncursesw/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"