From owner-svn-ports-head@FreeBSD.ORG Wed Mar 20 05:49:01 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B8354D7; Wed, 20 Mar 2013 05:49:01 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 92B88D91; Wed, 20 Mar 2013 05:49:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2K5n1kV002311; Wed, 20 Mar 2013 05:49:01 GMT (envelope-from mezz@svn.freebsd.org) Received: (from mezz@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2K5n0xC002306; Wed, 20 Mar 2013 05:49:00 GMT (envelope-from mezz@svn.freebsd.org) Message-Id: <201303200549.r2K5n0xC002306@svn.freebsd.org> From: Jeremy Messenger Date: Wed, 20 Mar 2013 05:49:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314712 - in head/x11-fonts/libXft: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 05:49:01 -0000 Author: mezz Date: Wed Mar 20 05:49:00 2013 New Revision: 314712 URL: http://svnweb.freebsd.org/changeset/ports/314712 Log: -Update to 2.3.1. -Update the header. In this version has removed the xft-config, but I have brought it back to avoid require test in the pointyhat-exp/tinderbox to see if it will break old ports that needs xft-config. PR: ports/176801 Submitted by: Pierre Guinoiseau Added: head/x11-fonts/libXft/files/ head/x11-fonts/libXft/files/xft-config.in (contents, props changed) Modified: head/x11-fonts/libXft/Makefile (contents, props changed) head/x11-fonts/libXft/distinfo (contents, props changed) head/x11-fonts/libXft/pkg-plist (contents, props changed) Modified: head/x11-fonts/libXft/Makefile ============================================================================== --- head/x11-fonts/libXft/Makefile Wed Mar 20 04:16:58 2013 (r314711) +++ head/x11-fonts/libXft/Makefile Wed Mar 20 05:49:00 2013 (r314712) @@ -1,16 +1,12 @@ -# New ports collection makefile for: Xft -# Date created: 06 October 2002 -# Whom: Joe Marcus Clarke -# +#Created by: Joe Marcus Clarke # $FreeBSD$ -# PORTNAME= libXft -PORTVERSION= 2.1.14 +PORTVERSION= 2.3.1 CATEGORIES= x11-fonts MAINTAINER= gnome@FreeBSD.org -COMMENT= A client-sided font API for X applications +COMMENT= Client-sided font API for X applications LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig @@ -19,7 +15,18 @@ RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fo XORG_CAT= lib USE_XORG= xproto:both xrender -MAN1= xft-config.1 MAN3= Xft.3 +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 \ + ${PREFIX}/bin/ + .include Modified: head/x11-fonts/libXft/distinfo ============================================================================== --- head/x11-fonts/libXft/distinfo Wed Mar 20 04:16:58 2013 (r314711) +++ head/x11-fonts/libXft/distinfo Wed Mar 20 05:49:00 2013 (r314712) @@ -1,2 +1,2 @@ -SHA256 (xorg/lib/libXft-2.1.14.tar.bz2) = 700e9d594b81cad3dfd5fac4a5cfd0c4cf7780c812507ef04eb40139ebf5175e -SIZE (xorg/lib/libXft-2.1.14.tar.bz2) = 289068 +SHA256 (xorg/lib/libXft-2.3.1.tar.bz2) = 7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd +SIZE (xorg/lib/libXft-2.3.1.tar.bz2) = 311556 Added: head/x11-fonts/libXft/files/xft-config.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/libXft/files/xft-config.in Wed Mar 20 05:49:00 2013 (r314712) @@ -0,0 +1,100 @@ +#! /bin/sh + +prefix="@prefix@" +exec_prefix="@exec_prefix@" +libdir="@libdir@" +includedir="@includedir@" +version="@VERSION@" +freetypelibs="@FREETYPE_LIBS@" +freetypecflags="@FREETYPE_CFLAGS@" +fontconfiglibs="@FONTCONFIG_LIBS@" +fontconfigcflags="@FONTCONFIG_CFLAGS@" +xrenderlibs="@XRENDER_LIBS@" +xrendercflags="@XRENDER_CFLAGS@" + +usage() +{ + cat <&2 +fi + +while test $# -gt 0 ; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + local_prefix=yes + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + local_prefix=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo $version + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$local_prefix" = "yes" ; then + if test "$exec_prefix_set" != "yes" ; then + exec_prefix=$prefix + fi +fi + +if test "$echo_prefix" = "yes" ; then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes" ; then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes" ; then + cflags="-I${includedir} ${freetypecflags} ${fontconfigcflags} ${xrendercflags}" + echo $cflags +fi + +if test "$echo_libs" = "yes" ; then + libs="-lXft -lX11 ${freetypelibs} ${fontconfiglibs} ${xrenderlibs}" + if test "${libdir}" != "/usr/lib" ; then + echo -L${libdir} $libs + else + echo $libs + fi +fi + +# EOF Modified: head/x11-fonts/libXft/pkg-plist ============================================================================== --- head/x11-fonts/libXft/pkg-plist Wed Mar 20 04:16:58 2013 (r314711) +++ head/x11-fonts/libXft/pkg-plist Wed Mar 20 05:49:00 2013 (r314712) @@ -1,9 +1,9 @@ bin/xft-config include/X11/Xft/Xft.h include/X11/Xft/XftCompat.h -lib/libXft.so.2 -lib/libXft.so -lib/libXft.la lib/libXft.a +lib/libXft.la +lib/libXft.so +lib/libXft.so.2 libdata/pkgconfig/xft.pc @dirrm include/X11/Xft