Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 21:01:53 -0700 (MST)
From:      Jordan DeLong <fracture@allusion.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28249: New port: games/yadex DOOM/Hexen/etc Wad editor
Message-ID:  <200106180401.f5I41qp11856@cx420564-b.tucson1.az.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         28249
>Category:       ports
>Synopsis:       New port: games/yadex DOOM/Hexen/Heretic WAD editor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 17 21:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jordan DeLong <fracture@allusion.net>
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
None
>Environment:
System: FreeBSD cx420564-b 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Tue Apr 24 08:33:58 GMT 2001 fracture@cx420564-b:/usr/src/sys/compile/HOBOIV i386

>Description:
	A nice WAD editor that supports WADs for several differnt games
>How-To-Repeat:
	shar file is in the Fix: section
>Fix:
	

# 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:
#
#	yadex
#	yadex/Makefile
#	yadex/pkg-descr
#	yadex/pkg-comment
#	yadex/pkg-plist
#	yadex/distinfo
#	yadex/files
#	yadex/files/patch-GNUmakefile
#	yadex/files/patch-cfgfile.cc
#	yadex/files/patch-game.cc
#	yadex/files/patch-wads2.cc
#	yadex/files/patch-yadex.cfg
#
echo c - yadex
mkdir -p yadex > /dev/null 2>&1
echo x - yadex/Makefile
sed 's/^X//' >yadex/Makefile << 'END-of-yadex/Makefile'
X# New ports collection makefile for:	yadex
X# Date created:				17 June 2001
X# Whom:					Jordan DeLong <fracture@allusion.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yadex
XPORTVERSION=	1.5.1
XCATEGORIES=	games
XMASTER_SITES=	http://www.teaser.fr/~amajorel/yadex/
X
XMAINTAINER=	fracture@allusion.net
X
XUSE_GMAKE=	yes
XMAKEFILE=	GNUmakefile
X
XMAN6=		yadex.6 ybsp.6
X
X#pre-build:
X#	mv ${WRKDIR}/${DISTNAME}/Makefile ${WRKDIR}/${DISTNAME}/Makefile.orig
X#	mv ${WRKDIR}/${DISTNAME}/GNUmakefile ${WRKDIR}/${DISTNAME}/Makefile
X
X.include <bsd.port.mk>
END-of-yadex/Makefile
echo x - yadex/pkg-descr
sed 's/^X//' >yadex/pkg-descr << 'END-of-yadex/pkg-descr'
XYadex is a WAD file editor with support for Doom, Doom 2, Hexen, Heretic
Xand probably more.
X
XWWW: http://www.teaser.fr/~amajorel/yadex/download.html
END-of-yadex/pkg-descr
echo x - yadex/pkg-comment
sed 's/^X//' >yadex/pkg-comment << 'END-of-yadex/pkg-comment'
XA WAD-file editor, for games like Doom and Hexen
END-of-yadex/pkg-comment
echo x - yadex/pkg-plist
sed 's/^X//' >yadex/pkg-plist << 'END-of-yadex/pkg-plist'
Xbin/yadex
Xbin/yadex-1.5.1
Xbin/ybsp
Xbin/ybsp-1.5.1
Xetc/yadex/1.5.1/yadex.cfg
Xshare/yadex/1.5.1/doom.ygd
Xshare/yadex/1.5.1/doom02.ygd
Xshare/yadex/1.5.1/doom04.ygd
Xshare/yadex/1.5.1/doom05.ygd
Xshare/yadex/1.5.1/doom2.ygd
Xshare/yadex/1.5.1/doompr.ygd
Xshare/yadex/1.5.1/heretic.ygd
Xshare/yadex/1.5.1/hexen.ygd
Xshare/yadex/1.5.1/strife.ygd
Xshare/yadex/1.5.1/strife10.ygd
X@dirrm share/yadex/1.5.1
X@dirrm share/yadex
X@dirrm etc/yadex/1.5.1
X@dirrm etc/yadex
END-of-yadex/pkg-plist
echo x - yadex/distinfo
sed 's/^X//' >yadex/distinfo << 'END-of-yadex/distinfo'
XMD5 (yadex-1.5.1.tar.gz) = d1328e6b57181b54897c408276d87e20
END-of-yadex/distinfo
echo c - yadex/files
mkdir -p yadex/files > /dev/null 2>&1
echo x - yadex/files/patch-GNUmakefile
sed 's/^X//' >yadex/files/patch-GNUmakefile << 'END-of-yadex/files/patch-GNUmakefile'
X--- GNUmakefile.orig	Tue Dec 12 16:49:00 2000
X+++ GNUmakefile	Sun Jun 17 20:40:55 2001
X@@ -24,6 +24,9 @@
X # Typical values : "/usr", "/usr/local" and "/opt".
X PREFIX = /usr/local
X 
X+# Make a PREFIX def available to the source
X+DEFINES += -DPREFIX=\"$(PREFIX)\"
X+
X # Which OS ?
X OS := $(shell uname -s | tr A-Z a-z)
X 
X@@ -352,7 +355,7 @@
X else
X   INST_CFGDIR = $(PREFIX)/etc/yadex/$(VERSION)
X endif
X-INST_YGDDIR = $(PREFIX)/share/games/yadex/$(VERSION)
X+INST_YGDDIR = $(PREFIX)/share/yadex/$(VERSION)
X ifdef FHS_MAN
X   INST_MANDIR = $(PREFIX)/share/man/man6
X else
END-of-yadex/files/patch-GNUmakefile
echo x - yadex/files/patch-cfgfile.cc
sed 's/^X//' >yadex/files/patch-cfgfile.cc << 'END-of-yadex/files/patch-cfgfile.cc'
X--- src/cfgfile.cc.orig	Sat Aug 26 13:21:12 2000
X+++ src/cfgfile.cc	Sun Jun 17 20:33:08 2001
X@@ -572,10 +572,8 @@
X    "~/.yadex/%v/%b",
X    "~/.yadex/%b",
X    "%i/%b",
X-   "/usr/local/etc/yadex/%v/%b",
X-   "/usr/local/etc/yadex/%b",
X-   "/etc/yadex/%v/%b",
X-   "/etc/yadex/%b",
X+   PREFIX "/etc/yadex/%v/%b",
X+   PREFIX "/etc/yadex/%b",
X    0
X    };
X 
END-of-yadex/files/patch-cfgfile.cc
echo x - yadex/files/patch-game.cc
sed 's/^X//' >yadex/files/patch-game.cc << 'END-of-yadex/files/patch-game.cc'
X--- src/game.cc.orig	Wed May 10 15:01:58 2000
X+++ src/game.cc	Sun Jun 17 20:42:48 2001
X@@ -42,10 +42,8 @@
X    "./%b",
X    "~/.yadex/%v/%b",
X    "%i/%b",
X-   "/usr/local/share/games/yadex/%v/%b",
X-   "/usr/share/games/yadex/%v/%b",
X-   "/usr/local/share/games/yadex/%b",
X-   "/usr/share/games/yadex/%b",
X+   PREFIX "/share/yadex/%v/%b",
X+   PREFIX "/share/yadex/%b",
X    0
X    };
X 
END-of-yadex/files/patch-game.cc
echo x - yadex/files/patch-wads2.cc
sed 's/^X//' >yadex/files/patch-wads2.cc << 'END-of-yadex/files/patch-wads2.cc'
X--- src/wads2.cc.orig	Sun May  7 05:47:11 2000
X+++ src/wads2.cc	Sun Jun 17 20:46:41 2001
X@@ -910,10 +910,8 @@
X    {
X    "",
X    "~/",                            // "~" means "the user's home directory"
X-   "/usr/local/share/games/%s/",    // %s is replaced by <Game>
X-   "/usr/share/games/%s/",          // %s is replaced by <Game>
X-   "/usr/local/share/games/wads/",
X-   "/usr/share/games/wads/",
X+   "~/doom/",			    // several doom variants put wads here
X+   PREFIX "/share/%s/",             // %s is replaced by <Game>
X    0
X    };
X 
END-of-yadex/files/patch-wads2.cc
echo x - yadex/files/patch-yadex.cfg
sed 's/^X//' >yadex/files/patch-yadex.cfg << 'END-of-yadex/files/patch-yadex.cfg'
X--- yadex.cfg.orig	Sat Aug 26 13:20:26 2000
X+++ yadex.cfg	Sun Jun 17 20:54:36 2001
X@@ -20,16 +20,16 @@
X #  9 doompr   Doom press release pre-beta (/pub/idgames/historic/doomprbt.zip)
X # 10 strife10 Strife 1.0 (demo or commercial)
X 
X-  iwad1  = /usr/local/share/games/doom/doom.wad
X-  iwad2  = /usr/local/share/games/doom2/doom2.wad
X-  iwad3  = /usr/local/share/games/heretic/heretic.wad
X-  iwad4  = /usr/local/share/games/hexen/hexen.wad
X-  iwad5  = /usr/local/share/games/strife/strife1.wad
X-  iwad6  = /usr/local/share/games/doom02/doom.wad
X-  iwad7  = /usr/local/share/games/doom04/doom.wad
X-  iwad8  = /usr/local/share/games/doom05/doom.wad
X-  iwad9  = /usr/local/share/games/doompr/doompres.wad
X-  iwad10 = /usr/local/share/games/strife10/strife1.wad
X+  iwad1  = /usr/local/share/doom/doom.wad
X+  iwad2  = /usr/local/share/doom/doom2.wad
X+  iwad3  = /usr/local/share/heretic/heretic.wad
X+  iwad4  = /usr/local/share/hexen/hexen.wad
X+  iwad5  = /usr/local/share/strife/strife1.wad
X+  iwad6  = /usr/local/share/doom02/doom.wad
X+  iwad7  = /usr/local/share/doom04/doom.wad
X+  iwad8  = /usr/local/share/doom05/doom.wad
X+  iwad9  = /usr/local/share/doompr/doompres.wad
X+  iwad10 = /usr/local/share/strife10/strife1.wad
X 
X # Name of the patch wads you want to load. None by default.
X 
END-of-yadex/files/patch-yadex.cfg
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106180401.f5I41qp11856>