pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/XFree86 Initial import of XFree86-4.3.0 from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7cef9df5faf8
branches:  trunk
changeset: 466887:7cef9df5faf8
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Jan 24 08:52:27 2004 +0000

description:
Initial import of XFree86-4.3.0 from pkgsrc-wip.

This is the XFree86 meta package, for installing the entire
XFree86 suite.

diffstat:

 meta-pkgs/XFree86/DESCR           |    2 +
 meta-pkgs/XFree86/Makefile        |   38 +++++++++
 meta-pkgs/XFree86/Makefile.common |  159 ++++++++++++++++++++++++++++++++++++++
 meta-pkgs/XFree86/PLIST           |    1 +
 4 files changed, 200 insertions(+), 0 deletions(-)

diffs (216 lines):

diff -r 885458309f32 -r 7cef9df5faf8 meta-pkgs/XFree86/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/XFree86/DESCR   Sat Jan 24 08:52:27 2004 +0000
@@ -0,0 +1,2 @@
+This is the XFree86 meta package, for installing the entire
+XFree86 suite.
diff -r 885458309f32 -r 7cef9df5faf8 meta-pkgs/XFree86/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/XFree86/Makefile        Sat Jan 24 08:52:27 2004 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/24 08:52:27 xtraeme Exp $
+
+DISTNAME=      # empty
+PKGNAME=       XFree86-${XF_VER}
+CATEGORIES=    meta-pkgs x11
+MASTER_SITES=  ${MASTER_SITE_XFREE}
+DISTFILES=     # empty
+
+MAINTAINER=    xfree86%blef.org@localhost
+HOMEPAGE=      http://www.xfree86.org/
+COMMENT=       XFree86 meta-package
+
+DEPENDS=       imake>=4.3.0:../../wip/imake
+DEPENDS+=      XFree86-libs>=4.3.0:../../wip/XFree86-libs
+DEPENDS+=      XFree86-clients>=4.3.0:../../wip/XFree86-clients
+DEPENDS+=      XFree86-server>=4.3.0:../../wip/XFree86-server
+DEPENDS+=      XFree86-docs>=4.3.0:../../wip/XFree86-docs
+DEPENDS+=      XFree86-man>=4.3.0:../../wip/XFree86-man
+DEPENDS+=      XFree86-fontsEncodings>=4.3.0:../../wip/XFree86-fontsEncodings
+DEPENDS+=      XFree86-fontsCyrillic>=4.3.0:../../wip/XFree86-fontsCyrillic
+DEPENDS+=      XFree86-fontsMisc>=4.3.0:../../wip/XFree86-fontsMisc
+DEPENDS+=      XFree86-fonts100dpi>=4.3.0:../../wip/XFree86-fonts100dpi
+DEPENDS+=      XFree86-fonts75dpi>=4.3.0:../../wip/XFree86-fonts75dpi
+DEPENDS+=      XFree86-fontserver>=4.3.0:../../wip/XFree86-fontserver
+DEPENDS+=      XFree86-fontsScalable>=4.3.0:../../wip/XFree86-fontsScalable
+
+USE_BUILDLINK2=                yes
+NO_BUILD=              # defined
+NO_CHECKSUM=           # defined
+NO_MTREE=              # defined
+NO_XFREE86_TARGETS=    # defined
+NO_CONFIGURE=          # defined
+
+do-install:
+       # empty
+
+.include "../../wip/XFree86/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff -r 885458309f32 -r 7cef9df5faf8 meta-pkgs/XFree86/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/XFree86/Makefile.common Sat Jan 24 08:52:27 2004 +0000
@@ -0,0 +1,159 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/01/24 08:52:28 xtraeme Exp $
+#
+# XBUILD_DIRS is the group of directories under ${WRKSRC} that will 
+#   be built in.
+# XINCLUDE_DIRS is the group of directories under ${WRKSRC} that need
+#   to be Makefilesed or included in besides XBUILD_DIRS
+# XINSTALL_DIRS is the group of directories which will have 
+#   their install targets run.
+# XINSTALL_MAN_DIRS is the group of directories which will have 
+#   their install.man targets run.
+
+# X430src-1 is the base.
+# X430src-2 contains various programs like bitmap, twm, xterm, xdm, xinit, ...
+# X430src-3 is xc/programs/Xserver/.
+# X430src-4 contains xc/fonts/{PEX,bdf/100dpi,bdf/75dpi,bdf/misc,encodings}
+# X430src-5 contains xc/fonts/scaled/{CID,Ethiopic,Meltho,Speedo,TTF,Type1}
+# X430src-6 contains the documentation source.
+# X430src-7 contains the hardcopy documentation.
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+MANCOMPRESSED= YES
+.elif ${OPSYS} == "Linux"
+USE_GNU_TOOLS+= make
+.endif
+
+WRKSRC?=       ${WRKDIR}/xc
+USE_X11BASE=   YES
+USE_X11_LINKS= NO
+
+MASTER_SITE_XFREE+=    \
+       ftp://archive.progeny.com/XFree86/${XF_VER}/source/ \
+       http://ftp.mirrorcentral.com/pub/XFree86/${XF_VER}/source/ \
+       ftp://ftp.xfree86.org/pub/XFree86/${XF_VER}/source/ \
+       ftp://ftp.gwdg.de/pub/xfree86/XFree86/${XF_VER}/source/ \
+       ftp://ftp.free.fr/pub/XFree86/${XF_VER}/source/
+
+XF_VER=        4.3.0
+
+IMAKE=         ${X11PREFIX}/bin/imake
+
+XINSTALL_DIRS?=        ${XBUILD_DIRS}
+_XINCLUDE_DIRS=        include ${XBUILD_DIRS} ${XINCLUDE_DIRS}
+
+# Operating Systems to pass our compiler options (CC, CXX, CPP, CFLAGS)
+
+SYSTEMS=       FreeBSD NetBSD linux
+
+.if !defined(NO_XFREE86_TARGETS)
+
+.if !target(post-extract)
+post-extract:
+       @${SED} \
+               -e "s|@BLNK@|${BUILDLINK_DIR}|g" \
+               -e "s|@MAKE@|${MAKE_PROGRAM}|g" \
+               -e "s|@MAKE_PROGRAM@|${MAKE_PROGRAM}|g" \
+               -e "s|@IMAKE@|${IMAKE}|g" \
+               -e "s|@RMAN@|${X11PREFIX}/bin/rman|g" \
+               -e "s|@MKHTMLINDEX@|${X11PREFIX}/bin/mkhtmlindex|g" \
+               -e "s|@GCCMAKEDEP@|${X11PREFIX}/bin/gccmakedep|g" \
+               -e "s|@MAKEDEPEND@|${X11PREFIX}/bin/makedepend|g" \
+               -e "s|@REVPATH@|${X11PREFIX}/bin/revpath|g" \
+               -e "s|@PREFIX@|${X11PREFIX}|g" \
+               -e "s|@LOCALBASE@|${LOCALBASE}|g" \
+               -e "s|@LDFLAGS@|${LDFLAGS}|g" \
+               ${FILESDIR}/host.def > ${WRKSRC}/config/cf/host.def
+       @${LN} -sf ${PREFIX}/bin/gccmakedep ${WRKSRC}/config/util
+       @${LN} -sf ${PREFIX}/bin/revpath ${WRKSRC}/config/util
+       @${LN} -sf ${PREFIX}/bin/pswrap ${WRKSRC}/config/pswrap
+       @${LN} -sf ${PREFIX}/lib/X11/config/version.def ${WRKSRC}/config/cf
+       @${LN} -sf ${PREFIX}/lib/X11/config/date.def ${WRKSRC}/config/cf
+.if exists(${FILESDIR}/ucs2any.c)
+       @${CP} ${FILESDIR}/ucs2any.c ${WRKSRC}/fonts/util
+.endif
+.if exists(${FILESDIR}/Wraphelp.c)
+       @${CP} ${FILESDIR}/Wraphelp.c ${WRKSRC}/lib/Xdmcp
+.endif
+
+.for F in ${SYSTEMS}
+       @${MV} ${WRKSRC}/config/cf/${F}.cf \
+               ${WRKSRC}/config/cf/${F}.cf.in
+.endfor
+.undef F
+
+.endif
+
+.if !target(pre-configure)
+
+pre-configure:
+
+.for F in ${SYSTEMS}
+       @${SED} -e "s|@@PKGSRC_CC@@|${CC}|g" \
+               -e "s|@@PKGSRC_CXX@@|${CXX}|g" \
+               -e "s|@@PKGSRC_CPP@@|${CPP}|g" \
+               -e "s|@@PKGSRC_CFLAGS@@|${CFLAGS}|g" \
+               -e "s|-I${LOCALBASE}/include||" \
+               -e "s|-I${X11BASE}/include||" \
+               ${WRKSRC}/config/cf/${F}.cf.in > \
+               ${WRKSRC}/config/cf/${F}.cf
+.endfor
+.undef F
+
+# Check if we have a native threads implementation 
+
+.if ${OPSYS} == "NetBSD" && !exists(/usr/include/pthread.h)
+       ${ECHO} "#define TheadedX NO" >> ${WRKSRC}/config/cf/NetBSD.cf
+.else
+       @( \
+       cd ${WRKSRC}/config/cf && \
+       ${ECHO} "#define HasPosixThreads YES" >> NetBSD.cf; \
+       ${ECHO} "#define ThreadedX YES" >> NetBSD.cf; \
+       ${ECHO} "#define HasThreadSafeAPI YES" >> NetBSD.cf; \
+       ${ECHO} "#define ThreadsLibraries -lpthread" >> NetBSD.cf; \
+       ${ECHO} "#define LibraryMTDefines -DUSE_NBSD_THREADLIB" >> NetBSD.cf; \
+       ${ECHO} "#define SystemMTDefines -D_REENTRANT" >> NetBSD.cf; \
+       ${ECHO} "#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI" \
+               >> NetBSD.cf \
+       )
+
+.endif
+.endif
+
+.if !target(do-configure)
+do-configure:
+       @for dir in ${_XINCLUDE_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${IMAKE} \
+                       -DTOPDIR=${WRKSRC} -DCURDIR=$${dir} \
+                       -I${WRKSRC}/config/cf; \
+       done
+       @for dir in ${_XINCLUDE_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} Makefiles; \
+       done
+       @for dir in ${_XINCLUDE_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} includes; \
+       done
+       @for dir in include ${XBUILD_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} depend; \
+       done
+.endif
+
+.if !target(do-build)
+do-build:
+       @for dir in ${XBUILD_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} all; \
+       done
+.endif
+
+.if !target(do-install)
+do-install:
+       @for dir in ${XINSTALL_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} install; \
+       done
+       @for dir in ${XINSTALL_MAN_DIRS}; do \
+               cd ${WRKSRC}/$${dir} && ${MAKE} install.man; \
+       done
+.endif
+
+.endif # ! NO_XFREE86_TARGETS
diff -r 885458309f32 -r 7cef9df5faf8 meta-pkgs/XFree86/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/XFree86/PLIST   Sat Jan 24 08:52:27 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/24 08:52:28 xtraeme Exp $



Home | Main Index | Thread Index | Old Index