File:  [cvs.NetBSD.org] / pkgsrc / textproc / translate-shell / Makefile
Revision 1.21: download - view: text, annotated - select for diffs
Fri May 22 10:56:43 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
revbump after updating security/nettle

# $NetBSD: Makefile,v 1.21 2020/05/22 10:56:43 adam Exp $

DISTNAME=	translate-shell-0.9.6.12
PKGREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=soimort/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	leot@NetBSD.org
HOMEPAGE=	https://www.soimort.org/translate-shell/
COMMENT=	Command-line translator
LICENSE=	unlicense

USE_LANGUAGES=	# none
USE_TOOLS+=	bash:run gawk:run

DEPENDS+=	rlwrap-[0-9]*:../../misc/rlwrap

SUBST_CLASSES+=		shebang
SUBST_FILES.shebang=	build/trans
SUBST_SED.shebang=	-e 's,/usr/bin/env bash,${BASH},'
SUBST_STAGE.shebang=	post-build

BUILD_TARGET=		build

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/build/trans ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/man/trans.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../audio/mpg123/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>