aboutsummaryrefslogtreecommitdiff
path: root/games/linux-ut2004-demo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/linux-ut2004-demo/Makefile')
-rw-r--r--games/linux-ut2004-demo/Makefile88
1 files changed, 0 insertions, 88 deletions
diff --git a/games/linux-ut2004-demo/Makefile b/games/linux-ut2004-demo/Makefile
deleted file mode 100644
index e83781b7835a..000000000000
--- a/games/linux-ut2004-demo/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= ut2004-demo
-PORTVERSION= 3334
-CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_GENTOO} \
- http://ftp.games.skynet.be/pub/misc/
-MASTER_SITE_SUBDIR= distfiles # for MASTER_SITE_GENTOO
-PKGNAMEPREFIX= linux-
-DISTNAME= ut2004-lnx-demo${PORTVERSION}
-EXTRACT_SUFX= .run
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Unreal Tournament 2004 demo
-
-DEPRECATED= Unmaintained restricted ancient demo
-EXPIRATION_DATE=2014-08-20
-
-ONLY_FOR_ARCHS= i386 amd64
-USE_LINUX= yes
-USE_LINUX_APPS= xorglibs
-RESTRICTED= Redistribution is limited, see license
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
-
-UTDIR= ${PREFIX}/lib/${PORTNAME}
-UTDIR_REL= ${UTDIR:S,^${PREFIX}/,,}
-
-PLIST= ${WRKDIR}/pkg-plist
-
-SUB_FILES= ut2004-demo
-SUB_LIST= UTDIR="${UTDIR}"
-
-PLIST_FILES= bin/ut2004-demo \
- %%DATADIR%%/UT2004Logo.bmp %%DATADIR%%/ut2004.xpm
-PLIST_DIRS= ${UTDIR_REL} %%DATADIR%%
-PORTDOCS= *
-
-LIBDIRS= Animations Benchmark ForceFeedback KarmaData Maps Music \
- Sounds Speech StaticMeshes System Textures Web
-
-OPTIONS_DEFINE= DOCS NVIDIA_GL
-NVIDIA_GL_DESC= Use GL driver from nvidia-driver
-
-NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
-
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MNVIDIA_GL}
-USE_LINUX_APPS+=dri
-.endif
-
-do-extract:
- @${MKDIR} ${WRKSRC}
- @cd ${WRKSRC} && ${TAIL} -c +8664 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf -
-.for f in linux-x86.tar.bz2 ut2004demo.tar.bz2
- @cd ${WRKSRC} && ${TAR} yxf ${f}
-.endfor
- @cd ${WRKSRC} && ${TAR} zxf setupstuff.tar.gz
-
-pre-install:
- @${RM} -f ${PLIST}
- @cd ${WRKSRC} && \
- ${FIND} ${LIBDIRS} -type f | ${SORT} \
- | ${SED} -e 's|^|${UTDIR_REL}/|' >> ${PLIST} && \
- ${FIND} ${LIBDIRS} -type d ! -empty | ${SORT} -r \
- | ${SED} -e 's|^|@dirrm ${UTDIR_REL}/|' >> ${PLIST}
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/ut2004-demo ${STAGEDIR}${PREFIX}/bin
- cd ${WRKSRC} && \
- ${FIND} ${LIBDIRS} -type d ! -empty -exec \
- ${MKDIR} "${STAGEDIR}${UTDIR}/{}" \; && \
- ${FIND} ${LIBDIRS} -type f -exec \
- ${INSTALL_DATA} "{}" "${STAGEDIR}${UTDIR}/{}" \;
- ${CHMOD} ${BINMODE} ${STAGEDIR}${UTDIR}/System/*-bin
- ${CHMOD} ${LIBMODE} ${STAGEDIR}${UTDIR}/System/*.so*
- @${MKDIR} ${STAGEDIR}${DATADIR}
-.for f in Help/UT2004Logo.bmp ut2004.xpm
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
-.endfor
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in Help/Manual.pdf README.linux
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>