mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
8c286f7dad
Software and published by Activision. Set in 2145 in the Union Aerospace Corporation (UAC) research center on Mars, it is a reimagining of the original Doom, with completely new graphics and game engine. WWW: http://www.doom3.com/ PR: ports/91877 Submitted by: Alejandro Pulver <alejandro@varnet.biz> Approved by: garga (mentor)
62 lines
1.4 KiB
Makefile
62 lines
1.4 KiB
Makefile
# New ports collection makefile for: linux-doom3
|
|
# Date created: 7 May 2006
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= doom3
|
|
PORTVERSION= 1.3.1302
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
|
|
MASTER_SITE_SUBDIR= doom3/linux
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= ${PORTNAME}-linux-${PORTVERSION}.x86
|
|
EXTRACT_SUFX= .run
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= Doom III for Linux
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
USE_XLIB= yes
|
|
USE_LINUX= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
OPTIONS= NO_CDKEY "Use older version which doesn't require cd key" off
|
|
|
|
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
|
|
SUB_FILES= doom3 doom3-ded pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_NO_CDKEY)
|
|
PORTVERSION= 1.1.1286
|
|
MASTER_SITE_SUBDIR= doom3/linux/old
|
|
PLIST_SUB+= NEW="@comment "
|
|
.else
|
|
PLIST_SUB+= NEW=""
|
|
.endif
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKDIR}
|
|
@cd ${WRKDIR} && ${TAIL} +374 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
|
${TAR} zxf -
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}/base
|
|
cd ${WRKSRC}/base && \
|
|
${INSTALL_DATA} game01.pk4 pak*.pk4 ${DATADIR}/base
|
|
cd ${WRKSRC}/bin/Linux/x86 && \
|
|
${INSTALL_PROGRAM} doom.x86 doomded.x86 ${DATADIR}
|
|
${MKDIR} ${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/doom3.png ${PREFIX}/share/pixmaps
|
|
${INSTALL_PROGRAM} ${WRKDIR}/doom3 ${WRKDIR}/doom3-ded ${PREFIX}/bin
|
|
|
|
post-install:
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include <bsd.port.post.mk>
|