diff options
author | anholt <anholt@FreeBSD.org> | 2004-06-11 13:36:11 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2004-06-11 13:36:11 +0800 |
commit | 2fe6b47be3751141bfed0ca4b320eca426312800 (patch) | |
tree | 8bd972d400b1211209784b1133315768329ae8a3 /x11-fonts/xfs | |
parent | e5468304df8662e33ba538930260debac4718808 (diff) | |
download | freebsd-ports-gnome-2fe6b47be3751141bfed0ca4b320eca426312800.tar.gz freebsd-ports-gnome-2fe6b47be3751141bfed0ca4b320eca426312800.tar.zst freebsd-ports-gnome-2fe6b47be3751141bfed0ca4b320eca426312800.zip |
New port: xorg-fontserver taken from X.Org release 6.7.0.
Diffstat (limited to 'x11-fonts/xfs')
-rw-r--r-- | x11-fonts/xfs/Makefile | 35 | ||||
-rw-r--r-- | x11-fonts/xfs/distinfo | 4 | ||||
-rw-r--r-- | x11-fonts/xfs/pkg-descr | 6 | ||||
-rw-r--r-- | x11-fonts/xfs/pkg-install | 12 | ||||
-rw-r--r-- | x11-fonts/xfs/pkg-plist | 2 | ||||
-rw-r--r-- | x11-fonts/xfs/scripts/configure | 19 |
6 files changed, 78 insertions, 0 deletions
diff --git a/x11-fonts/xfs/Makefile b/x11-fonts/xfs/Makefile new file mode 100644 index 000000000000..3ab1c8bd9a1a --- /dev/null +++ b/x11-fonts/xfs/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: xorg-fontserver +# Date created: 10 June 2004 +# Whom: anholt@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= xorg-fontserver +PORTVERSION= 6.7.0 +CATEGORIES= x11-servers +MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ +DISTFILES= X11R6.7.0-src1.tar.gz \ + X11R6.7.0-src2.tar.gz + +MAINTAINER= x11@FreeBSD.org +COMMENT= X font server from X.Org + +CONFLICTS= XFree86-FontServer-* + +EXTRA_PATCHES= ${CF_PATCHES} + +USE_XLIB= yes + +MAN1= xfs.1 + +XBUILD_DIRS= programs/xfs +XINCLUDE_DIRS= lib/xtrans +XMAN_DIRS= programs/xfs + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/programs/xfs/config \ + ${PREFIX}/lib/X11/fs/config.default + +.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc" +.include <bsd.port.mk> diff --git a/x11-fonts/xfs/distinfo b/x11-fonts/xfs/distinfo new file mode 100644 index 000000000000..5407fad4d658 --- /dev/null +++ b/x11-fonts/xfs/distinfo @@ -0,0 +1,4 @@ +MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5 +SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655 +MD5 (xorg/X11R6.7.0-src2.tar.gz) = 6ef4e8f7647a28f080c10ea1bcf01f79 +SIZE (xorg/X11R6.7.0-src2.tar.gz) = 5739983 diff --git a/x11-fonts/xfs/pkg-descr b/x11-fonts/xfs/pkg-descr new file mode 100644 index 000000000000..10961b30e99b --- /dev/null +++ b/x11-fonts/xfs/pkg-descr @@ -0,0 +1,6 @@ +This package contains the X.Org font server. + +WWW: http://www.x.org/ + +- Eric Anholt +anholt@FreeBSD.org diff --git a/x11-fonts/xfs/pkg-install b/x11-fonts/xfs/pkg-install new file mode 100644 index 000000000000..183fcb6dd3f9 --- /dev/null +++ b/x11-fonts/xfs/pkg-install @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "$2" != "POST-INSTALL" ]; then + exit 0 +fi + +PKG_PREFIX=${PKG_PREFIX:=/usr/X11R6} + +XINITCONFDIR=${PKG_PREFIX}/lib/X11/fs +if [ ! -f ${XINITCONFDIR}/config ]; then + cp ${XINITCONFDIR}/config.default ${XINITCONFDIR}/config +fi diff --git a/x11-fonts/xfs/pkg-plist b/x11-fonts/xfs/pkg-plist new file mode 100644 index 000000000000..745bd3781c4d --- /dev/null +++ b/x11-fonts/xfs/pkg-plist @@ -0,0 +1,2 @@ +bin/xfs +lib/X11/fs/config.default diff --git a/x11-fonts/xfs/scripts/configure b/x11-fonts/xfs/scripts/configure new file mode 100644 index 000000000000..0ccd5cee2917 --- /dev/null +++ b/x11-fonts/xfs/scripts/configure @@ -0,0 +1,19 @@ +#!/bin/sh + +LOCALDEF=$WRKDIR/.config + +rm -f $LOCALDEF +echo "#define BuildServer YES" >> $LOCALDEF +echo "#define BuildServersOnly YES" >> $LOCALDEF +echo "#define XprtServer YES" >> $LOCALDEF +echo "#define XnestServer NO" >> $LOCALDEF +echo "#define XorgServer NO" >> $LOCALDEF +echo "#define XF86Server NO" >> $LOCALDEF +echo "#define BuildFontServer NO" >> $LOCALDEF +echo "#define BuildLBX NO" >> $LOCALDEF +echo "#define InstallFSConfig NO" >> $LOCALDEF +echo "#define UseInstalledPrograms YES" >> $LOCALDEF +echo "#define UseInstalledLibraries YES" >> $LOCALDEF +echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF + +sh $PORTSDIR/x11-servers/xorg-server/scripts/configure.gen |