summaryrefslogtreecommitdiff
path: root/fonts/liberation-ttf/Makefile
blob: 1387fc22f639ce655db17c6cdefa7c98f4869771 (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.1.1.1 2007/09/16 15:40:05 wiz Exp $
#

DISTNAME=	liberation-fonts-ttf-3
PKGNAME=	liberation-ttf-0.2
CATEGORIES=	fonts
MASTER_SITES=	http://www.redhat.com/f/fonts/

MAINTAINER=	bartosz.kuzma@gmail.com
HOMEPAGE=	http://www.redhat.com/promo/fonts/
COMMENT=	TrueType fonts from RedHat

NO_BUILD=	yes
NO_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV:S/ttf/fonts/}

DOCDIR=		${PREFIX}/share/doc/liberation-ttf
FONTDIR=	${PREFIX}/lib/X11/fonts/TTF
FONTS_DIR.ttf=	${FONTDIR}

INSTALLATION_DIRS=	${DOCDIR} ${FONTDIR}

do-install:
	cd ${WRKSRC} && for f in *.ttf ; do \
		${INSTALL_DATA} $$f ${FONTDIR}/$$f ; \
	done

	${INSTALL_DATA} ${WRKSRC}/COPYING ${WRKSRC}/License.txt ${DOCDIR}

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