2001-03-10 19:24:59 +01:00
|
|
|
# New ports collection makefile for: linux-q3ademo
|
|
|
|
# Date created: 11 December 2000
|
|
|
|
# Whom: Marc van Woerkom <3d@freebsd.org>
|
|
|
|
#
|
|
|
|
# - inspired by linux realplayer 7 port
|
|
|
|
# - special thanks to the Emacs key board macro
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-10-16 08:47:05 +02:00
|
|
|
PORTNAME= quake3
|
|
|
|
DISTVERSION= 1.11-6
|
2008-05-07 01:36:57 +02:00
|
|
|
PORTREVISION= 5
|
2005-10-16 08:47:05 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GENTOO}
|
|
|
|
MASTER_SITE_SUBDIR= distfiles
|
2005-07-17 12:03:40 +02:00
|
|
|
PKGNAMEPREFIX= linux-
|
2005-10-16 08:47:05 +02:00
|
|
|
PKGNAMESUFFIX= -demo
|
|
|
|
DISTNAME= linuxq3ademo-${DISTVERSION}.x86
|
|
|
|
EXTRACT_SUFX= .gz.sh
|
2001-03-10 19:24:59 +01:00
|
|
|
|
2006-04-09 15:08:16 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2005-10-16 08:47:05 +02:00
|
|
|
COMMENT= Quake III Arena Demo
|
2001-03-10 19:24:59 +01:00
|
|
|
|
2005-10-16 08:47:05 +02:00
|
|
|
USE_LINUX= yes
|
2009-06-07 17:57:21 +02:00
|
|
|
USE_LINUX_APPS+=dri
|
2001-03-10 19:24:59 +01:00
|
|
|
NO_BUILD= yes
|
2005-10-16 08:47:05 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2001-03-10 19:24:59 +01:00
|
|
|
|
2005-10-16 08:47:05 +02:00
|
|
|
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
2001-03-10 19:24:59 +01:00
|
|
|
|
2005-10-16 08:47:05 +02:00
|
|
|
SUB_FILES= q3demo
|
2001-03-10 19:24:59 +01:00
|
|
|
|
|
|
|
do-extract:
|
2005-10-16 08:47:05 +02:00
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
@cd ${WRKDIR} && ${TAIL} +165 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
|
|
|
${TAR} zxf -
|
2001-03-10 19:24:59 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-10-16 08:47:05 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/q3demo ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${DATADIR}
|
|
|
|
@${CP} -R ${WRKSRC}/demoq3 ${DATADIR}
|
2008-05-07 01:36:57 +02:00
|
|
|
@${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${DATADIR}/libGL.so
|
2001-03-10 19:24:59 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-10-16 08:47:05 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${CP} -R ${WRKSRC}/Help/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2008-05-07 01:36:57 +02:00
|
|
|
.include <bsd.port.mk>
|