1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/x11-fonts/libXft/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

34 lines
668 B
Makefile

# $FreeBSD$
PORTNAME= libXft
PORTVERSION= 2.3.2
PORTREVISION= 3
CATEGORIES= x11-fonts
MAINTAINER= gnome@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
XORG_CAT= lib
USE_XORG= 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>