mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
-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 <pierre@guinoiseau.eu>
This commit is contained in:
parent
71f13d6ce0
commit
939edcb67d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314712
@ -1,16 +1,12 @@
|
||||
# New ports collection makefile for: Xft
|
||||
# Date created: 06 October 2002
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
#Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
# $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-fonts/fontconfig
|
||||
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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
100
x11-fonts/libXft/files/xft-config.in
Normal file
100
x11-fonts/libXft/files/xft-config.in
Normal file
@ -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 <<EOF
|
||||
Usage: xft-config [OPTIONS] [LIBRARIES]
|
||||
Options:
|
||||
[--prefix[=DIR]]
|
||||
[--exec-prefix[=DIR]]
|
||||
[--version]
|
||||
[--libs]
|
||||
[--cflags]
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
|
||||
if test $# -eq 0 ; then
|
||||
usage 1 1>&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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user