diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2004-06-11 05:36:11 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2004-06-11 05:36:11 +0000 |
commit | fbd1414e8586dec332df83ec90be80f3c25532fe (patch) | |
tree | 8110ad6ccd99070e364a7fbd0d081c222e1825c8 /x11-fonts/xfs | |
parent | Update to 0.3.3. (diff) |
New port: xorg-fontserver taken from X.Org release 6.7.0.
Notes
Notes:
svn path=/head/; revision=111250
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 |