diff options
author | tron <tron> | 2001-04-13 16:31:16 +0000 |
---|---|---|
committer | tron <tron> | 2001-04-13 16:31:16 +0000 |
commit | e98769af62627581cb5d99e814e63c40395cccbf (patch) | |
tree | 463f193de94218ec873ee0245c611f4b6bc8ca43 | |
parent | 42c4df10affe56e121b6d8068a2c50258b1c4b41 (diff) | |
download | pkgsrc-e98769af62627581cb5d99e814e63c40395cccbf.tar.gz |
Initial import of "xservers" package:
Old X11 servers for use under XFree86 4.x
-rw-r--r-- | x11/xservers/Makefile | 66 | ||||
-rw-r--r-- | x11/xservers/files/host.def | 14 | ||||
-rw-r--r-- | x11/xservers/pkg/DESCR | 2 | ||||
-rw-r--r-- | x11/xservers/pkg/PLIST.i386 | 1 |
4 files changed, 83 insertions, 0 deletions
diff --git a/x11/xservers/Makefile b/x11/xservers/Makefile new file mode 100644 index 00000000000..c5c8aa5a653 --- /dev/null +++ b/x11/xservers/Makefile @@ -0,0 +1,66 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/13 16:31:16 tron Exp $# + +DISTNAME= xservers-3.3.6.0 +CATEGORIES= x11 +MASTER_SITES= #empty + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://www.xfree86.org/ +COMMENT= Old X11 servers for use under XFree86 4.x + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +ALL_TARGET= World +NO_CHECKSUM= YES +PLIST_SRC= ${WRKDIR}/PLIST +USE_X11BASE= YES + +.if !defined(CHECK_X11) +X11_RELEASE!= ${MAKE} CHECK_X11=YES print-x11-release +.if (${X11_RELEASE} == "6.3") +IGNORE= "The X11 servers are included in your X11 distribution." +.endif +.endif + +X11_LINKS= bin/xkbcomp lib/X11/xkb +X11_SUBDIR= R6.3 +X11_SRCS= Imakefile Makefile config include lib nls \ + programs/Imakefile programs/Xserver + +.include "../../mk/bsd.prefs.mk" + +do-fetch: +.if defined(BSDXSRCDIR) +.if !exists(${BSDXSRCDIR}/xc/config/cf/NetBSD.cf) + @${ECHO_MSG} "Cannot find NetBSD's X11 sources in ${BSDXSRCDIR}." + @${FALSE} +.endif +.else + @${ECHO_MSG} "Please set BSDXSRCDIR in /etc/mk.conf, pointing it" + @${ECHO_MSG} "to a directory that contains NetBSD's X11 sources." + @${FALSE} +.endif + +do-extract: + ${MKDIR} ${WRKSRC} + ${GTAR} --exclude '*/CVS' -c -C ${BSDXSRCDIR}/xc -f - ${X11_SRCS} | \ + ${GTAR} xCf ${WRKSRC} - + +do-configure: + ${SED} -e 's#@PROJECTROOT@#${PREFIX}/${X11_SUBDIR}#' \ + ${FILESDIR}/host.def >${WRKSRC}/config/cf/host.def + +post-install: + cd ${PREFIX} && \ + for LINK in ${X11_LINKS}; do \ + ${LN} -fs ${PREFIX}/$$LINK ${PREFIX}/${X11_SUBDIR}/$$LINK; \ + done && \ + ${FIND} ${X11_SUBDIR} \! -type d | sort >${PLIST_SRC} && \ + ${FIND} ${X11_SUBDIR} -type d | sort -r | \ + ${AWK} '{print("@dirrm "$$1)}' >>${PLIST_SRC} + +.include "../../mk/bsd.pkg.mk" + +print-x11-release: + @${GREP} '^#define SharedXextRev' ${X11BASE}/lib/X11/config/X11.tmpl \ + | ${AWK} '{print($$3)}' diff --git a/x11/xservers/files/host.def b/x11/xservers/files/host.def new file mode 100644 index 00000000000..607b3c62318 --- /dev/null +++ b/x11/xservers/files/host.def @@ -0,0 +1,14 @@ +#undef ProjectRoot +#define ProjectRoot @PROJECTROOT@ + +#undef BuildServersOnly +#define BuildServersOnly YES + +#undef XnestServer +#define XnestServer NO + +#undef XprtServer +#define XprtServer NO + +#undef XVirtualFramebufferServer +#define XVirtualFramebufferServer NO diff --git a/x11/xservers/pkg/DESCR b/x11/xservers/pkg/DESCR new file mode 100644 index 00000000000..a62e165feb0 --- /dev/null +++ b/x11/xservers/pkg/DESCR @@ -0,0 +1,2 @@ +This package provides backward compatibility for any hardware not supported +by the X11 servers include in the 4.x releases of XFree86. diff --git a/x11/xservers/pkg/PLIST.i386 b/x11/xservers/pkg/PLIST.i386 new file mode 100644 index 00000000000..66076da9e92 --- /dev/null +++ b/x11/xservers/pkg/PLIST.i386 @@ -0,0 +1 @@ +@comment $NetBSD: PLIST.i386,v 1.1.1.1 2001/04/13 16:31:16 tron Exp $ |