aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-06-11 13:36:11 +0800
committeranholt <anholt@FreeBSD.org>2004-06-11 13:36:11 +0800
commit2fe6b47be3751141bfed0ca4b320eca426312800 (patch)
tree8bd972d400b1211209784b1133315768329ae8a3 /x11-servers
parente5468304df8662e33ba538930260debac4718808 (diff)
downloadfreebsd-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-servers')
-rw-r--r--x11-servers/Makefile1
-rw-r--r--x11-servers/xorg-fontserver/Makefile35
-rw-r--r--x11-servers/xorg-fontserver/distinfo4
-rw-r--r--x11-servers/xorg-fontserver/pkg-descr6
-rw-r--r--x11-servers/xorg-fontserver/pkg-install12
-rw-r--r--x11-servers/xorg-fontserver/pkg-plist2
-rw-r--r--x11-servers/xorg-fontserver/scripts/configure19
7 files changed, 79 insertions, 0 deletions
diff --git a/x11-servers/Makefile b/x11-servers/Makefile
index 46960fddaf48..1fea18cee752 100644
--- a/x11-servers/Makefile
+++ b/x11-servers/Makefile
@@ -13,6 +13,7 @@
SUBDIR += driglide
SUBDIR += x2vnc
SUBDIR += x2x
+ SUBDIR += xorg-fontserver
SUBDIR += xorg-server
.include <bsd.port.subdir.mk>
diff --git a/x11-servers/xorg-fontserver/Makefile b/x11-servers/xorg-fontserver/Makefile
new file mode 100644
index 000000000000..3ab1c8bd9a1a
--- /dev/null
+++ b/x11-servers/xorg-fontserver/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-servers/xorg-fontserver/distinfo b/x11-servers/xorg-fontserver/distinfo
new file mode 100644
index 000000000000..5407fad4d658
--- /dev/null
+++ b/x11-servers/xorg-fontserver/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-servers/xorg-fontserver/pkg-descr b/x11-servers/xorg-fontserver/pkg-descr
new file mode 100644
index 000000000000..10961b30e99b
--- /dev/null
+++ b/x11-servers/xorg-fontserver/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-servers/xorg-fontserver/pkg-install b/x11-servers/xorg-fontserver/pkg-install
new file mode 100644
index 000000000000..183fcb6dd3f9
--- /dev/null
+++ b/x11-servers/xorg-fontserver/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-servers/xorg-fontserver/pkg-plist b/x11-servers/xorg-fontserver/pkg-plist
new file mode 100644
index 000000000000..745bd3781c4d
--- /dev/null
+++ b/x11-servers/xorg-fontserver/pkg-plist
@@ -0,0 +1,2 @@
+bin/xfs
+lib/X11/fs/config.default
diff --git a/x11-servers/xorg-fontserver/scripts/configure b/x11-servers/xorg-fontserver/scripts/configure
new file mode 100644
index 000000000000..0ccd5cee2917
--- /dev/null
+++ b/x11-servers/xorg-fontserver/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