aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/cantarell-fonts/Makefile
blob: 10bd7cb8d48e86f61d82028d8931300955caa2d6 (plain) (blame)
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
# New ports collection makefile for:   cantarell-fonts
# Date Created:			2 Feb 2011
# Whom:				Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	cantarell-fonts
PORTVERSION=	0.0.8
CATEGORIES=	x11-fonts gnome
MASTER_SITES=	GNOME

MAINTAINER=	kwm@FreeBSD.org
COMMENT=	Cantarell, a Humanist sans-serif font family

LIB_DEPENDS=	fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig

USE_GNOME=	pkgconfig
USE_XZ=		yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
FONTSDIR=	share/fonts/cantarell
PLIST_SUB=	FONTSDIR=${FONTSDIR}

post-patch:
	@${REINPLACE_CMD} -e 's|(datadir)/fontconfig/conf.avail/|(prefix)/etc/fonts/conf.avail/|g' \
		${WRKSRC}/fontconfig/Makefile.in

post-install:
	@${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}

.include <bsd.port.mk>