Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 20:59:31 -0700 (PDT)
From:      Satoshi Asami <asami@FreeBSD.ORG>
To:        Pedro@FPS.biblos.unal.edu.co, asami@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/3442
Message-ID:  <199705210359.UAA23699@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: New port: xbattle

State-Changed-From-To: open-closed
State-Changed-By: asami
State-Changed-When: Tue May 20 20:55:49 PDT 1997
State-Changed-Why: 

Thanks, imported!  Diffs follow:

===
diff -ru xbattle/Makefile xbattle.new/Makefile
--- xbattle/Makefile	Tue Apr 29 15:21:23 1997
+++ xbattle.new/Makefile	Tue May 20 20:52:05 1997
@@ -3,28 +3,25 @@
 # Date created:         6 Apr 97
 # Whom:                 Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co>
 #
-# $Id: Makefile,v 1.2 1997/03/28 02:35:44 pedro  Exp $
+# $Id$
 #
 
 DISTNAME=	xbattle-5.4.1
-PKGNAME=	xbattle-5.4.1
 CATEGORIES=	games
 MASTER_SITES=	ftp://cns-ftp.bu.edu/pub/xbattle/	\
 		ftp://www.tiac.net/users/lesher/xbattle/
 
 MAINTAINER=	pgiffuni@fps.biblos.unal.edu.co
 
-USE_X11=	yes
 USE_IMAKE=	yes
 
-man1=	xbattle.1
-
 post-install:
-	$(CP) -R $(WRKSRC)/xbos/ $(PREFIX)/etc/
-	$(CP) -R $(WRKSRC)/xbts/ $(PREFIX)/etc/ 
-	$(CP) -R $(WRKSRC)/xbas/ $(PREFIX)/etc/
+	$(MKDIR) $(PREFIX)/etc/xbattle
+	$(CP) -R $(WRKSRC)/xbos $(PREFIX)/etc/xbattle/
+	$(CP) -R $(WRKSRC)/xbts $(PREFIX)/etc/xbattle/
+	$(CP) -R $(WRKSRC)/xbas $(PREFIX)/etc/xbattle/
 .if !defined(NOPORTDOCS)
-	$(MKDIR) $(PREFIX)/share/doc/xbattle/
+	$(MKDIR) $(PREFIX)/share/doc/xbattle
 	$(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/ 
 	$(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/ 
 .endif
diff -ru xbattle/patches/patch-aa xbattle.new/patches/patch-aa
--- xbattle/patches/patch-aa	Tue Apr 29 14:14:27 1997
+++ xbattle.new/patches/patch-aa	Tue May 20 20:46:58 1997
@@ -15,9 +15,9 @@
   #endif
   #endif
   
-!         DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/etc/xbos\" \
-!                   -DDEFAULT_XBT_DIR=\"$(PREFIX)/etc/xbts\" \
-!                   -DDEFAULT_XBA_DIR=\"$(PREFIX)/etc/xbas\"
+!         DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/etc/xbattle/xbos\" \
+!                   -DDEFAULT_XBT_DIR=\"$(PREFIX)/etc/xbattle/xbts\" \
+!                   -DDEFAULT_XBA_DIR=\"$(PREFIX)/etc/xbattle/xbas\"
   LOCAL_LIBRARIES = $(XLIB)
     SYS_LIBRARIES = -lm
              SRCS =	command.c		\
diff -ru xbattle/pkg/DESCR xbattle.new/pkg/DESCR
--- xbattle/pkg/DESCR	Tue Apr 29 13:52:25 1997
+++ xbattle.new/pkg/DESCR	Tue May 20 20:49:20 1997
@@ -9,6 +9,7 @@
 (http://cns-web.bu.edu/pub/xpip/html/xbattle.html), which contains the
 latest release information, tutorials, file archives, and a comprehensive 
 on-line manual.
+
 xbattle is a concurrent multi-player game which combines elements of
 strategy with arcade-like action to capture a wide range of military 
 scenarios.  The game is based on X Windows, which you must have
@@ -21,6 +22,7 @@
 eliminate the enemy from the board by attacking cells occupied by enemy
 troops.  A wide variety of command line options (and previously configured game
 files) provide an abundance of different scenarios and gaming environments.
+
 If you have never used xbattle before, we strongly suggest you read
 through the online introduction at the Web site specified above.  To get the
 feel of the game, you can run the tutorials (called "tutorial1" and
diff -ru xbattle/pkg/PLIST xbattle.new/pkg/PLIST
--- xbattle/pkg/PLIST	Tue Apr 29 15:04:31 1997
+++ xbattle.new/pkg/PLIST	Tue May 20 20:51:22 1997
@@ -1,20 +1,19 @@
 bin/xbattle
+etc/xbattle/xbas/simple.xba
+etc/xbattle/xbos/atlas.xbo
+etc/xbattle/xbos/default.xbo
+etc/xbattle/xbos/demo.xbo
+etc/xbattle/xbos/desert.xbo
+etc/xbattle/xbos/io.xbo
+etc/xbattle/xbos/skirmish.xbo
+etc/xbattle/xbos/space.xbo
+etc/xbattle/xbos/tribal.xbo
+etc/xbattle/xbos/tropical.xbo
+etc/xbattle/xbos/tropical2.xbo
+etc/xbattle/xbos/tundra.xbo
+etc/xbattle/xbts/castle.xbt
+etc/xbattle/xbts/natural.xbt
 man/man1/xbattle.1.gz
-xbas/simple.xba
-xbos/atlas.xbo
-xbos/default.xbo
-xbos/demo.xbo
-xbos/desert.xbo
-xbos/io.xbo
-xbos/skirmish.xbo
-xbos/space.xbo
-xbos/tribal.xbo
-xbos/tropical.xbo
-xbos/tropical2.xbo
-xbos/tundra.xbo
-xbts/castle.xbt
-xbts/natural.xbt
 share/doc/xbattle/README
 share/doc/xbattle/tutorial1
 share/doc/xbattle/tutorial2
-
===

Note I moved the setup files one directory down (your PLIST was
incorrect even before that, by the way).  Hmm, should I have moved
them to share/xbattle instead of etc/xbattle?

You can see I deleted a few unnecessary lines from the Makefile.
Also, keep the PLIST sorted, it makes it easier to avoid unnecessary
changes when we do an upgrade.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705210359.UAA23699>