summaryrefslogblamecommitdiffstats
path: root/x11-fonts/cantarell-fonts/Makefile
blob: d6aed03cc832aa3d9e1738a25bc43f037c1211b1 (plain) (tree)
































                                                                                                    
# New ports collection makefile for:   cantarell-fonts
# Date Created:         2 Feb 2011
# Whom:             Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   cantarell-fonts
PORTVERSION=    0.0.7
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_BZIP2=  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>