pkgsrc/pkgtools/texlive2pkg/Makefile
markd dd04bea0db texlive2pkg: update to 1.4
more license mappings
2019-02-02 01:55:52 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2019/02/02 01:55:52 markd Exp $
#
PKGNAME= texlive2pkg-1.4
CATEGORIES= pkgtools
MAINTAINER= markd@NetBSD.org
HOMEPAGE= # none
COMMENT= Tool to automate initial steps in building a texlive package
LICENSE= modified-bsd
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_LANGUAGES= # none
USE_TOOLS+= perl:run xzcat:run
AUTO_MKDIRS= yes
SUBST_CLASSES+= tools
SUBST_STAGE.tools= pre-configure
SUBST_MESSAGE.tools= Substituting tool locations.
SUBST_FILES.tools= texlive2pkg.sh
SUBST_VARS.tools= DISTDIR MAKE PREFIX
REPLACE_PERL+= texlive.pkg texlive.pkg.doc
INSTALLATION_DIRS+= bin libexec/texlive2pkg ${PKGMANDIR}/man8
do-extract:
${CP} ${FILESDIR}/texlive2pkg.sh ${WRKSRC}
${CP} ${FILESDIR}/texlive2pkg.8 ${WRKSRC}
${CP} ${FILESDIR}/texlive.pkg* ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/texlive2pkg.sh ${DESTDIR}${PREFIX}/bin/texlive2pkg
${INSTALL_SCRIPT} ${WRKSRC}/texlive.pkg ${DESTDIR}${PREFIX}/libexec/texlive2pkg/texlive.pkg
${INSTALL_SCRIPT} ${WRKSRC}/texlive.pkg.doc ${DESTDIR}${PREFIX}/libexec/texlive2pkg/texlive.pkg.doc
${INSTALL_MAN} ${WRKSRC}/texlive2pkg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/texlive2pkg.8
.include "../../mk/bsd.pkg.mk"