From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 22 00:00:32 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B679816A41F for ; Thu, 22 Sep 2005 00:00:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC2843D45 for ; Thu, 22 Sep 2005 00:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8M00Vpo097423 for ; Thu, 22 Sep 2005 00:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8M00VJI097415; Thu, 22 Sep 2005 00:00:31 GMT (envelope-from gnats) Resent-Date: Thu, 22 Sep 2005 00:00:31 GMT Resent-Message-Id: <200509220000.j8M00VJI097415@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5271516A41F for ; Wed, 21 Sep 2005 23:56:41 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D3CE43D49 for ; Wed, 21 Sep 2005 23:56:39 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 85007 invoked from network); 21 Sep 2005 23:56:38 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 21 Sep 2005 23:56:38 -0000 Message-Id: <1127347009.0@phobos.mars.bsd> Date: Wed, 21 Sep 2005 20:56:49 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/86439: [NEW PORT] games/doom-data - Doom data files (Doom, Doom II, Hexen, Heretic and Strife) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 00:00:32 -0000 >Number: 86439 >Category: ports >Synopsis: [NEW PORT] games/doom-data - Doom data files (Doom, Doom II, Hexen, Heretic and Strife) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 22 00:00:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- doom-data.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # doom-data # doom-data/Makefile # doom-data/Makefile.include # doom-data/files # doom-data/files/pkg-message.in # doom-data/distinfo # doom-data/pkg-descr # doom-data/pkg-plist # echo c - doom-data mkdir -p doom-data > /dev/null 2>&1 echo x - doom-data/Makefile sed 's/^X//' >doom-data/Makefile << 'END-of-doom-data/Makefile' X# New ports collection makefile for: doom-data X# Date created: 21 Sep 2005 X# Whom: Alejandro Pulver X# X# $FreeBSD$ X# X XPORTNAME= data XPORTVERSION= 1.0 XCATEGORIES= games XMASTER_SITES= http://www.ijs.si/~lesi/distfiles/doom/ XDISTFILES= # XDIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} XEXTRACT_SUFX= .bz2 X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Doom data files (Doom, Doom II, Hexen, Heretic and Strife) X XUSE_BZIP2= yes XNO_BUILD= yes XNO_WRKSUBDIR= yes X XOPTIONS= DOOM "Install Doom shareware data" on \ X HERETIC "Install Heretic shareware data" off \ X HEXEN "Install Hexen shareware data" off \ X STRIFE "Install Strife shareware data" off X XSUB_FILES= pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message X XLATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} X XLIST= DOOM HERETIC HEXEN STRIFE X XDOOM_WAD= doom1.wad XHERETIC_WAD= heretic1.wad XHEXEN_WAD= hexen.wad XSTRIFE_WAD= strife0.wad X X.include "Makefile.include" X X.include X X.for f in ${LIST} X. if defined(WITH_${f}) XDISTFILES+= ${${f}_WAD}${EXTRACT_SUFX} XPLIST_SUB+= ${f}="" X. else XPLIST_SUB+= ${f}="@comment " X. endif X.endfor X Xdo-extract: X @${MKDIR} ${WRKDIR} X.for f in ${LIST} X. if defined(WITH_${f}) X @${BZIP2_CMD} -dc ${_DISTDIR}/${${f}_WAD}${EXTRACT_SUFX} > \ X ${WRKDIR}/${${f}_WAD} X. endif X.endfor X Xdo-install: X @${MKDIR} ${DATADIR} X.for f in ${LIST} X. if defined(WITH_${f}) X @${INSTALL_DATA} ${WRKSRC}/${${f}_WAD} ${DATADIR} X. endif X.endfor X Xpost-install: X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include END-of-doom-data/Makefile echo x - doom-data/Makefile.include sed 's/^X//' >doom-data/Makefile.include << 'END-of-doom-data/Makefile.include' X# Makefile for defining variables used by other Doom related ports. X X# Determine if the port is a Doom engine. X XDMENGINES= deng doom doomlegacy prboom vavoom X X.for f in ${DMENGINES} X. if ${PORTNAME} == ${f} XENGINE= yes X. endif X.endfor X X# Package name prefix. X XDMPKGNAMEPREFIX=doom- X X.if !defined(ENGINE) XPKGNAMEPREFIX?= ${DMPKGNAMEPREFIX} X.endif X X# Dependency to "games/doom-data". X X.if ${PORTNAME} != "data" XRUN_DEPENDS+= ${DMDIR}:${PORTSDIR}/games/doom-data X.endif X X# Installation directories. X XDMDIR= ${LOCALBASE}/share/doom X X.if ${PORTNAME} == "data" XDATADIR?= ${DMDIR} X.endif X X.if ${PORTNAME} != "data" && !defined(ENGINE) XDATADIR?= ${DMDIR}/${PORTNAME} X.endif X XDOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} X XPLIST_SUB+= DMDIR="${DMDIR:S/${PREFIX}\///}" XSUB_LIST+= DMDIR="${DMDIR}" END-of-doom-data/Makefile.include echo c - doom-data/files mkdir -p doom-data/files > /dev/null 2>&1 echo x - doom-data/files/pkg-message.in sed 's/^X//' >doom-data/files/pkg-message.in << 'END-of-doom-data/files/pkg-message.in' X==================================================================== X XTo use the full version of the games you need to own a legitimate Xcopy of Doom, Doom II, Hexen, Heretic and/or Strife. X XIf you have them then copy the ".wad" files to X%%DATADIR%% X X==================================================================== END-of-doom-data/files/pkg-message.in echo x - doom-data/distinfo sed 's/^X//' >doom-data/distinfo << 'END-of-doom-data/distinfo' XMD5 (doom-data/doom1.wad.bz2) = c7fd38f3698110efadea1c9475736fdc XSIZE (doom-data/doom1.wad.bz2) = 1689027 XMD5 (doom-data/hacx.wad.bz2) = bc2245699c36736a0fa62a76b95f4e6c XSIZE (doom-data/hacx.wad.bz2) = 8976448 XMD5 (doom-data/heretic1.wad.bz2) = 66462a87884aa00a41c0208bb152bbaa XSIZE (doom-data/heretic1.wad.bz2) = 2218057 XMD5 (doom-data/hexen.wad.bz2) = 0478c38a75809b9bf1b604e6e688df4b XSIZE (doom-data/hexen.wad.bz2) = 4897389 XMD5 (doom-data/strife0.wad.bz2) = 7ce874f958c1538c8b96dd972e3d1fd0 XSIZE (doom-data/strife0.wad.bz2) = 4051675 END-of-doom-data/distinfo echo x - doom-data/pkg-descr sed 's/^X//' >doom-data/pkg-descr << 'END-of-doom-data/pkg-descr' XDoom data files (Doom, Doom II, Hexen, Heretic, Strife). X XThis port installs the data files needed to run Doom. X XYou still need to have a legitimate copy of the game in order to obtain Xthe full game, otherwise you can use the shareware version. END-of-doom-data/pkg-descr echo x - doom-data/pkg-plist sed 's/^X//' >doom-data/pkg-plist << 'END-of-doom-data/pkg-plist' X%%DOOM%%%%DATADIR%%/doom1.wad X%%HERETIC%%%%DATADIR%%/heretic1.wad X%%HEXEN%%%%DATADIR%%/hexen.wad X%%STRIFE%%%%DATADIR%%/strife0.wad X@unexec rmdir %D/%%DATADIR%% >/dev/null 2>&1 || echo "If you are permanently removing this port, you should remove any WAD files left in %D/%%DATADIR%%." | fmt END-of-doom-data/pkg-plist exit --- doom-data.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: