pkgsrc/converters/bdf2psf/Makefile
fcambus 0006d874da bdf2psf: update to 1.205.
Nothing applying to bdf2psf in particular noted in the Changelog.
2021-07-27 10:06:50 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2021/07/27 10:06:50 fcambus Exp $
DISTNAME= console-setup_1.205
PKGNAME= bdf2psf-1.205
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/c/console-setup/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= fcambus@NetBSD.org
HOMEPAGE= https://packages.debian.org/sid/bdf2psf
COMMENT= Convert a BDF font to PSF format for the Linux console
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/console-setup-${PKGVERSION_NOREV}
USE_TOOLS+= perl:run
NO_BUILD= yes
REPLACE_PERL+= Fonts/${PKGBASE}
SHAREDIR= ${PREFIX}/share/${PKGBASE}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${SHAREDIR}/fontsets
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/Fonts/${PKGBASE} ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${PKGBASE}.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/Fonts/*.equivalents ${DESTDIR}${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/Fonts/*.set ${DESTDIR}${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/Fonts/fontsets/* \
${DESTDIR}${SHAREDIR}/fontsets
.include "../../mk/bsd.pkg.mk"