File:  [cvs.NetBSD.org] / pkgsrc / fonts / AnonymousPro / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Tue Aug 1 14:58:57 2017 UTC (7 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Follow some http -> https redirects.

# $NetBSD: Makefile,v 1.7 2017/08/01 14:58:57 wiz Exp $
#

DISTNAME=	AnonymousPro-1.002
CATEGORIES=	fonts
MASTER_SITES=	http://www.marksimonson.com/assets/content/fonts/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.marksimonson.com/fonts/view/anonymous-pro
COMMENT=	Fixed width Sans designed especially for Coders
LICENSE=	ofl-v1.1

WRKSRC=		${WRKDIR}/AnonymousPro-1.002.001
USE_LANGUAGES=	# none

NO_CONFIGURE=	YES
NO_BUILD=	YES

DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}

INSTALLATION_DIRS=	share/fonts/X11/TTF ${DOCSDIR}

FONTDIR=	${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf=	${FONTDIR}

INSTALL_FONTS=	AnonymousProB.ttf \
		AnonymousProBI.ttf \
		AnonymousProI.ttf \
		AnonymousPro.ttf
INSTALL_DOCS=   FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt

post-extract:
	cd ${WRKSRC} && for i in *.ttf; do \
		j=`${ECHO} $$i | sed "s/ //g"`; \
		mv "$$i" "$$j"; done

do-install:
.for fontfile in ${INSTALL_FONTS}
	${INSTALL_DATA} ${WRKSRC}/${fontfile:Q} ${DESTDIR}${FONTDIR}
.endfor
.for docfile in ${INSTALL_DOCS}
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
.endfor

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

CVSweb <webmaster@jp.NetBSD.org>