Index: head/games/tornado/Makefile =================================================================== --- head/games/tornado/Makefile (revision 126042) +++ head/games/tornado/Makefile (revision 126043) @@ -1,23 +1,23 @@ # New ports collection makefile for: tornado # Date created: 1 July 2001 # Whom: minter # # $FreeBSD$ # PORTNAME= tornado -PORTVERSION= 1.2 +PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= http://home.kcore.de/~kiza/linux/tornado/download/ +MASTER_SITES= http://kiza.kcore.de/software/tornado/download/ MAINTAINER= minter@lunenburg.org COMMENT= A curses-based game of weather destruction MAN6= tornado.6 -MANLANG= "" de fr it ru +MANLANG= "" de fr it nl no ru USE_GETTEXT= yes USE_GMAKE= yes .include Property changes on: head/games/tornado/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/games/tornado/distinfo =================================================================== --- head/games/tornado/distinfo (revision 126042) +++ head/games/tornado/distinfo (revision 126043) @@ -1,2 +1,2 @@ -MD5 (tornado-1.2.tar.gz) = 840f85d1db54d50d50190489c8af02d3 -SIZE (tornado-1.2.tar.gz) = 46046 +MD5 (tornado-1.3.tar.gz) = 149adcac75cb052c361d175bfc6d9f0f +SIZE (tornado-1.3.tar.gz) = 52101 Property changes on: head/games/tornado/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/games/tornado/files/patch-aa =================================================================== --- head/games/tornado/files/patch-aa (revision 126042) +++ head/games/tornado/files/patch-aa (revision 126043) @@ -1,79 +1,43 @@ -diff -ur ../tornado-1.2.orig/Makefile ./Makefile ---- ../tornado-1.2.orig/Makefile Thu Nov 7 12:45:59 2002 -+++ ./Makefile Mon Apr 21 14:06:38 2003 +--- ../tornado-1.3.orig/Makefile Thu Nov 20 08:26:22 2003 ++++ Makefile Sun Jan 9 14:21:24 2005 @@ -1,10 +1,9 @@ CC = gcc -MAKE = make -LDFLAGS = -lncurses +MAKE = gmake +LDFLAGS = -L/usr/local/lib -lncurses -lintl OBJFILES = main.o draw.o erwin.o network.o scores.o -PREFIX = /usr/local -LOCALEPATH = /usr/local/share/locale -CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" +LOCALEPATH = ${PREFIX}/share/locale +CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" -I/usr/local/include - VERSION = `echo VERSION | cpp -P -include version.h | tr -d '" ' | grep -v '^$$'` + VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` LOCALES = de MAN = doc/man @@ -50,17 +49,17 @@ $(MAKE) -C $(MAN) install-man - if [ -f "/var/games/tornado.scores" ]; then \ + if [ -f "${PREFIX}/share/games/tornado.scores" ]; then \ echo "Skipping install of the highscores file. File exists."; \ - cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ - mv -f score.tmp /var/games/tornado.scores; \ - chmod a+rw-x "/var/games/tornado.scores"; \ -+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ -+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ ++ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ ++ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ ++ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ else \ - if [ ! -d "/var/games" ]; then \ - mkdir /var/games; \ -+ if [ ! -d "${PREFIX}/share/games" ]; then \ -+ mkdir ${PREFIX}/share/games; \ ++ if [ ! -d "${PREFIX}/share/games" ]; then \ ++ mkdir ${PREFIX}/share/games; \ fi; \ - install tornado.scores /var/games; \ - chmod a+w-x "/var/games/tornado.scores"; \ -+ install tornado.scores ${PREFIX}/share/games/; \ -+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ ++ install tornado.scores ${PREFIX}/share/games; \ ++ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ fi install-locale-data: -@@ -68,7 +67,7 @@ - - uninstall: - rm -f $(PREFIX)/bin/tornado -- rm -f /var/games/tornado.scores -+ rm -f ${PREFIX}/share/games/tornado.scores - $(MAKE) -C $(MAN) uninstall - $(MAKE) -C po uninstall - -@@ -84,17 +83,17 @@ - fi - install -m 0644 tornado.6 $(PREFIX)/man/man6 - -- if [ -f "/var/games/tornado.scores" ]; then \ -+ if [ -f "${PREFIX}/share/games/tornado.scores" ]; then \ - echo "Skipping install of the highscores file. File exists."; \ -- cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -- mv -f score.tmp /var/games/tornado.scores; \ -- chmod a+rw-x "/var/games/tornado.scores"; \ -+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ -+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ - else \ -- if [ ! -d "/var/games" ]; then \ -- mkdir /var/games; \ -+ if [ ! -d "${PREFIX}/share/games" ]; then \ -+ mkdir ${PREFIX}/share/games; \ - fi; \ -- install tornado.scores /var/games; \ -- chmod a+w-x "/var/games/tornado.scores"; \ -+ install tornado.scores ${PREFIX}/share/games; \ -+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ - fi - - dist: clean Property changes on: head/games/tornado/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/tornado/files/patch-ab =================================================================== --- head/games/tornado/files/patch-ab (revision 126042) +++ head/games/tornado/files/patch-ab (revision 126043) @@ -1,19 +1,16 @@ -diff -ur ../tornado-1.2.orig/Makefile.inc ./Makefile.inc ---- ../tornado-1.2.orig/Makefile.inc Fri Oct 11 15:03:56 2002 -+++ ./Makefile.inc Mon Apr 21 14:06:43 2003 +--- ../tornado-1.3.orig/Makefile.inc Thu Nov 20 05:55:50 2003 ++++ Makefile.inc Sun Jan 9 14:22:36 2005 @@ -1,9 +1,8 @@ CC = gcc -MAKE = make -LDFLAGS = -lncurses +MAKE = gmake +LDFLAGS = -L/usr/local/lib -lncurses -lintl OBJFILES = main.o draw.o erwin.o network.o scores.o -PREFIX = /usr/local -LOCALEPATH = /usr/local/share/locale -CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" +LOCALEPATH = ${PREFIX}/share/locale -+CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" -I/usr/local/include ++CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" - LOCALES = de --MAN = doc/man -\ No newline at end of file -+MAN = doc/man + MAN = doc/man Property changes on: head/games/tornado/files/patch-ab ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/tornado/files/patch-ac =================================================================== --- head/games/tornado/files/patch-ac (revision 126042) +++ head/games/tornado/files/patch-ac (revision 126043) @@ -1,18 +1,17 @@ -diff -ur ../tornado-1.2.orig/doc/man/tornado.6.in ./doc/man/tornado.6.in ---- ../tornado-1.2.orig/doc/man/tornado.6.in Mon Sep 2 19:18:55 2002 -+++ ./doc/man/tornado.6.in Mon Apr 21 13:38:47 2003 +--- ../tornado-1.3.orig/doc/man/tornado.6.in Thu Nov 20 06:00:47 2003 ++++ doc/man/tornado.6.in Sun Jan 9 14:23:34 2005 @@ -90,11 +90,11 @@ .P PREFIX/man/man6/tornado.6 .P -/var/games/tornado.scores +PREFIX/share/games/tornado.scores .P -/usr/local/share/locale/de/LC_MESSAGES/tornado.mo +PREFIX/share/locale/de/LC_MESSAGES/tornado.mo .P -/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo +PREFIX/share/locale/fr/LC_MESSAGES/tornado.mo .SH NOTES When you run the game in network mode you should have the same game versions on client and server side. Versions prior 1.0pre4 won't work at all due to Property changes on: head/games/tornado/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/tornado/pkg-descr =================================================================== --- head/games/tornado/pkg-descr (revision 126042) +++ head/games/tornado/pkg-descr (revision 126043) @@ -1,9 +1,9 @@ A clone of an old C64 game. The object is to destroy your opponent's house with the power of weather, before they do the same to you. Play against the computer AI, or against another player locally or over the network. -WWW: http://home.kcore.de/~kiza/linux/tornado/ +WWW: http://kiza.kcore.de/software/tornado/ --Wade minter@lunenburg.org Property changes on: head/games/tornado/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/tornado/pkg-plist =================================================================== --- head/games/tornado/pkg-plist (revision 126042) +++ head/games/tornado/pkg-plist (revision 126043) @@ -1,9 +1,24 @@ bin/tornado @unexec rmdir %D/share/games 2>/dev/null || true share/games/tornado.scores share/locale/de/LC_MESSAGES/tornado.mo -share/locale/fr/LC_MESSAGES/tornado.mo -share/locale/pt/LC_MESSAGES/tornado.mo share/locale/es/LC_MESSAGES/tornado.mo +share/locale/fr/LC_MESSAGES/tornado.mo share/locale/it/LC_MESSAGES/tornado.mo +share/locale/nl/LC_MESSAGES/tornado.mo +share/locale/no/LC_MESSAGES/tornado.mo share/locale/ru/LC_MESSAGES/tornado.mo +share/locale/pt/LC_MESSAGES/tornado.mo +@dirrm share/games +@dirrm man/de/man6 +@dirrm man/de +@dirrm man/fr/man6 +@dirrm man/fr +@dirrm man/it/man6 +@dirrm man/it +@dirrm man/nl/man6 +@dirrm man/nl +@dirrm man/no/man6 +@dirrm man/no +@dirrm man/ru/man6 +@dirrm man/ru Property changes on: head/games/tornado/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property