pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

doomlegacy-devel: Renamed from doomlegacy



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Fri Aug 16 15:16:13 2019 +0200
Changeset:	a5cbc175aea44dbcb247b4d4d3173119a01679c0

Modified Files:
	Makefile
Added Files:
	doomlegacy-devel/DESCR
	doomlegacy-devel/MESSAGE.doomlegacy
	doomlegacy-devel/Makefile
	doomlegacy-devel/PLIST
	doomlegacy-devel/TODO
	doomlegacy-devel/distinfo
	doomlegacy-devel/files/doomlegacy.6.in
Removed Files:
	doomlegacy/DESCR
	doomlegacy/MESSAGE.doomlegacy
	doomlegacy/Makefile
	doomlegacy/PLIST
	doomlegacy/TODO
	doomlegacy/distinfo
	doomlegacy/files/doomlegacy.6.in

Log Message:
doomlegacy-devel: Renamed from doomlegacy

Thanks to wiz@ for pointing out the mismatch between PKGNAME and directory name.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a5cbc175aea44dbcb247b4d4d3173119a01679c0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                               |   2 +-
 doomlegacy-devel/DESCR                 |  23 +++
 doomlegacy-devel/MESSAGE.doomlegacy    |  10 ++
 doomlegacy-devel/Makefile              | 110 ++++++++++++++
 doomlegacy-devel/PLIST                 |   6 +
 doomlegacy-devel/TODO                  |  10 ++
 doomlegacy-devel/distinfo              |   6 +
 doomlegacy-devel/files/doomlegacy.6.in | 267 +++++++++++++++++++++++++++++++++
 doomlegacy/DESCR                       |  23 ---
 doomlegacy/MESSAGE.doomlegacy          |  10 --
 doomlegacy/Makefile                    | 110 --------------
 doomlegacy/PLIST                       |   6 -
 doomlegacy/TODO                        |  10 --
 doomlegacy/distinfo                    |   6 -
 doomlegacy/files/doomlegacy.6.in       | 267 ---------------------------------
 15 files changed, 433 insertions(+), 433 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 5489751580..d37689e56f 100644
--- a/Makefile
+++ b/Makefile
@@ -648,7 +648,7 @@ SUBDIR+=	dokuwiki
 SUBDIR+=	dolfin
 SUBDIR+=	dolphin-plugins
 SUBDIR+=	dolphin5
-SUBDIR+=	doomlegacy
+SUBDIR+=	doomlegacy-devel
 SUBDIR+=	doorman
 SUBDIR+=	dosbox-svn
 SUBDIR+=	dosbox-x
diff --git a/doomlegacy-devel/DESCR b/doomlegacy-devel/DESCR
new file mode 100644
index 0000000000..9e4b7d28e8
--- /dev/null
+++ b/doomlegacy-devel/DESCR
@@ -0,0 +1,23 @@
+This is one of the most popular Doom source ports.
+It enhances Doom with things like:
+- Free Look
+- OpenGL renderer
+- Heretic support,
+- TCP/IP networking
+and much more.
+
+Doom Legacy can play Doom, Boom, Marine's Best Friend (MBF), and Heretic maps.
+In addition to the original games by id Software and Raven Software, there are
+hundreds of free, fan-made maps available on the Internet. These maps are
+typically distributed as PWAD files, which are not fully self-contained.
+For each game you will also need the corresponding IWAD data file, which
+contains all the graphics, wall and floor textures, sounds, and music for that
+game. For example, if you want to play Doom II maps, you'll need the IWAD file
+doom2.wad, or one of the free replacements.
+
+Legacy has implemented the fundamental and de-facto-standard Boom extensions,
+and the Marine's Best Friend (MBF) extensions. Legacy also has implemented
+among other things 3D floors, swimmable water and other special effects using
+extended linedef codes, and supports the FraggleScript scripting language.
+
+This package contains the SDL build of Doom Legacy.
diff --git a/doomlegacy-devel/MESSAGE.doomlegacy b/doomlegacy-devel/MESSAGE.doomlegacy
new file mode 100644
index 0000000000..ded7130196
--- /dev/null
+++ b/doomlegacy-devel/MESSAGE.doomlegacy
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE.doomlegacy,v 1.1 2019/06/17 13:53:22 micha Exp $
+
+Note: The location of the ${PKGNAME} WAD directory has been set to:
+
+	${DOOMWADDIR_CONF}
+
+This is the pkgsrc standard Doom WAD directory location (shared with other
+Doom packages).
+===========================================================================
diff --git a/doomlegacy-devel/Makefile b/doomlegacy-devel/Makefile
new file mode 100644
index 0000000000..2c65ef187a
--- /dev/null
+++ b/doomlegacy-devel/Makefile
@@ -0,0 +1,110 @@
+# $NetBSD$
+
+VERS=		1.47.2
+#PKGNAME=	doomlegacy-${VERS}
+SVNVERS=	1448
+DISTNAME=	doomlegacy-devel-r${SVNVERS}
+CATEGORIES=	games
+
+DISTFILES=			doomlegacy_${VERS}_common.zip
+MASTER_SITES=			${MASTER_SITE_SOURCEFORGE:=doomlegacy/}
+SVN_REPOSITORIES=		legacy_one
+SVN_REPO.legacy_one=		svn://svn.code.sf.net/p/doomlegacy/svn/legacy_one/trunk
+SVN_REVISION.legacy_one=	${SVNVERS}
+SVN_EXTRACTDIR.legacy_one=	doomlegacy-devel-r${SVNVERS}
+
+MAINTAINER=		micha%NetBSD.org@localhost
+HOMEPAGE=		http://doomlegacy.sourceforge.net/
+COMMENT=		The legacy of Doom
+LICENSE=		gnu-gpl-v2
+
+CONFLICTS+=		doomlegacy-[0-9]*
+
+# Tested on Linux/ppc (32bit Big Endian) and NetBSD/amd64 (64bit Little Endian)
+# Untested: In general the source code has support for the other listed OS too
+ONLY_FOR_PLATFORM=	Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-* \
+			NetBSD-*-* OpenBSD-*-* SunOS-*-*
+
+USE_LANGUAGES+=		c99
+
+USE_TOOLS+=		gmake
+MAKE_JOBS_SAFE=		no
+
+.include "../../wip/mk/svn-package.mk"
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/endian.mk"
+
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+MAKE_FLAGS+=		OS=FREEBSD
+.elif ${OPSYS} == "NetBSD"
+MAKE_FLAGS+=		OS=NETBSD
+.elif ${OPSYS} == "Darwin"
+MAKE_FLAGS+=		OS=MAC
+.else
+# Other Unix (should work for GNU/Linux, OpenBSD and SunOS)
+MAKE_FLAGS+=		OS=LINUX
+.endif
+
+.if ${MACHINE_ENDIAN} == "big"
+# Some compilers define this themselves (but maybe not all)
+CFLAGS+=		-D__BIG_ENDIAN__
+.endif
+
+# DOOMWADDIR is intentionally shared with other Doom packages
+DOOMWADDIR=		share/doom
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6 share/doc/doomlegacy ${DOOMWADDIR}
+
+MESSAGE_SRC+=		MESSAGE.doomlegacy
+MESSAGE_SUBST+=		PKGNAME=${PKGNAME:C/-.*//}
+MESSAGE_SUBST+=		DOOMWADDIR_CONF="${PREFIX}/${DOOMWADDIR}"
+
+# Configure to honor environment
+SUBST_CLASSES+=		makeopt
+SUBST_STAGE.makeopt=	do-configure
+SUBST_MESSAGE.makeopt=	Preparing make_options file ...
+SUBST_FILES.makeopt=	make_options
+SUBST_SED.makeopt=	-e 's,\#COMP_ENVIRONMENT,COMP_ENVIRONMENT,'
+
+# Configure defaults for LEGACYWADDIR and DOOMWADDIR
+SUBST_CLASSES+=		doomdef
+SUBST_STAGE.doomdef=	do-configure
+SUBST_MESSAGE.doomdef=	Preparing doomdef.h file ...
+SUBST_FILES.doomdef=	src/doomdef.h
+SUBST_SED.doomdef=	-e 's,LEGACYWADDIR  "/usr/local/share/games/doomlegacy",LEGACYWADDIR  "${PREFIX}/${DOOMWADDIR}",g'
+SUBST_SED.doomdef+=	-e 's,DEFWADS01  "~/games/doomlegacy/wads",DEFWADS01  "${PREFIX}/${DOOMWADDIR}",'
+
+pre-configure:
+	${CP} ${FILESDIR}/doomlegacy.6.in ${WRKDIR}
+	cd ${WRKSRC} && ${CP} make_options_nix make_options
+
+# Move configure options and process manpage template
+do-configure:
+	cd ${WRKDIR} &&							\
+		${SED} -e 's,$$NAME,doomlegacy,g'			\
+			-e 's,$$VERSION,${VERS},g'			\
+			-e 's,$$WADDIR,${PREFIX}/${DOOMWADDIR},g'	\
+			doomlegacy.6.in >doomlegacy.6
+
+do-install:
+	cd ${WRKSRC} &&							\
+		${INSTALL_PROGRAM} bin/doomlegacy			\
+			${DESTDIR}${PREFIX}/bin;			\
+		${INSTALL_DATA} docs/legacy.css docs/whatsnew.html	\
+			${DESTDIR}${PREFIX}/share/doc/doomlegacy;	\
+	cd ${WRKDIR}/doomlegacy_${VERS} &&				\
+		${INSTALL_DATA} legacy.wad				\
+			${DESTDIR}${PREFIX}/${DOOMWADDIR}/legacy.wad;	\
+	cd ${WRKDIR} &&							\
+		${INSTALL_MAN} ${WRKDIR}/doomlegacy.6			\
+			${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+
+# Ensure that at least the shareware Episode 1 of Doom is available
+# Note: The demos from games/doom1 are not compatible with the Legacy engine
+DEPENDS+=		doom1-[0-9]*:../../games/doom1
+
+BUILDLINK_API_DEPENDS.SDL_mixer+=	SDL_mixer>=1.2.7
+.include "../../audio/SDL_mixer/buildlink3.mk"
+BUILDLINK_API_DEPENDS.SDL+=		SDL>=1.2.10
+.include "../../devel/SDL/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/doomlegacy-devel/PLIST b/doomlegacy-devel/PLIST
new file mode 100644
index 0000000000..351f5d6655
--- /dev/null
+++ b/doomlegacy-devel/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/17 13:53:22 micha Exp $
+bin/doomlegacy
+man/man6/doomlegacy.6
+share/doc/doomlegacy/legacy.css
+share/doc/doomlegacy/whatsnew.html
+share/doom/legacy.wad
diff --git a/doomlegacy-devel/TODO b/doomlegacy-devel/TODO
new file mode 100644
index 0000000000..dcf2f3d9d1
--- /dev/null
+++ b/doomlegacy-devel/TODO
@@ -0,0 +1,10 @@
+[X] Sent patches to upstream
+[X] Imported proposed patchset from upstream
+    => PKGREVISION not bumped, because binary package has not changed
+[X] Renamed man page template to doomlegacy.1.in (suggested by wiz@)
+    => PKGREVISION not bumped, because binary package has not changed
+[X] Move man page to section 6 (it's a game)
+   => Bump PKGREVISION
+[X] Test building of the package again
+    => Tested to work with SVN revision r1448
+[X] Remove patches after upstream integration
diff --git a/doomlegacy-devel/distinfo b/doomlegacy-devel/distinfo
new file mode 100644
index 0000000000..0a9e6286eb
--- /dev/null
+++ b/doomlegacy-devel/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/17 13:53:22 micha Exp $
+
+SHA1 (doomlegacy_1.47.2_common.zip) = 9e6faaea797b988565a078a47e80bbe2119d78b9
+RMD160 (doomlegacy_1.47.2_common.zip) = 1ac1f47563ad2c0d7c5c1bea93a2aaeb1c001c10
+SHA512 (doomlegacy_1.47.2_common.zip) = 7c7c2a0cbab5b9b4645a3fe166addd597de533db7ab41f8011c6c526a868bb04c8dd6b0d27b48765406fbab328bf64fc7827770b395e6c0e5d861d99c4d3865a
+Size (doomlegacy_1.47.2_common.zip) = 981654 bytes
diff --git a/doomlegacy-devel/files/doomlegacy.6.in b/doomlegacy-devel/files/doomlegacy.6.in
new file mode 100644
index 0000000000..2799f574e0
--- /dev/null
+++ b/doomlegacy-devel/files/doomlegacy.6.in
@@ -0,0 +1,267 @@
+.\"=============================================================================
+.\" Header
+.\"
+.\" Copyright (c) 2019 by Michael Baeuerle.
+.\" License: GNU Free Documentation License (GFDL)
+.\"
+.TH $NAME 6 2019-06-16 Unix "$NAME $VERSION manual"
+.\"
+.\"
+.\"=============================================================================
+.\" NAME section
+.\"
+.SH NAME
+Doom Legacy
+.\"
+.\"
+.\"=============================================================================
+.\" SYNOPSIS section
+.\"
+.SH SYNOPSIS
+.B $NAME
+[-opengl] [-iwad xxx.wad] [-file pwad1.wad [pwad2.wad ...]]
+.PP
+.B $NAME
+[-h [g|m|c|s|d|D] | --version]
+.\"
+.\"
+.\"=============================================================================
+.\" DESCRIPTION section
+.\"
+.SH DESCRIPTION
+
+The following information is quoted from Reference Manual:
+.PP
+.B http://doomlegacy.sourceforge.net/docs/legacy.html
+.PP
+
+Doom Legacy can play Doom, Boom, Marine's Best Friend (MBF), and Heretic maps.
+In addition to the original games by id Software and Raven Software, there are
+hundreds of free, fan-made maps available on the Internet. These maps are
+typically distributed as PWAD files, which are not fully self-contained.
+For each game you will also need the corresponding IWAD data file, which
+contains all the graphics, wall and floor textures, sounds, and music for that
+game. For example, if you want to play Doom II maps, you'll need the IWAD file
+doom2.wad, or one of the free replacements.
+
+Legacy has implemented the fundamental and de-facto-standard Boom extensions,
+and the Marine's Best Friend (MBF) extensions. Legacy also has implemented
+among other things 3D floors, swimmable water and other special effects using
+extended linedef codes, and supports the FraggleScript scripting language.
+
+Legacy includes two different graphics engines, the old Doom software renderer
+(with many improvements) and an OpenGL-based hardware renderer.
+The OpenGL renderer is shinier and has fancier effects than the software one,
+but it does not do everything that the software renderer does. It does have
+coronas, explosion light, and other light effects that the software renderer
+does not do.
+Some wads rely upon violating wad rules to get trick effects. Most rely upon
+tricking the software renderer into not drawing something. Using those wads
+with the OpenGL renderer you will see holes in the floor and ceiling, and
+warning messges about polygons.
+
+The first game console we know of was from id Software's game Quake.
+We have been inspired by it and have tried to implement the same functionality
+for the benefit of Quake/Doom fans.
+
+Since Legacy 1.2, the network part of Doom has been totally rewritten.
+It now uses a better transfer method for the packets, (which is usually faster),
+and also implements a basic Client/Server model, where some critical game
+options are changeable only by the server in multiplayer games. Since the
+network communication is faster, we have upped the maximum number of players to
+32!
+.\"
+.\"
+.\"=============================================================================
+.\" OPTIONS section
+.\"
+.SH OPTIONS
+.TP 25
+.BI -config " file
+Set the configfile to use.
+.br
+Default: config.cfg
+.TP
+.BI -file " file [file ...]
+Set PWAD (Patch WAD) files to use.
+.TP
+.BI -game " mode
+Forces a particular game mode to be used.
+.br
+Examples for mode: doom, doomu, doom2, heretic
+.br
+(See Reference Manual for complete table)
+.TP
+.BI -h " [section]
+Print help. An optional section can be specified for details.
+.TP
+.BI -home " directory
+Home directory location, where your configfiles and savegames are kept.
+.TP
+.BI -iwad " file
+Set the main IWAD (Internal WAD) file to use.
+This also determines the game mode when -game is not used.
+.TP
+.BI -noendtext
+Suppress the game EndText screen, which could disrupt some terminal emulations
+because of the special character attributes used.
+.TP
+.BI -opengl
+Hardware accelerated rendering using the OpenGL library.
+Will use hardware acceleration for OpenGL if available.
+If the video card does not have OpenGL hardware acceleration then it will use
+the OpenGL emulation in software, which is very slow.
+.TP
+.BI --version
+Print version and build date.
+.TP
+.BI -warp " num
+Select the map, start game immediately.
+.br
+In DoomII, -warp 13 will goto MAP13.
+.br
+In Ultimate Doom, -warp 1 3 will goto E1M3.
+.TP
+See Reference Manual for a complete options list.
+.\"
+.\"
+.\"=============================================================================
+.\" ENVIRONMENT section
+.\"
+.SH ENVIRONMENT
+.TP 25
+.B DISPLAY
+X display to use. More information about X can be found in
+.BR X (7).
+.TP
+.B DOOMWADDIR
+This environment variable defines a path where WAD files are located.
+.br
+The default is $WADDIR.
+.TP
+.B HOME
+This variable indicates your home directory.
+.TP
+.B USER
+This variable contains your username, is used as the default value for your
+player name in multiplayer games.
+.\"
+.\"
+.\"=============================================================================
+.\" FILES section
+.\"
+.SH FILES
+.TP 25
+.B ~/.doomlegacy/config.cfg
+Default configuration file.
+.TP
+.B ~/.doomlegacy/glconfig.cfg
+Default configuration file for OpenGL mode.
+.TP
+.B ~/.doomlegacy/doomsav*.dsg
+Saved game states.
+.\"
+.\"
+.\"=============================================================================
+.\" NOTES section
+.\"
+.SH NOTES
+If you get no MIDI music, ensure that SDL_mixer has a working MIDI synthesizer
+available. If you use timidity, check that instruments are installed (e.g.
+freepats).
+.PP
+Acknowledgments:
+.IP \(bu 3
+Thanks to id Software of course, for creating the greatest game of all time!
+.PP
+.IP \(bu 3
+To Raven Software, for Heretic and Hexen!
+.PP
+.IP \(bu 3
+Chi Hoang for DosDoom which got us started.
+.PP
+.IP \(bu 3
+Bell Kin for porting Doom Legacy to Linux.
+.PP
+.IP \(bu 3
+Stephane Dierickx for the two pictures in the laucher and the help screen of
+Legacy.
+.PP
+.IP \(bu 3
+Sebastien Bacquet for Qmus2mid.
+.PP
+.IP \(bu 3
+Simon Howard for FraggleScript.
+.PP
+.IP \(bu 3
+TeamTNT for Boom.
+.PP
+.IP \(bu 3
+Steven McGranahan and Robert Baeuml for their large contributions.
+.PP
+.IP \(bu 3
+To all of you who send us ideas and bug reports, thank you!
+.RE
+.\"
+.\"
+.\"=============================================================================
+.\" AUTHORS section
+.\"
+.SH AUTHORS
+Original game by id Software.
+.br
+Heretic by Raven Software.
+.br
+Doom Legacy by Fabrice Denis, Boris Pereira and Thierry Van Elsuwe.
+.br
+Maintained by the Doom Legacy Team since 2001.
+.br
+Man page for pkgsrc by Michael Baeuerle.
+.\"
+.\"
+.\"=============================================================================
+.\" BUGS section
+.\"
+.\" .SH BUGS
+.\"
+.\"
+.\"=============================================================================
+.\" EXAMPLES section
+.\"
+.SH EXAMPLES
+Start the shareware Episode 1 of Doom:
+.IP
+$ $NAME
+.PP
+For the following examples you need the original WAD files of the games
+(copy them to $WADDIR or set DOOMWADDIR to the desired location).
+
+Start Doom and use the OpenGL renderer:
+.IP
+$ $NAME -opengl -iwad doom.wad
+.PP
+Start Doom II:
+.IP
+$ $NAME -iwad doom2.wad
+.PP
+Start Sigil (Doom Episode 5) in compatibility mode as Episode 3:
+.IP
+$ $NAME -game doomu -iwad doomu.wad -file SIGIL_COMPAT.wad
+.PP
+Start Heretic:
+.IP
+$ $NAME -iwad heretic.wad
+.PP
+.\"
+.\"
+.\"=============================================================================
+.\" SEE ALSO section
+.\"
+.SH SEE ALSO
+.BR timidity (1),
+.BR X (7)
+.br
+.BR http://doomlegacy.sourceforge.net/docs/legacy.html
+.\"
+.\"
+.\" EOF
diff --git a/doomlegacy/DESCR b/doomlegacy/DESCR
deleted file mode 100644
index 9e4b7d28e8..0000000000
--- a/doomlegacy/DESCR
+++ /dev/null
@@ -1,23 +0,0 @@
-This is one of the most popular Doom source ports.
-It enhances Doom with things like:
-- Free Look
-- OpenGL renderer
-- Heretic support,
-- TCP/IP networking
-and much more.
-
-Doom Legacy can play Doom, Boom, Marine's Best Friend (MBF), and Heretic maps.
-In addition to the original games by id Software and Raven Software, there are
-hundreds of free, fan-made maps available on the Internet. These maps are
-typically distributed as PWAD files, which are not fully self-contained.
-For each game you will also need the corresponding IWAD data file, which
-contains all the graphics, wall and floor textures, sounds, and music for that
-game. For example, if you want to play Doom II maps, you'll need the IWAD file
-doom2.wad, or one of the free replacements.
-
-Legacy has implemented the fundamental and de-facto-standard Boom extensions,
-and the Marine's Best Friend (MBF) extensions. Legacy also has implemented
-among other things 3D floors, swimmable water and other special effects using
-extended linedef codes, and supports the FraggleScript scripting language.
-
-This package contains the SDL build of Doom Legacy.
diff --git a/doomlegacy/MESSAGE.doomlegacy b/doomlegacy/MESSAGE.doomlegacy
deleted file mode 100644
index ded7130196..0000000000
--- a/doomlegacy/MESSAGE.doomlegacy
+++ /dev/null
@@ -1,10 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE.doomlegacy,v 1.1 2019/06/17 13:53:22 micha Exp $
-
-Note: The location of the ${PKGNAME} WAD directory has been set to:
-
-	${DOOMWADDIR_CONF}
-
-This is the pkgsrc standard Doom WAD directory location (shared with other
-Doom packages).
-===========================================================================
diff --git a/doomlegacy/Makefile b/doomlegacy/Makefile
deleted file mode 100644
index 2c65ef187a..0000000000
--- a/doomlegacy/Makefile
+++ /dev/null
@@ -1,110 +0,0 @@
-# $NetBSD$
-
-VERS=		1.47.2
-#PKGNAME=	doomlegacy-${VERS}
-SVNVERS=	1448
-DISTNAME=	doomlegacy-devel-r${SVNVERS}
-CATEGORIES=	games
-
-DISTFILES=			doomlegacy_${VERS}_common.zip
-MASTER_SITES=			${MASTER_SITE_SOURCEFORGE:=doomlegacy/}
-SVN_REPOSITORIES=		legacy_one
-SVN_REPO.legacy_one=		svn://svn.code.sf.net/p/doomlegacy/svn/legacy_one/trunk
-SVN_REVISION.legacy_one=	${SVNVERS}
-SVN_EXTRACTDIR.legacy_one=	doomlegacy-devel-r${SVNVERS}
-
-MAINTAINER=		micha%NetBSD.org@localhost
-HOMEPAGE=		http://doomlegacy.sourceforge.net/
-COMMENT=		The legacy of Doom
-LICENSE=		gnu-gpl-v2
-
-CONFLICTS+=		doomlegacy-[0-9]*
-
-# Tested on Linux/ppc (32bit Big Endian) and NetBSD/amd64 (64bit Little Endian)
-# Untested: In general the source code has support for the other listed OS too
-ONLY_FOR_PLATFORM=	Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-* \
-			NetBSD-*-* OpenBSD-*-* SunOS-*-*
-
-USE_LANGUAGES+=		c99
-
-USE_TOOLS+=		gmake
-MAKE_JOBS_SAFE=		no
-
-.include "../../wip/mk/svn-package.mk"
-.include "../../mk/bsd.prefs.mk"
-.include "../../mk/endian.mk"
-
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
-MAKE_FLAGS+=		OS=FREEBSD
-.elif ${OPSYS} == "NetBSD"
-MAKE_FLAGS+=		OS=NETBSD
-.elif ${OPSYS} == "Darwin"
-MAKE_FLAGS+=		OS=MAC
-.else
-# Other Unix (should work for GNU/Linux, OpenBSD and SunOS)
-MAKE_FLAGS+=		OS=LINUX
-.endif
-
-.if ${MACHINE_ENDIAN} == "big"
-# Some compilers define this themselves (but maybe not all)
-CFLAGS+=		-D__BIG_ENDIAN__
-.endif
-
-# DOOMWADDIR is intentionally shared with other Doom packages
-DOOMWADDIR=		share/doom
-INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6 share/doc/doomlegacy ${DOOMWADDIR}
-
-MESSAGE_SRC+=		MESSAGE.doomlegacy
-MESSAGE_SUBST+=		PKGNAME=${PKGNAME:C/-.*//}
-MESSAGE_SUBST+=		DOOMWADDIR_CONF="${PREFIX}/${DOOMWADDIR}"
-
-# Configure to honor environment
-SUBST_CLASSES+=		makeopt
-SUBST_STAGE.makeopt=	do-configure
-SUBST_MESSAGE.makeopt=	Preparing make_options file ...
-SUBST_FILES.makeopt=	make_options
-SUBST_SED.makeopt=	-e 's,\#COMP_ENVIRONMENT,COMP_ENVIRONMENT,'
-
-# Configure defaults for LEGACYWADDIR and DOOMWADDIR
-SUBST_CLASSES+=		doomdef
-SUBST_STAGE.doomdef=	do-configure
-SUBST_MESSAGE.doomdef=	Preparing doomdef.h file ...
-SUBST_FILES.doomdef=	src/doomdef.h
-SUBST_SED.doomdef=	-e 's,LEGACYWADDIR  "/usr/local/share/games/doomlegacy",LEGACYWADDIR  "${PREFIX}/${DOOMWADDIR}",g'
-SUBST_SED.doomdef+=	-e 's,DEFWADS01  "~/games/doomlegacy/wads",DEFWADS01  "${PREFIX}/${DOOMWADDIR}",'
-
-pre-configure:
-	${CP} ${FILESDIR}/doomlegacy.6.in ${WRKDIR}
-	cd ${WRKSRC} && ${CP} make_options_nix make_options
-
-# Move configure options and process manpage template
-do-configure:
-	cd ${WRKDIR} &&							\
-		${SED} -e 's,$$NAME,doomlegacy,g'			\
-			-e 's,$$VERSION,${VERS},g'			\
-			-e 's,$$WADDIR,${PREFIX}/${DOOMWADDIR},g'	\
-			doomlegacy.6.in >doomlegacy.6
-
-do-install:
-	cd ${WRKSRC} &&							\
-		${INSTALL_PROGRAM} bin/doomlegacy			\
-			${DESTDIR}${PREFIX}/bin;			\
-		${INSTALL_DATA} docs/legacy.css docs/whatsnew.html	\
-			${DESTDIR}${PREFIX}/share/doc/doomlegacy;	\
-	cd ${WRKDIR}/doomlegacy_${VERS} &&				\
-		${INSTALL_DATA} legacy.wad				\
-			${DESTDIR}${PREFIX}/${DOOMWADDIR}/legacy.wad;	\
-	cd ${WRKDIR} &&							\
-		${INSTALL_MAN} ${WRKDIR}/doomlegacy.6			\
-			${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
-
-# Ensure that at least the shareware Episode 1 of Doom is available
-# Note: The demos from games/doom1 are not compatible with the Legacy engine
-DEPENDS+=		doom1-[0-9]*:../../games/doom1
-
-BUILDLINK_API_DEPENDS.SDL_mixer+=	SDL_mixer>=1.2.7
-.include "../../audio/SDL_mixer/buildlink3.mk"
-BUILDLINK_API_DEPENDS.SDL+=		SDL>=1.2.10
-.include "../../devel/SDL/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/doomlegacy/PLIST b/doomlegacy/PLIST
deleted file mode 100644
index 351f5d6655..0000000000
--- a/doomlegacy/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2019/06/17 13:53:22 micha Exp $
-bin/doomlegacy
-man/man6/doomlegacy.6
-share/doc/doomlegacy/legacy.css
-share/doc/doomlegacy/whatsnew.html
-share/doom/legacy.wad
diff --git a/doomlegacy/TODO b/doomlegacy/TODO
deleted file mode 100644
index dcf2f3d9d1..0000000000
--- a/doomlegacy/TODO
+++ /dev/null
@@ -1,10 +0,0 @@
-[X] Sent patches to upstream
-[X] Imported proposed patchset from upstream
-    => PKGREVISION not bumped, because binary package has not changed
-[X] Renamed man page template to doomlegacy.1.in (suggested by wiz@)
-    => PKGREVISION not bumped, because binary package has not changed
-[X] Move man page to section 6 (it's a game)
-   => Bump PKGREVISION
-[X] Test building of the package again
-    => Tested to work with SVN revision r1448
-[X] Remove patches after upstream integration
diff --git a/doomlegacy/distinfo b/doomlegacy/distinfo
deleted file mode 100644
index 0a9e6286eb..0000000000
--- a/doomlegacy/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.1 2019/06/17 13:53:22 micha Exp $
-
-SHA1 (doomlegacy_1.47.2_common.zip) = 9e6faaea797b988565a078a47e80bbe2119d78b9
-RMD160 (doomlegacy_1.47.2_common.zip) = 1ac1f47563ad2c0d7c5c1bea93a2aaeb1c001c10
-SHA512 (doomlegacy_1.47.2_common.zip) = 7c7c2a0cbab5b9b4645a3fe166addd597de533db7ab41f8011c6c526a868bb04c8dd6b0d27b48765406fbab328bf64fc7827770b395e6c0e5d861d99c4d3865a
-Size (doomlegacy_1.47.2_common.zip) = 981654 bytes
diff --git a/doomlegacy/files/doomlegacy.6.in b/doomlegacy/files/doomlegacy.6.in
deleted file mode 100644
index 2799f574e0..0000000000
--- a/doomlegacy/files/doomlegacy.6.in
+++ /dev/null
@@ -1,267 +0,0 @@
-.\"=============================================================================
-.\" Header
-.\"
-.\" Copyright (c) 2019 by Michael Baeuerle.
-.\" License: GNU Free Documentation License (GFDL)
-.\"
-.TH $NAME 6 2019-06-16 Unix "$NAME $VERSION manual"
-.\"
-.\"
-.\"=============================================================================
-.\" NAME section
-.\"
-.SH NAME
-Doom Legacy
-.\"
-.\"
-.\"=============================================================================
-.\" SYNOPSIS section
-.\"
-.SH SYNOPSIS
-.B $NAME
-[-opengl] [-iwad xxx.wad] [-file pwad1.wad [pwad2.wad ...]]
-.PP
-.B $NAME
-[-h [g|m|c|s|d|D] | --version]
-.\"
-.\"
-.\"=============================================================================
-.\" DESCRIPTION section
-.\"
-.SH DESCRIPTION
-
-The following information is quoted from Reference Manual:
-.PP
-.B http://doomlegacy.sourceforge.net/docs/legacy.html
-.PP
-
-Doom Legacy can play Doom, Boom, Marine's Best Friend (MBF), and Heretic maps.
-In addition to the original games by id Software and Raven Software, there are
-hundreds of free, fan-made maps available on the Internet. These maps are
-typically distributed as PWAD files, which are not fully self-contained.
-For each game you will also need the corresponding IWAD data file, which
-contains all the graphics, wall and floor textures, sounds, and music for that
-game. For example, if you want to play Doom II maps, you'll need the IWAD file
-doom2.wad, or one of the free replacements.
-
-Legacy has implemented the fundamental and de-facto-standard Boom extensions,
-and the Marine's Best Friend (MBF) extensions. Legacy also has implemented
-among other things 3D floors, swimmable water and other special effects using
-extended linedef codes, and supports the FraggleScript scripting language.
-
-Legacy includes two different graphics engines, the old Doom software renderer
-(with many improvements) and an OpenGL-based hardware renderer.
-The OpenGL renderer is shinier and has fancier effects than the software one,
-but it does not do everything that the software renderer does. It does have
-coronas, explosion light, and other light effects that the software renderer
-does not do.
-Some wads rely upon violating wad rules to get trick effects. Most rely upon
-tricking the software renderer into not drawing something. Using those wads
-with the OpenGL renderer you will see holes in the floor and ceiling, and
-warning messges about polygons.
-
-The first game console we know of was from id Software's game Quake.
-We have been inspired by it and have tried to implement the same functionality
-for the benefit of Quake/Doom fans.
-
-Since Legacy 1.2, the network part of Doom has been totally rewritten.
-It now uses a better transfer method for the packets, (which is usually faster),
-and also implements a basic Client/Server model, where some critical game
-options are changeable only by the server in multiplayer games. Since the
-network communication is faster, we have upped the maximum number of players to
-32!
-.\"
-.\"
-.\"=============================================================================
-.\" OPTIONS section
-.\"
-.SH OPTIONS
-.TP 25
-.BI -config " file
-Set the configfile to use.
-.br
-Default: config.cfg
-.TP
-.BI -file " file [file ...]
-Set PWAD (Patch WAD) files to use.
-.TP
-.BI -game " mode
-Forces a particular game mode to be used.
-.br
-Examples for mode: doom, doomu, doom2, heretic
-.br
-(See Reference Manual for complete table)
-.TP
-.BI -h " [section]
-Print help. An optional section can be specified for details.
-.TP
-.BI -home " directory
-Home directory location, where your configfiles and savegames are kept.
-.TP
-.BI -iwad " file
-Set the main IWAD (Internal WAD) file to use.
-This also determines the game mode when -game is not used.
-.TP
-.BI -noendtext
-Suppress the game EndText screen, which could disrupt some terminal emulations
-because of the special character attributes used.
-.TP
-.BI -opengl
-Hardware accelerated rendering using the OpenGL library.
-Will use hardware acceleration for OpenGL if available.
-If the video card does not have OpenGL hardware acceleration then it will use
-the OpenGL emulation in software, which is very slow.
-.TP
-.BI --version
-Print version and build date.
-.TP
-.BI -warp " num
-Select the map, start game immediately.
-.br
-In DoomII, -warp 13 will goto MAP13.
-.br
-In Ultimate Doom, -warp 1 3 will goto E1M3.
-.TP
-See Reference Manual for a complete options list.
-.\"
-.\"
-.\"=============================================================================
-.\" ENVIRONMENT section
-.\"
-.SH ENVIRONMENT
-.TP 25
-.B DISPLAY
-X display to use. More information about X can be found in
-.BR X (7).
-.TP
-.B DOOMWADDIR
-This environment variable defines a path where WAD files are located.
-.br
-The default is $WADDIR.
-.TP
-.B HOME
-This variable indicates your home directory.
-.TP
-.B USER
-This variable contains your username, is used as the default value for your
-player name in multiplayer games.
-.\"
-.\"
-.\"=============================================================================
-.\" FILES section
-.\"
-.SH FILES
-.TP 25
-.B ~/.doomlegacy/config.cfg
-Default configuration file.
-.TP
-.B ~/.doomlegacy/glconfig.cfg
-Default configuration file for OpenGL mode.
-.TP
-.B ~/.doomlegacy/doomsav*.dsg
-Saved game states.
-.\"
-.\"
-.\"=============================================================================
-.\" NOTES section
-.\"
-.SH NOTES
-If you get no MIDI music, ensure that SDL_mixer has a working MIDI synthesizer
-available. If you use timidity, check that instruments are installed (e.g.
-freepats).
-.PP
-Acknowledgments:
-.IP \(bu 3
-Thanks to id Software of course, for creating the greatest game of all time!
-.PP
-.IP \(bu 3
-To Raven Software, for Heretic and Hexen!
-.PP
-.IP \(bu 3
-Chi Hoang for DosDoom which got us started.
-.PP
-.IP \(bu 3
-Bell Kin for porting Doom Legacy to Linux.
-.PP
-.IP \(bu 3
-Stephane Dierickx for the two pictures in the laucher and the help screen of
-Legacy.
-.PP
-.IP \(bu 3
-Sebastien Bacquet for Qmus2mid.
-.PP
-.IP \(bu 3
-Simon Howard for FraggleScript.
-.PP
-.IP \(bu 3
-TeamTNT for Boom.
-.PP
-.IP \(bu 3
-Steven McGranahan and Robert Baeuml for their large contributions.
-.PP
-.IP \(bu 3
-To all of you who send us ideas and bug reports, thank you!
-.RE
-.\"
-.\"
-.\"=============================================================================
-.\" AUTHORS section
-.\"
-.SH AUTHORS
-Original game by id Software.
-.br
-Heretic by Raven Software.
-.br
-Doom Legacy by Fabrice Denis, Boris Pereira and Thierry Van Elsuwe.
-.br
-Maintained by the Doom Legacy Team since 2001.
-.br
-Man page for pkgsrc by Michael Baeuerle.
-.\"
-.\"
-.\"=============================================================================
-.\" BUGS section
-.\"
-.\" .SH BUGS
-.\"
-.\"
-.\"=============================================================================
-.\" EXAMPLES section
-.\"
-.SH EXAMPLES
-Start the shareware Episode 1 of Doom:
-.IP
-$ $NAME
-.PP
-For the following examples you need the original WAD files of the games
-(copy them to $WADDIR or set DOOMWADDIR to the desired location).
-
-Start Doom and use the OpenGL renderer:
-.IP
-$ $NAME -opengl -iwad doom.wad
-.PP
-Start Doom II:
-.IP
-$ $NAME -iwad doom2.wad
-.PP
-Start Sigil (Doom Episode 5) in compatibility mode as Episode 3:
-.IP
-$ $NAME -game doomu -iwad doomu.wad -file SIGIL_COMPAT.wad
-.PP
-Start Heretic:
-.IP
-$ $NAME -iwad heretic.wad
-.PP
-.\"
-.\"
-.\"=============================================================================
-.\" SEE ALSO section
-.\"
-.SH SEE ALSO
-.BR timidity (1),
-.BR X (7)
-.br
-.BR http://doomlegacy.sourceforge.net/docs/legacy.html
-.\"
-.\"
-.\" EOF


Home | Main Index | Thread Index | Old Index