Skip to content
Permalink
Browse files

Submitted by: olegb@

Reviewed by:
Approved by:
Obtained from:
Port:			Xft2
Version:		2.1.2

Add Ole's env update for pkg-config to use DP's and the system's pkgconfig
database; a couple neatness fixes.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4589 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blb committed Jan 12, 2004
1 parent 9809ff5 commit ca8718edb111ee9854fad7953d3801f0398d2dc5
Showing with 24 additions and 22 deletions.
  1. +24 −22 x11/Xft2/Portfile
@@ -1,39 +1,41 @@
# $Id: Portfile,v 1.5 2003/10/22 15:13:38 fkr Exp $
# $Id: Portfile,v 1.6 2004/01/12 00:35:09 blb Exp $

PortSystem 1.0
name Xft2
version 2.1.2
revision 2
categories x11
maintainers blb@pobox.com
description X FreeType library
PortSystem 1.0
name Xft2
version 2.1.2
revision 2
categories x11
maintainers blb@pobox.com
description X FreeType library

long_description \
Xft is a library that connects X applications with the FreeType font \
rasterization library. Xft uses fontconfig to locate fonts so it has no \
configuration files.
long_description \
Xft is a library that connects X applications with the FreeType font \
rasterization library. Xft uses fontconfig to locate fonts so it has no \
configuration files.

homepage http://fontconfig.org/
homepage http://fontconfig.org/

master_sites http://x2.freedesktop.org/~fontconfig/release/ \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
master_sites http://x2.freedesktop.org/~fontconfig/release/ \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

platforms darwin
distname xft-${version}
checksums md5 defb7e801d4938b8b15a426ae57e2f3f
platforms darwin
distname xft-${version}
checksums md5 defb7e801d4938b8b15a426ae57e2f3f

# The patch is a kludge, as it appears ltmain (to become libtool when
# configured) expects EGREP and max_cmd_len to be defined by configure;
# this does so for them, but is hardcoded for max_cmd_len
patchfiles patch-configure
patchfiles patch-configure

depends_lib lib:libfontconfig.1:fontconfig lib:libX11.6:XFree86
depends_lib lib:libfontconfig.1:fontconfig lib:libX11.6:XFree86

depends_build bin:pkg-config:pkgconfig bin:freetype-config:freetype \
path:${prefix}/include/X11/extenstions/Xrender.h:xrender
path:${prefix}/include/X11/extenstions/Xrender.h:xrender

# Order is important, as we need the Xrender.h file from the xrender port
# instead of the default from X11R6
configure.env CPPFLAGS="-I${prefix}/include -I${x11prefix}/include" \
LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib"
LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \
PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:/usr/X11R6/lib/pkgconfig"
configure.args --disable-static --mandir=${prefix}/share/man

0 comments on commit ca8718e

Please sign in to comment.
You can’t perform that action at this time.