From 1f1c4e1358e8492b6e03925cde5ca312678da9f1 Mon Sep 17 00:00:00 2001 From: pav Date: Wed, 18 Jun 2008 22:26:27 +0000 Subject: - Delete games/linux-x-plane: relies on expired, unfetchable installer port - Delete games/linux-x-plane-net-installer: expired - unfetchable --- games/Makefile | 2 - games/linux-x-plane-net-installer/Makefile | 51 -------- games/linux-x-plane-net-installer/distinfo | 3 - games/linux-x-plane-net-installer/pkg-descr | 4 - games/linux-x-plane-net-installer/pkg-message | 9 -- games/linux-x-plane/Makefile | 163 -------------------------- games/linux-x-plane/files/x-plane-wrapper.in | 57 --------- games/linux-x-plane/pkg-descr | 5 - games/linux-x-plane/pkg-message | 6 - 9 files changed, 300 deletions(-) delete mode 100644 games/linux-x-plane-net-installer/Makefile delete mode 100644 games/linux-x-plane-net-installer/distinfo delete mode 100644 games/linux-x-plane-net-installer/pkg-descr delete mode 100644 games/linux-x-plane-net-installer/pkg-message delete mode 100644 games/linux-x-plane/Makefile delete mode 100644 games/linux-x-plane/files/x-plane-wrapper.in delete mode 100644 games/linux-x-plane/pkg-descr delete mode 100644 games/linux-x-plane/pkg-message (limited to 'games') diff --git a/games/Makefile b/games/Makefile index cdb64c028156..aa0cc6f6d2e4 100644 --- a/games/Makefile +++ b/games/Makefile @@ -456,8 +456,6 @@ SUBDIR += linux-ut2004-demo SUBDIR += linux-virtual-jay-peak SUBDIR += linux-warsow - SUBDIR += linux-x-plane - SUBDIR += linux-x-plane-net-installer SUBDIR += liquidwar SUBDIR += lm-solve SUBDIR += lmarbles diff --git a/games/linux-x-plane-net-installer/Makefile b/games/linux-x-plane-net-installer/Makefile deleted file mode 100644 index 710e90c8aaa2..000000000000 --- a/games/linux-x-plane-net-installer/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# New ports collection makefile for: linux-x-plane-net-installer -# Date created: 07 Dec 2005 -# Whom: Jean-Yves Lefort -# -# $FreeBSD$ -# - -PORTNAME= linux-x-plane-net-installer -PORTVERSION= 1.07 -PORTREVISION= 1 -CATEGORIES= games linux -MASTER_SITES= http://dev.x-plane.com/installer/${PORTVERSION}/ -DISTFILES= X-Plane-Net-Install.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= The X-Plane network installer - -RUN_DEPENDS= ${LINUXBASE}/usr/lib/libopenal.so.0:${PORTSDIR}/audio/linux-openal \ - ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux_dri - -BROKEN= Unfetchable -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2007-04-10 - -USE_XLIB= yes -USE_LINUX= yes -NO_BUILD= yes -RESTRICTED= "Redistribution prohibited" -ONLY_FOR_ARCHS= i386 amd64 - -PLIST_FILES= bin/X-Plane-Net-Install - -.include - -.if defined(WITH_NVIDIA_GL) -RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver -.else -RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri -.endif - -do-extract: - @${MKDIR} ${WRKSRC} - @${GUNZIP_CMD} -c ${DISTDIR}/${DISTFILES} > ${WRKSRC}/X-Plane-Net-Install - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/X-Plane-Net-Install ${PREFIX}/bin - -post-install: - @${CAT} ${PKGMESSAGE} - -.include diff --git a/games/linux-x-plane-net-installer/distinfo b/games/linux-x-plane-net-installer/distinfo deleted file mode 100644 index 3cf41f894ba7..000000000000 --- a/games/linux-x-plane-net-installer/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (X-Plane-Net-Install.gz) = 5d8a5b24be554ded98a5813e9bee53a9 -SHA256 (X-Plane-Net-Install.gz) = e2d5ca4ae105f3af6d7899d87602f2f32a6556d110af3f5016c6833c226807db -SIZE (X-Plane-Net-Install.gz) = 1908398 diff --git a/games/linux-x-plane-net-installer/pkg-descr b/games/linux-x-plane-net-installer/pkg-descr deleted file mode 100644 index e4a6ceabc734..000000000000 --- a/games/linux-x-plane-net-installer/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -The X-Plane network installer is a graphical application which fetches the -latest X-Plane distribution and installs it in the directory you specify. - -WWW: http://www.x-plane.com/ diff --git a/games/linux-x-plane-net-installer/pkg-message b/games/linux-x-plane-net-installer/pkg-message deleted file mode 100644 index dfc93db6d380..000000000000 --- a/games/linux-x-plane-net-installer/pkg-message +++ /dev/null @@ -1,9 +0,0 @@ -=============================================================================== - -Because of a bug in the installer, you must create the destination directory -manually before running the program, for instance: - - mkdir ~/X-Plane - X-Plane-Net-Install - -=============================================================================== diff --git a/games/linux-x-plane/Makefile b/games/linux-x-plane/Makefile deleted file mode 100644 index 2e5de6c63f7b..000000000000 --- a/games/linux-x-plane/Makefile +++ /dev/null @@ -1,163 +0,0 @@ -# New ports collection makefile for: linux-x-plane -# Date created: 25 Nov 2005 -# Whom: Jean-Yves Lefort -# -# $FreeBSD$ -# - -PORTNAME= linux-x-plane -PORTVERSION= 8.32 -PORTREVISION= 1 -CATEGORIES= games linux -MASTER_SITES= # empty - -MAINTAINER= ports@FreeBSD.org -COMMENT= A commercial flight simulator - -RUN_DEPENDS= ${LINUXBASE}/usr/lib/libopenal.so.1:${PORTSDIR}/audio/linux-openal \ - ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1.3:${PORTSDIR}/graphics/linux_dri - -IGNOREFILES= ${DISTFILES} # user-created distribution -NO_WRKSUBDIR= yes -USE_XLIB= yes -USE_BZIP2= yes -USE_LINUX= yes -NO_BUILD= yes -RESTRICTED= "Redistribution prohibited" -NO_PACKAGE= "Package will be 482 MB, set FORCE_PACKAGE if you really want to build it" -ONLY_FOR_ARCHS= i386 amd64 - -XDIR= ${PREFIX}/lib/x-plane -XDIR_REL= ${XDIR:S,^${PREFIX}/,,} - -PROGRAMS= Airfoil-Maker Briefer Plane-Maker World-Maker X-Plane - -PLIST= ${WRKDIR}/.plist -PLIST_FILES= ${PROGRAMS:S|^|bin/|} libexec/x-plane-wrapper -PLIST_DIRS= ${XDIR_REL} - -SUB_FILES= x-plane-wrapper -SUB_LIST= XDIR="${XDIR}" PORTVERSION="${PORTVERSION}" PROGRAMS="${PROGRAMS}" - -DESKTOP_ENTRIES="X-Plane Airfoil Maker" \ - "Edit X-Plane airfoils" \ - "" \ - "Airfoil-Maker" \ - "Application;Game;" \ - false \ - \ - "X-Plane Briefer" \ - "Obtain a weather briefing for your flight" \ - "" \ - "Briefer" \ - "Application;Game;" \ - false \ - \ - "X-Plane Plane Maker" \ - "Edit X-Plane planes" \ - "" \ - "Plane-Maker" \ - "Application;Game;" \ - false \ - \ - "X-Plane World Maker" \ - "Edit X-Plane scenery" \ - "" \ - "World-Maker" \ - "Application;Game;" \ - \ - false \ - "X-Plane" \ - "Fly with X-Plane" \ - "" \ - "X-Plane" \ - "Application;Game;" \ - false - -.include - -.if defined(WITH_NVIDIA_GL) -RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver -.else -RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri -.endif - -do-fetch: - @if ! [ -e ${DISTDIR}/${DISTFILES} ]; then \ - ${ECHO_CMD} "" ; \ - ${ECHO_CMD} "The X-Plane distribution must be manually fetched with the X-Plane installer." ; \ - ${ECHO_CMD} "To fetch the X-Plane distribution and create a tarball (for personal use only;" ; \ - ${ECHO_CMD} "redistribution prohibited by license), do the following:" ; \ - ${ECHO_CMD} "" ; \ - ${ECHO_CMD} " - install the games/linux-x-plane-net-installer port" ; \ - ${ECHO_CMD} " - as a normal user, run X-Plane-Net-Install, select a destination directory" ; \ - ${ECHO_CMD} " with enough free space (you need about 674 MB), and install X-Plane" ; \ - ${ECHO_CMD} " - as root, create the distribution tarball:" ; \ - ${ECHO_CMD} "" ; \ - ${ECHO_CMD} " cd ${MASTERDIR}" ; \ - ${ECHO_CMD} " make dist XDISTDIR=/path/where/xplane/was/installed" ; \ - ${ECHO_CMD} "" ; \ - ${ECHO_CMD} "You can then remove XDISTDIR and install this port normally." ; \ - ${ECHO_CMD} "" ; \ - ${FALSE} ; \ - fi - -dist: -.if defined(XDISTDIR) -. if exists(${XDISTDIR}/X-Plane-athlon-xp) \ - || exists(${XDISTDIR}/X-Plane-i586) \ - || exists(${XDISTDIR}/X-Plane-pentium-3) - @${ECHO_MSG} "===> Packaging ${XDISTDIR} into ${DISTDIR}/${DISTFILES}" - @cd ${XDISTDIR} && ${TAR} -ycf ${DISTDIR}/${DISTFILES} * -. else - @${ECHO_CMD} "" - @${ECHO_CMD} "${XDISTDIR} does not appear to contain the X-Plane ${PORTVERSION} distribution." - @${ECHO_CMD} "" - @${FALSE} -. endif -.else - @${ECHO_CMD} "" - @${ECHO_CMD} "XDISTDIR not defined." - @${ECHO_CMD} "" - @${ECHO_CMD} "You must point XDISTDIR to the path where you have installed the X-Plane" - @${ECHO_CMD} "distribution with the installer, for instance:" - @${ECHO_CMD} "" - @${ECHO_CMD} " make dist XDISTDIR=/tmp/X-Plane" - @${ECHO_CMD} "" - @${FALSE} -.endif - -post-patch: - @${FIND} ${WRKSRC} -type d -empty -exec ${TOUCH} "{}/.keep_me" \; - @${MKDIR} ${WRKSRC}/.programs -.for p in ${PROGRAMS} - @${MV} -f ${WRKSRC}/${p}-* ${WRKSRC}/.programs -.endfor - -pre-install: - @${MKDIR} ${WRKDIR}/.wrapper - @${MV} -f ${WRKDIR}/x-plane-wrapper ${WRKDIR}/.wrapper - @${RM} -f ${PLIST} - @${RM} -f ${PLIST}.dirs -.for d in "" .programs - @cd ${WRKSRC}/${d} && \ - ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|${XDIR_REL}/|' >> ${PLIST} && \ - ${FIND} * -type d >> ${PLIST}.dirs -.endfor - @${SORT} -ru ${PLIST}.dirs | ${SED} -e 's|^|@dirrm ${XDIR_REL}/|' >> ${PLIST} - -do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/.wrapper/x-plane-wrapper ${PREFIX}/libexec -.for p in ${PROGRAMS} - ${LN} -sf ${PREFIX}/libexec/x-plane-wrapper ${PREFIX}/bin/${p} -.endfor -.for d in "" .programs - cd ${WRKSRC}/${d} && ${FIND} * -type d -exec ${MKDIR} "${XDIR}/{}" \; -.endfor - cd ${WRKSRC} && ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${XDIR}/{}" \; - cd ${WRKSRC}/.programs && ${FIND} * -type f -exec ${INSTALL_PROGRAM} "{}" "${XDIR}/{}" \; - -post-install: - @${CAT} ${PKGMESSAGE} - -.include diff --git a/games/linux-x-plane/files/x-plane-wrapper.in b/games/linux-x-plane/files/x-plane-wrapper.in deleted file mode 100644 index 9112e3a05cec..000000000000 --- a/games/linux-x-plane/files/x-plane-wrapper.in +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -xdir="%%XDIR%%" -userdir="$HOME/.x-plane" -portversion="%%PORTVERSION%%" -programs="%%PROGRAMS%%" -targets="athlon-xp i586 pentium-3" - -# The executables need to be run from the data directory, and need to -# write files in it. We therefore mirror the data directory hierarchy -# in $userdir, and create symlinks to the data files. - -if [ "x`cat $userdir/version 2>/dev/null`" != "x$portversion" ]; then - if [ -e $userdir ]; then - cd $userdir || exit 1 - - echo "Removing dangling symlinks from $userdir" - find * -type l ! -exec stat -L {} \; -delete >/dev/null 2>&1 - - echo "Removing obsolete configuration from $userdir" - rm -f Resources/Preferences/* - rm -f $userdir/cpu - - echo "Removing empty directories from $userdir" - find -d * -type d -empty -delete - fi - - echo "Updating hierarchy in $userdir" - cd $xdir || exit 1 - - find * -type d -exec mkdir -p "$userdir/{}" \; || exit 1 - find * -type f ! -name '*.prf' -exec ln -sf "$xdir/{}" "$userdir/{}" \; || exit 1 - - for p in $programs; do - for t in $targets; do - if [ -e $p-$t ]; then - rm -f $userdir/$p-$t - cp -p $p-$t $userdir || exit 1 - fi - done - done - - echo "$portversion" > $userdir/version || exit 1 -fi - -program=`basename $0` - -cd $userdir || exit 1 - -for t in $targets; do - if [ -e $program-$t ]; then - exec ./$program-$t "$@" - fi -done - -echo "$program not found. Check your X-Plane installation." >&2 -exit 1 diff --git a/games/linux-x-plane/pkg-descr b/games/linux-x-plane/pkg-descr deleted file mode 100644 index 3356beb54115..000000000000 --- a/games/linux-x-plane/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -X-Plane is a popular commercial flight simulator. If you do not have an -X-Plane 8 DVD, the program acts as a demo and locks the controls after 6 -minutes. - -WWW: http://www.x-plane.com/ diff --git a/games/linux-x-plane/pkg-message b/games/linux-x-plane/pkg-message deleted file mode 100644 index 7fa3cbbf1876..000000000000 --- a/games/linux-x-plane/pkg-message +++ /dev/null @@ -1,6 +0,0 @@ -=============================================================================== - -If you want to use your joysticks with X-Plane, install the -devel/linux-js port. - -=============================================================================== -- cgit