aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphite2/Makefile
blob: 41b98ef4ed5bc88078adca1ccebcc603f07b5ce9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

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

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

USES=       cmake
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>