blob: 5d4d7cab4c8281bc403952211008a0b49be2e8a8 (
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
32
33
34
35
36
37
|
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$
PORTNAME= silgraphite
PORTVERSION= 2.3.1
PORTREVISION= 2
CATEGORIES= graphics devel
MASTER_SITES= SF
MAINTAINER= dhn@FreeBSD.org
COMMENT= Font engine for complex non-Roman writing systems
OPTIONS_DEFINE= FREETYPE
OPTIONS_DEFAULT= FREETYPE
USES= libtool pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-xft --without-pangographite
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
USES+= iconv
CONFIGURE_ARGS+= --with-freetype
PLIST_SUB+= WITH_FREETYPE=""
.else
CONFIGURE_ARGS+= --without-freetype
PLIST_SUB+= WITH_FREETYPE="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/engine/Makefile.in
.include <bsd.port.mk>
|