1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to version 1.5.0. This application now uses GTK (oh, happy joy).

This commit is contained in:
Jim Mock 2001-06-18 18:52:52 +00:00
parent 37058febef
commit 63f70b3c2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44184
7 changed files with 38 additions and 79 deletions

View File

@ -6,20 +6,19 @@
#
PORTNAME= dopewars
PORTVERSION= 1.4.8
PORTREVISION= 1
PORTVERSION= 1.5.0
CATEGORIES= games
MASTER_SITES= http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
MASTER_SITES= http://dopewars.sourceforge.net/ \
http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
MAINTAINER= jim@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GTK= yes
USE_X_PREFIX= yes
pre-fetch:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
${SH} pkg-install
.endif
CONFIGURE_ARGS= --enable-nls
post-install:
@${ECHO} "===> Documentation is installed in ${PREFIX}/share/doc/dopewars"

View File

@ -1 +1 @@
MD5 (dopewars-1.4.8.tar.gz) = c88fa5475e05d2162661b5f3200b21e9
MD5 (dopewars-1.5.0.tar.gz) = 0914387302dc7abee50f28715e9d7807

View File

@ -1,20 +1,11 @@
--- Makefile.am.orig Mon Jan 10 18:07:57 2000
+++ Makefile.am Fri Jan 14 16:30:09 2000
@@ -2,7 +2,7 @@
dopewars_SOURCES = AIPlayer.c serverside.c clientside.c dopewars.c message.c \
dopeos.c
-DOCPATH=/usr/doc/${PACKAGE}-${VERSION}/
+DOCPATH=${LOCALBASE}/share/doc/${PACKAGE}
DOCS= aiplayer.html configfile.html index.html server.html clientplay.html \
credits.html installation.html servercommands.html commandline.html \
developer.html metaserver.html windows.html README
@@ -15,6 +15,6 @@
touch ${datadir}/dopewars.sco
chown root.games ${datadir}/dopewars.sco
chmod 0660 ${datadir}/dopewars.sco
- ${INSTALL} -d -o root -g root -m 0755 $(DOCPATH)
- ${INSTALL} -o root -g root -m 0644 $(DOCS) $(DOCPATH)
+ ${INSTALL} -d -o root -g wheel -m 0755 $(DOCPATH)
+ ${INSTALL} -o root -g wheel -m 0644 $(DOCS) $(DOCPATH)
--- Makefile.am.orig Mon Jun 18 14:30:07 2001
+++ Makefile.am Mon Jun 18 14:30:59 2001
@@ -5,7 +5,6 @@
install-data-local:
${mkinstalldirs} ${DESTDIR}${datadir}
touch ${DESTDIR}${datadir}/dopewars.sco
- chown root:games ${DESTDIR}${datadir}/dopewars.sco || \
- chown root:wheel ${DESTDIR}${datadir}/dopewars.sco
+ chown root:wheel ${DESTDIR}${datadir}/dopewars.sco
chmod 0660 ${DESTDIR}${datadir}/dopewars.sco

View File

@ -1,10 +1,10 @@
--- dopeos.h.orig Fri Jan 14 16:13:24 2000
+++ dopeos.h Fri Jan 14 16:14:40 2000
@@ -127,6 +127,7 @@
#else /* Definitions for Unix build */
--- src/dopeos.h.orig Mon Jun 18 14:31:50 2001
+++ src/dopeos.h Mon Jun 18 14:32:17 2001
@@ -31,6 +31,7 @@
#include <string.h>
#if NETWORKING
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <winsock.h>
#endif

View File

@ -1,22 +0,0 @@
--- Makefile.in.orig Thu Jan 13 15:58:16 2000
+++ Makefile.in Fri Jan 28 00:24:48 2000
@@ -66,7 +66,7 @@
dopewars_SOURCES = AIPlayer.c serverside.c clientside.c dopewars.c message.c dopeos.c
-DOCPATH = /usr/doc/${PACKAGE}-${VERSION}/
+DOCPATH = ${PREFIX}/share/doc/${PACKAGE}/
DOCS = aiplayer.html configfile.html index.html server.html clientplay.html credits.html installation.html servercommands.html commandline.html developer.html metaserver.html windows.html README
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -400,8 +400,8 @@
touch ${datadir}/dopewars.sco
chown root.games ${datadir}/dopewars.sco
chmod 0660 ${datadir}/dopewars.sco
- ${INSTALL} -d -o root -g root -m 0755 $(DOCPATH)
- ${INSTALL} -o root -g root -m 0644 $(DOCS) $(DOCPATH)
+ ${INSTALL} -d -m 0755 $(DOCPATH)
+ ${INSTALL} -m 0644 $(DOCS) $(DOCPATH)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,9 +0,0 @@
#!/bin/sh
if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then
exit 0
fi
/usr/bin/dialog --yesno "SECURITY NOTE: This software contains known locally-exploitable buffer overflows. However since the binaries in question are setgid to the games group, the impact of this vulnerability is believed to be limited to the ability for local users to overwrite score files, saved games, and certain other game data for this and other installed game packages. The wider system security is not believed to be compromised by this problem. Do you wish to install the software anyway?" 12 70 || /usr/bin/false

View File

@ -1,16 +1,16 @@
bin/dopewars
share/doc/dopewars/README
share/doc/dopewars/aiplayer.html
share/doc/dopewars/clientplay.html
share/doc/dopewars/commandline.html
share/doc/dopewars/configfile.html
share/doc/dopewars/credits.html
share/doc/dopewars/developer.html
share/doc/dopewars/index.html
share/doc/dopewars/installation.html
share/doc/dopewars/metaserver.html
share/doc/dopewars/server.html
share/doc/dopewars/servercommands.html
share/doc/dopewars/windows.html
share/doc/dopewars-1.5.0/aiplayer.html
share/doc/dopewars-1.5.0/clientplay.html
share/doc/dopewars-1.5.0/commandline.html
share/doc/dopewars-1.5.0/configfile.html
share/doc/dopewars-1.5.0/credits.html
share/doc/dopewars-1.5.0/developer.html
share/doc/dopewars-1.5.0/i18n.html
share/doc/dopewars-1.5.0/index.html
share/doc/dopewars-1.5.0/installation.html
share/doc/dopewars-1.5.0/metaserver.html
share/doc/dopewars-1.5.0/server.html
share/doc/dopewars-1.5.0/servercommands.html
share/doc/dopewars-1.5.0/windows.html
share/dopewars.sco
@dirrm share/doc/dopewars
@dirrm share/doc/dopewars-1.5.0