blob: 8abbedea6bd0bc3c6877cf47632885e9207f5ef4 (
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
|
PORTNAME= libXft
DISTVERSION= 2.3.5
CATEGORIES= x11-fonts
MAINTAINER= desktop@FreeBSD.org
COMMENT= Client-sided font API for X applications
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
USES= tar:xz xorg xorg-cat:lib
USE_XORG= x11 xorgproto xrender
INSTALL_TARGET= install-strip
post-extract:
@${CP} ${FILESDIR}/xft-config.in \
${WRKSRC}/xft-config.in
post-patch:
@${REINPLACE_CMD} -e '/ac_config_files/s|xft\.pc|xft\.pc xft-config|' \
${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/xft-config \
${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
|