aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-VirtualFramebufferServer
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-06-08 18:42:32 +0800
committerasami <asami@FreeBSD.org>2000-06-08 18:42:32 +0800
commit420ed2663c91a4e934c904e9cf0ca88d89730925 (patch)
treec4a1be61c6c55628f75a642687bda26944d61031 /x11-servers/XFree86-4-VirtualFramebufferServer
parent2af40ca6281de7e042bacbfc39cbff208dff431c (diff)
downloadfreebsd-ports-gnome-420ed2663c91a4e934c904e9cf0ca88d89730925.tar.gz
freebsd-ports-gnome-420ed2663c91a4e934c904e9cf0ca88d89730925.tar.zst
freebsd-ports-gnome-420ed2663c91a4e934c904e9cf0ca88d89730925.zip
Split up XFree86-4 into several pieces. Pretty green, please test with care.
Submitted by: taguchi@tohoku.iij.ad.jp Approved (in spirit) by: jmz (XFree86 port maintainer)
Diffstat (limited to 'x11-servers/XFree86-4-VirtualFramebufferServer')
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/Makefile42
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/distinfo1
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment1
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/pkg-descr3
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/pkg-plist1
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure80
6 files changed, 128 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
new file mode 100644
index 000000000000..70afb90ad126
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: XFree86XVirtualFramebufferServer-4.0
+# Date created: 10 Oct 1999
+# Whom: taguchi@tohoku.iij.ad.jp
+#
+# $FreeBSD$
+#
+
+PORTNAME= VirtualFramebufferServer
+PORTVERSION= 4.0
+CATEGORIES= x11-servers
+MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/4.0/source/ \
+ ftp://ftp.freesoftware.com/pub/XFree86/4.0/source/ \
+ ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-4.0/source/ \
+ ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.0/source/ \
+ ftp://sunsite.doc.ic.ac.uk/packages/XFree86/4.0/source/
+PKGNAMEPREFIX= XFree86-
+DISTFILES= X400src-1.tgz
+
+MAINTAINER= taguchi@tohoku.iij.ad.jp
+
+BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
+LIB_DEPENDS= X11.6:${PORTSDIR}/x11/XFree86-4-libraries
+
+PREFIX?= ${X11BASE}
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+DIST_SUBDIR= xc
+WRKSRC= ${WRKDIR}/xc
+PATCHDIR= ${PORTSDIR}/x11/XFree86-4-libraries/patches
+SCRIPTS_ENV+= PREFIX=${PREFIX} \
+ X11BASE=${X11BASE} \
+ WRKDIR=${WRKDIR} \
+ DISTDIR=${DISTDIR}
+ALL_TARGET= FreeBSDPortsBuild
+.if defined(NO_INSTALL_MANPAGES)
+INSTALL_TARGET= installXvfb
+.else
+INSTALL_TARGET= installXvfb installXvfb.man
+MANCOMPRESSED= yes
+MAN1= Xvfb.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo
new file mode 100644
index 000000000000..32a647072af5
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo
@@ -0,0 +1 @@
+MD5 (xc/X400src-1.tgz) = a93f407ee0dd7ed806a97370c2ae637d
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment
new file mode 100644
index 000000000000..7932ea14766f
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment
@@ -0,0 +1 @@
+X11R6.4/XFree86 X Virtual Framebuffer Server
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-descr b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-descr
new file mode 100644
index 000000000000..33a18240b35c
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-descr
@@ -0,0 +1,3 @@
+This package contains XVirtualFramebufferServer(Xvfb).
+
+WWW: http://www.xfree86.org/
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-plist b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-plist
new file mode 100644
index 000000000000..e2d161bbca7f
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-plist
@@ -0,0 +1 @@
+bin/Xvfb
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure
new file mode 100644
index 000000000000..44de1d6e7d06
--- /dev/null
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure
@@ -0,0 +1,80 @@
+#!/bin/sh
+
+# This scripts work as following:
+# (1) cp current xf86site.def (it may be created by imake-4 ports)
+# to ${WRKDIR}/xc/config/cf.
+# this means this ports use imake-4's config defaultly.
+# (2) Generate temporal config for compiling.
+# Some configs, such as `ForceNormalLib', `FreeBSDBuildXprog', are
+# used for compiling this ports localy. so these configs will be generated
+# this scripts. these configs will be stored to `host.def' file.
+# but this host.def will never install. use local only.
+
+ORIGDEF=$PREFIX/lib/X11/config/xf86site.def
+DESTDEF=$WRKDIR/xc/config/cf/xf86site.def
+ORIGHOSTDEF=$PREFIX/lib/X11/config/host.def
+LOCALDEF=$WRKDIR/.config
+HOSTDEF=$WRKDIR/xc/config/cf/host.def
+
+configure () {
+ # Use original host.def as initial config file
+ rm -f $LOCALDEF
+ grep -v '#define.*ProjectRoot' $ORIGHOSTDEF >> $LOCALDEF
+ echo "#define ProjectRoot $PREFIX" >> $LOCALDEF
+
+ if [ X$InstallFSConfig = "X" ]; then
+ InstallFSConfig=YES
+ fi
+
+ # disable some configs: there are not used this ports
+ for i in BuildFonts \
+ Build75DpiFonts \
+ Build100DpiFonts \
+ BuildSpeedoFonts \
+ BuildType1Fonts \
+ BuildCIDFonts \
+ BuildCyrillicFonts \
+ BuildLatin2Fonts \
+ XF86Server \
+ BuildFontServer \
+ XnestServer \
+ XprtServer \
+ LibHeaders \
+ ForceNormalLib \
+ XTrueTypeInstallCConvHeaders
+ do \
+ echo "#define $i NO" >> $LOCALDEF
+ done
+ echo "#define BuildServer YES" >> $LOCALDEF
+ echo "#define XVirtualFramebufferServer YES" >> $LOCALDEF
+ echo "#define BuildServersOnly YES" >> $LOCALDEF
+
+ # Check Wraphelp.c
+ WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c
+ cpwh=NO
+ if [ -f $WH ] ; then
+ cpwh=SOURCE
+ elif [ -f $DISTDIR/xc/Wraphelp.c ] ; then
+ cpwh=$DISTDIR/xc/Wraphelp.c
+ else
+ echo "==> Warnning: Wraphelp.c not found, DES support NOT enabled."
+ fi
+ if [ X$cpwh != XNO -a X$cpwh != XSOURCE ]; then
+ tr -d '\r' < $cpwh > $WH
+ fi
+
+ # Copy ORIGDEF to DESTDEF
+ rm -f $DESTDEF
+ if [ $cpwh = NO ] ; then
+ grep -v '#define.*HasXdmAuth' $ORIGDEF >> $DESTDEF
+ echo "#define HasXdmAuth NO" >> $DESTDEF
+ else
+ cp -f $ORIGDEF $DESTDEF
+ fi
+
+ # copy generated config to host.def
+ cp -f $LOCALDEF $HOSTDEF
+}
+
+configure
+exit 0