1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Upgrade to version 2.02 and change maintainer.

PR:		ports/23533
Submitted by:	Göran Runfeldt <goranrunfeldt@home.se>
This commit is contained in:
Jean-Marc Zucconi 2000-12-21 19:00:48 +00:00
parent ebe1b1170c
commit 7a9b9cd9b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36202
10 changed files with 131 additions and 72 deletions

View File

@ -1,22 +1,44 @@
# New ports collection makefile for: xevil
# Date created: 6 May 1995
# Whom: jmz
# New ports collection makefile for: xevil
# Date created: 7 November 2000
# Whom: Göran Runfeldt <goranrunfeldt@home.se>
#
# $FreeBSD$
#
PORTNAME= xevil
PORTVERSION= 1.5
PORTVERSION= 2.02
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/${PORTNAME}${PORTVERSION}
DISTFILES= ${PORTNAME}${PORTVERSION}.tar.Z
MASTER_SITES= ftp://ftp.xevil.com/stable/
DISTNAME= xevilsrc${PORTVERSION}
MAINTAINER= jmz@FreeBSD.org
MAINTAINER= goranrunfeldt@home.se
USE_XLIB= yes
MAN6= xevil.6
MANCOMPRESSED= yes
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
USE_ZIP= yes
USE_XPM= yes
ALL_TARGET= freebsd
# I'm not sure if this should be here
.if (${MACHINE} == "alpha")
CFLAGS+="-DXEVIL_KEYSET=UIalpha"
.endif
pre-extract:
@${MKDIR} ${WRKDIR}/${DISTNAME}
do-extract:
@unzip -aqo ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
post-extract:
@${MV} -f ${WRKDIR}/${DISTNAME}/makefile ${WRKDIR}/${DISTNAME}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x11/FREEBSD/xevil ${PREFIX}/bin/xevil
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xevil/instructions
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/xevil
${INSTALL_DATA} ${WRKSRC}/instructions/* \
${PREFIX}/share/doc/xevil/instructions
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (xevil1.5.tar.Z) = e8f4e5922b71e9d0efdb9a851f53d11e
MD5 (xevilsrc2.02.zip) = e1890f77144367e2e8bbf3609458b784

View File

@ -1,19 +1,37 @@
*** utils.h~ Mon Jul 24 22:22:34 1995
--- utils.h Thu Sep 14 04:28:35 1995
***************
*** 54,60 ****
// Defines
! #define MSEC_PER_CLOCK (1.0e3 / CLOCKS_PER_SEC)
#ifndef max
#define max(a,b) (a<b ? b : a)
--- 54,60 ----
// Defines
! #define MSEC_PER_CLOCK 8 // (1.0e3 / CLOCKS_PER_SEC)
#ifndef max
#define max(a,b) (a<b ? b : a)
--- config.mk.orig Wed Jan 19 14:19:04 2000
+++ config.mk Thu Dec 21 19:40:33 2000
@@ -34,12 +34,12 @@
# You can add -DNDEBUG to speed up a release build by removing the assert()
# calls. But, on a really obscure Linux machine, this caused Xlib to blow up
# internally, so you do so at your own risk.
-DEBUG_OPT = -O #-DNDEBUG
+DEBUG_OPT = -DNDEBUG
LINK_OPT =
# The string that will be used for making the packaged .tar.Z file.
-VERSION = 2.01
+VERSION = 2.02
#SRC_DIR and WORK_DIR are only used for `make workdir`
SRC_DIR = /mit/hardts/src/X/xevil1.4.9
@@ -83,7 +83,9 @@
#### Attempt to guesss the host architecture using the HOSTYPE and hostype
# variables. Then call self with the architecture name.
default:
- @if [ $${HOSTTYPE-bob} != bob ] ; then \
+ @if [ $${OPSYS-bob} != bob ]; then \
+ archit=$$OPSYS ; \
+ elif [ $${HOSTTYPE-bob} != bob ] ; then \
archit=$$HOSTTYPE ; \
elif [ $${hosttype-bob} != bob ] ; then \
archit=$$hosttype ; \
@@ -162,7 +164,7 @@
# XEvil is all screwed up.
freebsd:
@$(MAKE) CC="c++" \
-CFLAGS="-DUSE_RANDOM -DPROTECTED_IS_PUBLIC -DMSEC_PER_CLOCK=8 -DUNAME_USR_BIN" \
+CFLAGS="-DUSE_RANDOM -DUSE_UINT_NET_LENGTH -DUNAME_USR_BIN ${CFLAGS}" \
INCL_DIRS="-I/usr/X11R6/include" LIBS_DIRS="-L/usr/X11R6/lib" \
OBJ_DIR=$(DEPTH)/x11/FREEBSD PCKG_NAME="freebsd" \
LIBS="-lXpm -lX11 -lm" $(TARGETS)

View File

@ -0,0 +1,11 @@
--- x11/ui.cpp~ Wed Jan 19 12:54:14 2000
+++ x11/ui.cpp Thu Dec 21 19:41:38 2000
@@ -1322,7 +1322,7 @@
// Get font. Use user-specified font if given.
// regular size font.
- char *theFont = fontName ? fontName : DEFAULT_FONT_NAME;
+ const char *theFont = fontName ? fontName : DEFAULT_FONT_NAME;
xvars.font[xvars.dpyMax] =
XLoadQueryFont(xvars.dpy[xvars.dpyMax],theFont);
if (!xvars.font[xvars.dpyMax]) {

View File

@ -0,0 +1,11 @@
--- cmn/intel.cpp~ Wed Jan 19 12:54:34 2000
+++ cmn/intel.cpp Thu Dec 21 19:42:34 2000
@@ -1606,7 +1606,7 @@
Boolean Machine::weapon_current_is_drop_liftable(PhysicalP p) {
// This is a HACK, we should really make Lifter override
// get_weapon_current(), etc.
- char *dummy;
+ const char *dummy;
ClassId classId = p->get_weapon_string(dummy);
if (classId == A_DropLiftable) {
return True;

View File

@ -0,0 +1,14 @@
--- Makefile~ Wed Jan 19 13:08:50 2000
+++ Makefile Thu Dec 21 19:43:26 2000
@@ -63,11 +63,6 @@
# Could also include serverping in the distribution
$(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z::
- cp readme.txt $(OBJ_DIR)
- cp gpl.txt $(OBJ_DIR)
- cp -r instructions $(OBJ_DIR)
- (cd $(OBJ_DIR); tar cf xevil$(VERSION).$(PCKG_NAME).tar xevil readme.txt gpl.txt instructions)
- (cd $(OBJ_DIR); compress -f xevil$(VERSION).$(PCKG_NAME).tar)
## Make a distribution file.
dist:

View File

@ -1 +1 @@
A side-view, fast-action, kill everything type of game
A fast-action, networked, anti-social, kill-everything game

View File

@ -1,17 +1,14 @@
INTRO:
Death, kill, maim. XEvil is a side-view, fast-action, kill everything
type of game. Play is against other human or computer players. XEvil
is keyboard controlled with configurable controls.
XEvil is a side-view, single or network-multiplayer, fast-action,
kill-everything, game for Windows and UNIX.
FEATURES:
- Color/Black&White/Grey Scale
- 0, 1, or 2 player. A single player can play against machine players.
Multiple humans can play cooperatively against machine players or against
each other. You can watch machine players kill each other.
- Extreme violence.
- Assortment of characters, weapons, and items. E.g. ninja, alien, chainsaw,
flame-thrower, Altar-Of-Sin, and soul-swapper.
- Keyboard controls can be configured with X resources or at runtime with the
graphical interface.
- Game speed can be adjusted.
- Different styles of game play: levels, kill-kill-kill, duel, training.
You have sinned in life. Now, you die and go to Hell. XEvil is the
contest that determines your fate in Hell for all eternity. At the
end of a game, you receive one of many possible rankings. A poor
player, for example, may spend the rest of time as "Satan's Earwax
Remover", while a good one might achieve a prestigious title such as
"VP of Hell Marketing" or even "Lead Software Engineer of Hell".
The XEvil 2.X Instruction Manual is located in
/usr/X11R6/share/doc/xevil/instructions
WWW: http://www.xevil.com

View File

@ -1,6 +1,10 @@
bin/xevil
lib/app-defaults/XEvil.iris
lib/app-defaults/XEvil.mac
lib/app-defaults/XEvil.sun3
lib/app-defaults/XEvil.sun4_sparc
@unexec rmdir %D/lib/app-defaults 2>/dev/null || true
share/doc/xevil/instructions/UNIXSetControls.gif
share/doc/xevil/instructions/UNIXShowControls.gif
share/doc/xevil/instructions/UNIXmenu.gif
share/doc/xevil/instructions/instructions.html
share/doc/xevil/instructions/keysdlg.gif
share/doc/xevil/instructions/optionsdlg.gif
share/doc/xevil/readme.txt
@dirrm share/doc/xevil/instructions
@dirrm share/doc/xevil

View File

@ -1,18 +0,0 @@
#!/bin/sh
cd $WRKSRC || exit 1
cat >> Makefile << END
all: freebsd
install:
cp xevil \$(PREFIX)/bin
mkdir -p \$(PREFIX)/lib/app-defaults
for f in iris mac sun3 sun4_sparc; do \
cp app-defaults/XEvil.\$\$f \$(PREFIX)/lib/app-defaults/; done
gzip -9 <xevil.6 >\$(PREFIX)/man/man6/xevil.6.gz
END
exit 0