1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/linux-quake3-demo/Makefile
Boris Samorodov 3e3d0c559a Convert ports which use USE_GL=linux to USE_LINUX_APPS+=dri.
This is needed to switch a default linux base at 8-CURRENT
to linux_base-f10. No PORTREVISION bump is needed since
it's a mere infrastructure fix. Affected ports:
-----
games/legends
games/linux-quake3-demo
games/rtcw
net/skype-devel
-----

Note: no more ports are using USE_GL=linux, it may be removed
from Mk/bsd.ports.mk.

Approved by:	maintainer timeout (2 months, the needed changes were submitted to emulation@ at 2009-04-09)
2009-06-07 15:57:21 +00:00

52 lines
1.2 KiB
Makefile

# 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$
#
PORTNAME= quake3
DISTVERSION= 1.11-6
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -demo
DISTNAME= linuxq3ademo-${DISTVERSION}.x86
EXTRACT_SUFX= .gz.sh
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Quake III Arena Demo
USE_LINUX= yes
USE_LINUX_APPS+=dri
NO_BUILD= yes
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
SUB_FILES= q3demo
do-extract:
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} && ${TAIL} +165 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
${TAR} zxf -
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/q3demo ${PREFIX}/bin
@${MKDIR} ${DATADIR}
@${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${DATADIR}
@${CP} -R ${WRKSRC}/demoq3 ${DATADIR}
@${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${DATADIR}/libGL.so
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${CP} -R ${WRKSRC}/Help/* ${DOCSDIR}
.endif
.include <bsd.port.mk>