summaryrefslogtreecommitdiff
path: root/fonts/freefonts/Makefile
blob: fb98062928b26c3c6f39e4ac5ec54310469bdff3 (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
# $NetBSD: Makefile,v 1.14 2014/08/19 10:42:55 wiz 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_X11BASE=	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"