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

File: [cvs.NetBSD.org] / pkgsrc / print / mktexlsr / Makefile (download)

Revision 1.2, Tue May 12 12:12:25 2020 UTC (8 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.1: +3 -3 lines

mktexlsr: Fix PKGMANDIR.

# $NetBSD: Makefile,v 1.2 2020/05/12 12:12:25 jperkin Exp $

DISTNAME=	texlive.infra
PKGNAME=	mktexlsr-2020
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/archive/}
DISTFILES=	${DISTNAME}.r${TEXLIVE_REV}${EXTRACT_SUFX} ${DISTNAME}.doc.r${TEXLIVE_REV}${EXTRACT_SUFX}
EXTRACT_SUFX=	.tar.xz
TEXLIVE_REV=	54630

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.tug.org/texlive/
COMMENT=	Create or rebuild ls-R
LICENSE=	public-domain

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/texmf-dist/scripts/texlive

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Setting paths to commands.
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	mktexlsr
SUBST_SED.paths=	-e 's,kpsewhich,${PREFIX}/bin/kpsewhich,'

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mktexlsr \
		${DESTDIR}${PREFIX}/bin/mktexlsr
	${INSTALL_MAN} ${WRKSRC}/../../doc/man/man1/mktexlsr.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mktexlsr.1

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