[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / terminus-font

File: [cvs.NetBSD.org] / pkgsrc / fonts / terminus-font / Makefile (download)

Revision 1.22, Sun Aug 11 13:21:01 2019 UTC (3 months ago) by wiz
Branch: MAIN
Changes since 1.21: +2 -1 lines

Bump PKGREVISIONs for perl 5.30.0

# $NetBSD: Makefile,v 1.22 2019/08/11 13:21:01 wiz Exp $

DISTNAME=		terminus-font-4.47
PKGREVISION=		1
CATEGORIES=		fonts
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=terminus-font/}

MAINTAINER=		j+pkgsrc@salmi.ch
HOMEPAGE=		http://terminus-font.sourceforge.net/
COMMENT=		Clean, fixed-width font
LICENSE=		ofl-v1.1

USE_TOOLS+=		bdftopcf gmake gzip perl
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--x11dir=${PREFIX}/share/fonts/X11/misc

BUILD_TARGET=		pcf
INSTALL_TARGET=		install-pcf

FONTS_DIRS.x11=		${PREFIX}/share/fonts/X11/misc
REQD_DIRS+=		${PREFIX}/share/fonts/X11/misc

PYTHON_FOR_BUILD_ONLY=		yes
PYTHON_VERSIONS_INCOMPATIBLE=	27

USE_LANGUAGES=		# none

MAKE_FLAGS+=	INT=${PYTHONBIN}

EGDIR=		${PREFIX}/share/examples/terminus-font

DOCDIR=		${PREFIX}/share/doc/terminus-font
DOCFILES=	AUTHORS CHANGES OFL.TXT README README-BG

FCCONFDIR=	${PKG_SYSCONFDIR}/fontconfig/conf.d
MAKE_DIRS+=	${FCCONFDIR}

CONF_FILES=	${EGDIR}/75-yes-terminus.conf \
		${FCCONFDIR}/75-yes-terminus.conf

AUTO_MKDIRS=	yes

post-install:
	set -e; cd ${WRKSRC}; \
	${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${DOCDIR}; \
	${INSTALL_DATA} 75-yes-terminus.conf ${DESTDIR}${EGDIR}

.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"