summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 05:21:52 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 05:21:52 +0000
commita26854b1552e376507ae7aca6161ae6ccbc5a6e8 (patch)
treeaa060c0d76bba65ffab1ec7a0bf98bf9d2ab0b61 /games
parentNew Port: GeekLog (diff)
New port: games/doomlegacy
Doomlegacy is popular clone of Doom game. PR: ports/37536 Submitted by: Alexander G. Chetirbock <bock@bock.nnov.ru>
Notes
Notes: svn path=/head/; revision=73309
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/doomlegacy/Makefile62
-rw-r--r--games/doomlegacy/distinfo2
-rw-r--r--games/doomlegacy/pkg-comment1
-rw-r--r--games/doomlegacy/pkg-descr12
-rw-r--r--games/doomlegacy/pkg-message12
-rw-r--r--games/doomlegacy/pkg-plist21
7 files changed, 111 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0294673b388b..f85cc66749a3 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -68,6 +68,7 @@
SUBDIR += digger-vgl
SUBDIR += dontspace
SUBDIR += doom
+ SUBDIR += doomlegacy
SUBDIR += dopewars
SUBDIR += drm
SUBDIR += dungeon
diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile
new file mode 100644
index 000000000000..f0399938a03b
--- /dev/null
+++ b/games/doomlegacy/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: doomlegacy
+# Date Created: 10 April 2002
+# Whom: Alexander G. Chetirbock <bock@bock.nnov.ru>
+#
+# $FreeBSD$
+
+PORTNAME= doomlegacy
+PORTVERSION= 1.32b4
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR?= ${PORTNAME}
+DISTNAME= legacy_${FILEVERSION}_src
+DISTFILES= ${DIST} ${WADFILE}
+EXTRACT_ONLY= ${DIST}
+
+MAINTAINER= bock@bock.nnov.ru
+
+BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip \
+ nasm:${PORTSDIR}/devel/nasm
+
+WADVER= 132b4
+WADFILE= doom3_wad_${WADVER}.zip
+FILEVERSION= 132beta4
+DIST= ${DISTNAME}${EXTRACT_SUFX}
+
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_MESA= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ARGS= -f makefile FREEBSD=1
+
+# I have no ideas about build status on other platforms
+ONLY_FOR_ARCHS= i386
+
+TARGET_DIR= ${PREFIX}/${PORTNAME}
+
+DATA_FILES= ${WRKDIR}/bin/doom3.wad
+PROG_FILES= ${WRKDIR}/bin/llsndserv ${WRKDIR}/bin/r_opengl.so
+SGID_FILES= ${WRKDIR}/bin/llxdoom
+SGID_ARGS= -c -s -o root -g kmem -m 2555
+
+post-extract:
+ @cd ${WRKDIR} && ${MKDIR} bin && \
+ unzip -q ${_DISTDIR}/${WADFILE} -d ${WRKDIR}/bin
+
+do-build:
+ cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} && \
+ ${LN} -s ${WRKSRC}/linux_x/sndserv/linux/llsndserv ${WRKDIR}/bin
+
+do-install:
+ ${INSTALL} -d ${TARGET_DIR} && \
+ ${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} && \
+ ${INSTALL} ${SGID_ARGS} ${SGID_FILES} ${TARGET_DIR} && \
+ ${INSTALL_DATA} ${DATA_FILES} ${TARGET_DIR} && \
+ ${INSTALL} -d ${DOCSDIR} && \
+ ${INSTALL_DATA} ${WRKSRC}/_doc/* ${DOCSDIR}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/doomlegacy/distinfo b/games/doomlegacy/distinfo
new file mode 100644
index 000000000000..802af577cc4c
--- /dev/null
+++ b/games/doomlegacy/distinfo
@@ -0,0 +1,2 @@
+MD5 (legacy_132beta4_src.tar.gz) = 27b1564bf05faf962501a658b4167758
+MD5 (doom3_wad_132b4.zip) = 1bcc230b9ef9520cf81bc41f0aff48ce
diff --git a/games/doomlegacy/pkg-comment b/games/doomlegacy/pkg-comment
new file mode 100644
index 000000000000..faea4f361d0d
--- /dev/null
+++ b/games/doomlegacy/pkg-comment
@@ -0,0 +1 @@
+DooM Legacy: popular DooM clone!
diff --git a/games/doomlegacy/pkg-descr b/games/doomlegacy/pkg-descr
new file mode 100644
index 000000000000..75a7c1688cb5
--- /dev/null
+++ b/games/doomlegacy/pkg-descr
@@ -0,0 +1,12 @@
+Legacy Doom is DooM port. Some of supported features:
+ * VIDEO OPTIONS MENU
+ * TRANSLUCENCY ON SPRITES AND WALLS
+ * SETUP CONTROLS MENU
+ * LOOK UP AND DOWN (FREELOOK)
+ * CHASE-CAM : also called a 'third-person' view, or 'Tomb Raider' view.
+ * CONSOLE
+ * STATUS BAR OVERLAY
+ * SKINS
+
+WWW: http://www.newdoom.com/doomlegacy
+WWW: http://sourceforge.net/projects/doomlegacy
diff --git a/games/doomlegacy/pkg-message b/games/doomlegacy/pkg-message
new file mode 100644
index 000000000000..1041791b527d
--- /dev/null
+++ b/games/doomlegacy/pkg-message
@@ -0,0 +1,12 @@
+************************************************************
+Please read docs in
+
+ $(PREFIX)/share/doc/doomlegacy
+
+before you run the application.
+************************************************************
+Copy doom2.wad or other Id iwad into
+
+ $(PREFIX)/doomlegacy
+
+************************************************************
diff --git a/games/doomlegacy/pkg-plist b/games/doomlegacy/pkg-plist
new file mode 100644
index 000000000000..b9c9c2fd54d5
--- /dev/null
+++ b/games/doomlegacy/pkg-plist
@@ -0,0 +1,21 @@
+share/doc/doomlegacy/Console.txt
+share/doc/doomlegacy/Doublescan.txt
+share/doc/doomlegacy/Legacy.txt
+share/doc/doomlegacy/README_SDL
+share/doc/doomlegacy/Readme.OS2
+share/doc/doomlegacy/Whatsnew.txt
+share/doc/doomlegacy/copying
+share/doc/doomlegacy/doomatic.txt
+share/doc/doomlegacy/doomlic.txt
+share/doc/doomlegacy/editing.txt
+share/doc/doomlegacy/faq.txt
+share/doc/doomlegacy/rules.txt
+share/doc/doomlegacy/skinspec.txt
+share/doc/doomlegacy/sound.cfg
+share/doc/doomlegacy/source.txt
+doomlegacy/llsndserv
+doomlegacy/r_opengl.so
+doomlegacy/llxdoom
+doomlegacy/doom3.wad
+@dirrm doomlegacy
+@dirrm share/doc/doomlegacy