summaryrefslogtreecommitdiff
path: root/fonts/courier-prime/Makefile
blob: c0e2b943006a535d57520d63299e1c3ea73485c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.4 2017/08/01 14:58:58 wiz Exp $
#

DISTNAME=	courier-prime
# version number comes from include readme.
PKGNAME=	${DISTNAME}-1.203
PKGREVISION=	1
CATEGORIES=	fonts
MASTER_SITES=	http://quoteunquoteapps.com/downloads/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://quoteunquoteapps.com/courierprime/
COMMENT=	Fixed-width font designed for screenplays
LICENSE=	ofl-v1.1

DIST_SUBDIR=	${PKGNAME_NOREV}

USE_LANGUAGES=	# none

FONTS_DIRS.ttf=	${PREFIX}/share/fonts/X11/TTF
INSTALLATION_DIRS=	${FONTS_DIRS.ttf}
INSTALLATION_DIRS+=	share/doc/courier-prime

post-extract:
	cd ${WRKDIR} && mv "Courier Prime" ${DISTNAME}

do-configure:
do-build:
do-install:
	${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${FONTS_DIRS.ttf}
	${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/share/doc/courier-prime

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