summaryrefslogtreecommitdiff
path: root/fonts/freefonts/Makefile
blob: 168fba8de1dbaebf6af0d61563816e16717c77c9 (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
# $NetBSD: Makefile,v 1.15 2015/07/04 16:18:31 joerg Exp $

DISTNAME=	freefonts-0.10
PKGREVISION=	3
CATEGORIES=	fonts
MASTER_SITES=	${MASTER_SITE_SUNSITE:=X11/fonts/} \
		http://download.gimp.org/pub/gimp/fonts/

MAINTAINER=	reed@reedmedia.net
COMMENT=	Collection of 79 freely available fonts

PKG_DESTDIR_SUPPORT=	destdir

EXTRACT_ONLY=	# empty
NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_TOOLS+=	gzcat tar
FONTS_DIRS.x11=	${PREFIX}/share/fonts/X11/freefont
REQD_DIRS=	${PREFIX}/share/fonts/X11/freefont

INSTALLATION_DIRS=	share/fonts/X11

do-install:
	${GZCAT} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
	    ${TAR} -xf - -C ${DESTDIR}${PREFIX}/share/fonts/X11
	${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/share/fonts/X11/freefont/*
	${CHOWN} ${SHAREOWN}:${SHAREGRP} \
		${DESTDIR}${PREFIX}/share/fonts/X11/freefont/*

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