diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-06-18 16:05:38 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-06-18 16:05:38 +0000 |
commit | a31f0c0934c40e967bd720999961fbcb7e91fd10 (patch) | |
tree | 0db3dff0c7994b514dafb7187559180a09a6010e /games/yadex | |
parent | b87b02d07539742789997fc88f27d2f4ad534229 (diff) | |
download | ports-a31f0c0934c40e967bd720999961fbcb7e91fd10.tar.gz ports-a31f0c0934c40e967bd720999961fbcb7e91fd10.zip |
Notes
Diffstat (limited to 'games/yadex')
-rw-r--r-- | games/yadex/Makefile | 24 | ||||
-rw-r--r-- | games/yadex/distinfo | 1 | ||||
-rw-r--r-- | games/yadex/files/patch-GNUmakefile | 23 | ||||
-rw-r--r-- | games/yadex/files/patch-cfgfile.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-game.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-wads2.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-yadex.cfg | 29 | ||||
-rw-r--r-- | games/yadex/pkg-comment | 1 | ||||
-rw-r--r-- | games/yadex/pkg-descr | 4 | ||||
-rw-r--r-- | games/yadex/pkg-plist | 19 |
10 files changed, 146 insertions, 0 deletions
diff --git a/games/yadex/Makefile b/games/yadex/Makefile new file mode 100644 index 000000000000..006b7c5dea86 --- /dev/null +++ b/games/yadex/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: yadex +# Date created: 17 June 2001 +# Whom: Jordan DeLong <fracture@allusion.net> +# +# $FreeBSD$ +# + +PORTNAME= yadex +PORTVERSION= 1.5.1 +CATEGORIES= games +MASTER_SITES= http://www.teaser.fr/~amajorel/yadex/ + +MAINTAINER= fracture@allusion.net + +USE_GMAKE= yes +MAKEFILE= GNUmakefile + +MAN6= yadex.6 ybsp.6 + +#pre-build: +# mv ${WRKDIR}/${DISTNAME}/Makefile ${WRKDIR}/${DISTNAME}/Makefile.orig +# mv ${WRKDIR}/${DISTNAME}/GNUmakefile ${WRKDIR}/${DISTNAME}/Makefile + +.include <bsd.port.mk> diff --git a/games/yadex/distinfo b/games/yadex/distinfo new file mode 100644 index 000000000000..d5dc06589359 --- /dev/null +++ b/games/yadex/distinfo @@ -0,0 +1 @@ +MD5 (yadex-1.5.1.tar.gz) = d1328e6b57181b54897c408276d87e20 diff --git a/games/yadex/files/patch-GNUmakefile b/games/yadex/files/patch-GNUmakefile new file mode 100644 index 000000000000..62b74ed8b847 --- /dev/null +++ b/games/yadex/files/patch-GNUmakefile @@ -0,0 +1,23 @@ +--- GNUmakefile.orig Tue Dec 12 16:49:00 2000 ++++ GNUmakefile Sun Jun 17 22:43:27 2001 +@@ -22,7 +22,10 @@ + + # Where you want "make install" to put things. + # Typical values : "/usr", "/usr/local" and "/opt". +-PREFIX = /usr/local ++PREFIX?= /usr/local ++ ++# Make a PREFIX def available to the source ++DEFINES += -DPREFIX=\"$(PREFIX)\" + + # Which OS ? + OS := $(shell uname -s | tr A-Z a-z) +@@ -352,7 +355,7 @@ + else + INST_CFGDIR = $(PREFIX)/etc/yadex/$(VERSION) + endif +-INST_YGDDIR = $(PREFIX)/share/games/yadex/$(VERSION) ++INST_YGDDIR = $(PREFIX)/share/yadex/$(VERSION) + ifdef FHS_MAN + INST_MANDIR = $(PREFIX)/share/man/man6 + else diff --git a/games/yadex/files/patch-cfgfile.cc b/games/yadex/files/patch-cfgfile.cc new file mode 100644 index 000000000000..66b0acfbd727 --- /dev/null +++ b/games/yadex/files/patch-cfgfile.cc @@ -0,0 +1,15 @@ +--- src/cfgfile.cc.orig Sat Aug 26 13:21:12 2000 ++++ src/cfgfile.cc Sun Jun 17 20:33:08 2001 +@@ -572,10 +572,8 @@ + "~/.yadex/%v/%b", + "~/.yadex/%b", + "%i/%b", +- "/usr/local/etc/yadex/%v/%b", +- "/usr/local/etc/yadex/%b", +- "/etc/yadex/%v/%b", +- "/etc/yadex/%b", ++ PREFIX "/etc/yadex/%v/%b", ++ PREFIX "/etc/yadex/%b", + 0 + }; + diff --git a/games/yadex/files/patch-game.cc b/games/yadex/files/patch-game.cc new file mode 100644 index 000000000000..ef2285b3f69b --- /dev/null +++ b/games/yadex/files/patch-game.cc @@ -0,0 +1,15 @@ +--- src/game.cc.orig Wed May 10 15:01:58 2000 ++++ src/game.cc Sun Jun 17 20:42:48 2001 +@@ -42,10 +42,8 @@ + "./%b", + "~/.yadex/%v/%b", + "%i/%b", +- "/usr/local/share/games/yadex/%v/%b", +- "/usr/share/games/yadex/%v/%b", +- "/usr/local/share/games/yadex/%b", +- "/usr/share/games/yadex/%b", ++ PREFIX "/share/yadex/%v/%b", ++ PREFIX "/share/yadex/%b", + 0 + }; + diff --git a/games/yadex/files/patch-wads2.cc b/games/yadex/files/patch-wads2.cc new file mode 100644 index 000000000000..e34da6f5f6b6 --- /dev/null +++ b/games/yadex/files/patch-wads2.cc @@ -0,0 +1,15 @@ +--- src/wads2.cc.orig Sun May 7 05:47:11 2000 ++++ src/wads2.cc Sun Jun 17 20:46:41 2001 +@@ -910,10 +910,8 @@ + { + "", + "~/", // "~" means "the user's home directory" +- "/usr/local/share/games/%s/", // %s is replaced by <Game> +- "/usr/share/games/%s/", // %s is replaced by <Game> +- "/usr/local/share/games/wads/", +- "/usr/share/games/wads/", ++ "~/doom/", // several doom variants put wads here ++ PREFIX "/share/%s/", // %s is replaced by <Game> + 0 + }; + diff --git a/games/yadex/files/patch-yadex.cfg b/games/yadex/files/patch-yadex.cfg new file mode 100644 index 000000000000..282b9a9e6228 --- /dev/null +++ b/games/yadex/files/patch-yadex.cfg @@ -0,0 +1,29 @@ +--- yadex.cfg.orig Sat Aug 26 13:20:26 2000 ++++ yadex.cfg Sun Jun 17 20:54:36 2001 +@@ -20,16 +20,16 @@ + # 9 doompr Doom press release pre-beta (/pub/idgames/historic/doomprbt.zip) + # 10 strife10 Strife 1.0 (demo or commercial) + +- iwad1 = /usr/local/share/games/doom/doom.wad +- iwad2 = /usr/local/share/games/doom2/doom2.wad +- iwad3 = /usr/local/share/games/heretic/heretic.wad +- iwad4 = /usr/local/share/games/hexen/hexen.wad +- iwad5 = /usr/local/share/games/strife/strife1.wad +- iwad6 = /usr/local/share/games/doom02/doom.wad +- iwad7 = /usr/local/share/games/doom04/doom.wad +- iwad8 = /usr/local/share/games/doom05/doom.wad +- iwad9 = /usr/local/share/games/doompr/doompres.wad +- iwad10 = /usr/local/share/games/strife10/strife1.wad ++ iwad1 = /usr/local/share/doom/doom.wad ++ iwad2 = /usr/local/share/doom/doom2.wad ++ iwad3 = /usr/local/share/heretic/heretic.wad ++ iwad4 = /usr/local/share/hexen/hexen.wad ++ iwad5 = /usr/local/share/strife/strife1.wad ++ iwad6 = /usr/local/share/doom02/doom.wad ++ iwad7 = /usr/local/share/doom04/doom.wad ++ iwad8 = /usr/local/share/doom05/doom.wad ++ iwad9 = /usr/local/share/doompr/doompres.wad ++ iwad10 = /usr/local/share/strife10/strife1.wad + + # Name of the patch wads you want to load. None by default. + diff --git a/games/yadex/pkg-comment b/games/yadex/pkg-comment new file mode 100644 index 000000000000..70db835ac5c2 --- /dev/null +++ b/games/yadex/pkg-comment @@ -0,0 +1 @@ +A WAD-file editor, for games like Doom and Hexen diff --git a/games/yadex/pkg-descr b/games/yadex/pkg-descr new file mode 100644 index 000000000000..6ae7718460c5 --- /dev/null +++ b/games/yadex/pkg-descr @@ -0,0 +1,4 @@ +Yadex is a WAD file editor with support for Doom, Doom 2, Hexen, Heretic +and probably more. + +WWW: http://www.teaser.fr/~amajorel/yadex/download.html diff --git a/games/yadex/pkg-plist b/games/yadex/pkg-plist new file mode 100644 index 000000000000..9c8b06e82f53 --- /dev/null +++ b/games/yadex/pkg-plist @@ -0,0 +1,19 @@ +bin/yadex +bin/yadex-1.5.1 +bin/ybsp +bin/ybsp-1.5.1 +etc/yadex/1.5.1/yadex.cfg +share/yadex/1.5.1/doom.ygd +share/yadex/1.5.1/doom02.ygd +share/yadex/1.5.1/doom04.ygd +share/yadex/1.5.1/doom05.ygd +share/yadex/1.5.1/doom2.ygd +share/yadex/1.5.1/doompr.ygd +share/yadex/1.5.1/heretic.ygd +share/yadex/1.5.1/hexen.ygd +share/yadex/1.5.1/strife.ygd +share/yadex/1.5.1/strife10.ygd +@dirrm share/yadex/1.5.1 +@dirrm share/yadex +@dirrm etc/yadex/1.5.1 +@dirrm etc/yadex |