aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphite2/Makefile
blob: 2576096506d3aca982e72532c2fae72199f15861 (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
# New ports collection makefile for:    graphite2
# Date created:     2012-01-22
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   graphite2
PORTVERSION=    1.1.2
CATEGORIES= graphics print
MASTER_SITES=   SF/silgraphite/${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= office@FreeBSD.org
COMMENT=    Rendering capabilities for complex non-Roman writing systems

USE_CMAKE=  yes
USE_ICONV=  yes
USE_LDCONFIG=   yes
LDFLAGS+=   -L${LOCALBASE}/lib -liconv

post-patch:
    @${REINPLACE_CMD} -e 's,/pkgconfig,data/pkgconfig,g' ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e 's/.$${GRAPHITE_API_REVISION}.$${GRAPHITE_API_AGE}//g' ${WRKSRC}/src/CMakeLists.txt

.include <bsd.port.mk>