From owner-freebsd-ports Mon Apr 9 2:50:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2079A37B424 for ; Mon, 9 Apr 2001 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f399o1V31893; Mon, 9 Apr 2001 02:50:01 -0700 (PDT) (envelope-from gnats) Received: from hamster.kyne.com.au (kyneso.lnk.telstra.net [139.130.137.83]) by hub.freebsd.org (Postfix) with ESMTP id 3DF0537B424 for ; Mon, 9 Apr 2001 02:46:38 -0700 (PDT) (envelope-from mark@aeris.kyne.com.au) Received: from aeris.kyne.com.au (root@aeris.kyne.com.au [203.38.180.166]) by hamster.kyne.com.au (8.9.3/8.9.3) with ESMTP id TAA25855 for ; Mon, 9 Apr 2001 19:16:36 +0930 Received: (from mark@localhost) by aeris.kyne.com.au (8.11.1/8.11.1) id f399oJa46803; Mon, 9 Apr 2001 19:20:19 +0930 (CST) (envelope-from mark) Message-Id: <200104090950.f399oJa46803@aeris.kyne.com.au> Date: Mon, 9 Apr 2001 19:20:19 +0930 (CST) From: mark@kyne.com.au Reply-To: mark@kyne.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26455: New port: games/conquest: A multiplayer curses space warfare game Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26455 >Category: ports >Synopsis: New port: games/conquest: A multiplayer curses space warfare game >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 09 02:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mark Pulford >Release: FreeBSD 4.2-STABLE i386 >Organization: none >Environment: >Description: Conquest is a real-time multiplayer space warfare game for curses. The object of the game is similar to netrek - conquer the universe by taking over planets. NOTE: The docs in share/conquest are required by the client for help/news so PORTDOCS doesn't apply >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # conquest # conquest/distinfo # conquest/pkg-descr # conquest/Makefile # conquest/pkg-install # conquest/files # conquest/files/patch-Makefile.in # conquest/files/patch-defs.h # conquest/files/patch-conf.h # conquest/files/patch-c_defs.h # conquest/files/patch-configure # conquest/pkg-plist # conquest/pkg-comment # echo c - conquest mkdir -p conquest > /dev/null 2>&1 echo x - conquest/distinfo sed 's/^X//' >conquest/distinfo << 'END-of-conquest/distinfo' XMD5 (conquest-7.1.src.tar.gz) = eb12d4e1d74db603c1ccc81d8d3b09de END-of-conquest/distinfo echo x - conquest/pkg-descr sed 's/^X//' >conquest/pkg-descr << 'END-of-conquest/pkg-descr' XConquest is a real-time multiplayer space warfare game for curses. XThe object of the game is similar to netrek - conquer the universe by Xtaking over planets. X XWWW: http://www.radscan.com/conquest.html END-of-conquest/pkg-descr echo x - conquest/Makefile sed 's/^X//' >conquest/Makefile << 'END-of-conquest/Makefile' X# New ports collection makefile for: conquest X# Date created: Apr 9, 2001 X# Whom: Mark Pulford X# X# $FreeBSD$ X# X XPORTNAME= conquest XPORTVERSION= 7.1 XCATEGORIES= games XMASTER_SITES= http://www.radscan.com/conquest/ XEXTRACT_SUFX= .src.tar.gz X XMAINTAINER= mark@kyne.com.au X XGNU_CONFIGURE= yes XBINGRP= conquest XSHAREGRP= conquest X Xdo-install: X @${SH} pkg-install ${PORTNAME} PRE-INSTALL X ${INSTALL_PROGRAM} -m 2550 ${WRKSRC}/conqai ${PREFIX}/sbin X ${INSTALL_PROGRAM} -m 2551 ${WRKSRC}/conqdriv ${PREFIX}/libexec X ${INSTALL_PROGRAM} -m 2551 ${WRKSRC}/conqoper ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/conqstrat ${PREFIX}/sbin X ${INSTALL_PROGRAM} -m 2551 ${WRKSRC}/conquest ${PREFIX}/bin X ${MKDIR} ${PREFIX}/etc/conquest X ${INSTALL_DATA} ${WRKSRC}/conqrule ${PREFIX}/etc/conquest/conqrule.sample X ${MKDIR} ${PREFIX}/share/conquest X ${INSTALL_DATA} ${WRKSRC}/conqnews.doc ${PREFIX}/share/conquest/conqnews.doc.sample X ${INSTALL_DATA} ${WRKSRC}/conquest.doc ${PREFIX}/share/conquest X @${SH} pkg-install ${PORTNAME} POST-INSTALL X X.include END-of-conquest/Makefile echo x - conquest/pkg-install sed 's/^X//' >conquest/pkg-install << 'END-of-conquest/pkg-install' X#!/bin/sh X X[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}" X[ "${PREFIX}" ] || PREFIX=/usr/local X Xcase "$2" in X PRE-INSTALL) X if ! pw group show conquest >/dev/null 2>&1 X then X echo "===> Creating group conquest" X pw add group conquest X fi X ;; X POST-INSTALL) X chown root.conquest ${PREFIX}/etc/conquest X chmod 775 ${PREFIX}/etc/conquest X if [ ! -f "${PREFIX}/etc/conquest/conqrule" ] X then X echo "===> Copying sample conqrule into place" X cp ${PREFIX}/etc/conquest/conqrule.sample ${PREFIX}/etc/conquest/conqrule X fi X if [ ! -f "${PREFIX}/etc/conquest/conquestrc" ] X then X echo "===> Creating default conquest configuration" X ${PREFIX}/sbin/conqoper -C X ${PREFIX}/sbin/conqoper -Ie -E X fi X if [ ! -f "${PREFIX}/share/conquest/conqnews.doc" ] X then X echo "===> Copying sample news file into place" X cp ${PREFIX}/share/conquest/conqnews.doc.sample ${PREFIX}/share/conquest/conqnews.doc X fi X ;; X *) X echo "Incorrect parameter" X exit 1 X ;; Xesac END-of-conquest/pkg-install echo c - conquest/files mkdir -p conquest/files > /dev/null 2>&1 echo x - conquest/files/patch-Makefile.in sed 's/^X//' >conquest/files/patch-Makefile.in << 'END-of-conquest/files/patch-Makefile.in' X--- Makefile.in.orig Thu Jan 4 07:05:44 2001 X+++ Makefile.in Mon Apr 9 17:57:20 2001 X@@ -10,7 +10,7 @@ X # User defineable options X CONQGROUP = @CONQGROUP@ X CONQBIN = @prefix@/bin X-CONQHOME = @prefix@/conquest X+CONQHOME = @prefix@ X MAKE = make X X # Unixware: try -Ki486 or -Kpentium - X@@ -81,8 +81,6 @@ X conquest: conquest.o X @-rm -f conquest X $(CC) -o conquest $(CFLAGS) conquest.o $(CURDIR)/$(CONQLB) $(EXTLBS) X- @chgrp $(CONQGROUP) conquest X- @chmod 2771 conquest X X conquest.o: conquest.c c_defs.h defs.h conqdef.h conqcom.h conqcom2.h X $(CC) $(CFLAGS) -c conquest.c X@@ -93,14 +91,10 @@ X conqdriv: conqdriv.o X @-rm -f conqdriv X $(CC) -o conqdriv $(CFLAGS) conqdriv.o $(CURDIR)/$(CONQLB) $(EXTLBS) X- @chgrp $(CONQGROUP) conqdriv X- @chmod 2771 conqdriv X X conqai: conqai.o X @-rm -f conqai X $(CC) -o conqai $(CFLAGS) conqai.o $(CURDIR)/$(CONQLB) $(EXTLBS) X- @chgrp $(CONQGROUP) conqai X- @chmod 2771 conqai X X conqai.o: conqai.c c_defs.h defs.h conqdef.h conqcom.h conqcom2.h conqdata.h X $(CC) $(CFLAGS) -c -DCONQAIMAIN conqai.c X@@ -112,8 +106,6 @@ X conqoper: conqoper.o X @-rm -f conqoper X $(CC) -o conqoper $(CFLAGS) conqoper.o $(CURDIR)/$(CONQLB) $(EXTLBS) X- @chgrp $(CONQGROUP) conqoper X- @chmod 2771 conqoper X X conqoper.o: conqoper.c c_defs.h defs.h conqdef.h conqcom.h conqcom2.h X $(CC) $(CFLAGS) -c conqoper.c END-of-conquest/files/patch-Makefile.in echo x - conquest/files/patch-defs.h sed 's/^X//' >conquest/files/patch-defs.h << 'END-of-conquest/files/patch-defs.h' X--- defs.h.orig Thu Jan 4 07:05:55 2001 X+++ defs.h Mon Apr 9 18:09:35 2001 X@@ -43,18 +43,18 @@ X #endif X X #ifndef CONQHOME X-# define CONQHOME "/opt/conquest" X+# define CONQHOME "/usr/local" X #endif X X /* Some variables that used to be in conqfig.c - relative to conquest X * installation directory (CONQHOME) X */ X X-#define C_CONQ_CONQDRIV "bin/conqdriv" X-#define C_CONQ_COMMONBLK "etc/conquest_common.img" X-#define C_CONQ_ERRLOG "etc/conquest.log" X-#define C_CONQ_NEWSFILE "etc/conqnews.doc" X-#define C_CONQ_HELPFILE "etc/conquest.doc" X+#define C_CONQ_CONQDRIV "libexec/conqdriv" X+#define C_CONQ_COMMONBLK "etc/conquest/conquest_common.img" X+#define C_CONQ_ERRLOG "etc/conquest/conquest.log" X+#define C_CONQ_NEWSFILE "share/conquest/conqnews.doc" X+#define C_CONQ_HELPFILE "share/conquest/conquest.doc" X X X /* HAS_SETITIMER - Define if your system supports setitimer/getitimer(). END-of-conquest/files/patch-defs.h echo x - conquest/files/patch-conf.h sed 's/^X//' >conquest/files/patch-conf.h << 'END-of-conquest/files/patch-conf.h' X--- conf.h.orig Mon Apr 9 17:24:09 2001 X+++ conf.h Mon Apr 9 17:24:25 2001 X@@ -24,7 +24,7 @@ X # define CEXTERN extern X #endif X X-#define SYSCONFIG_FILE "etc/conquestrc" /* relative to CONQHOME */ X+#define SYSCONFIG_FILE "etc/conquest/conquestrc" /* relative to CONQHOME */ X #define CONFIG_FILE ".conquestrc" X X #define CONF_MAXCOMMENTS 50 END-of-conquest/files/patch-conf.h echo x - conquest/files/patch-c_defs.h sed 's/^X//' >conquest/files/patch-c_defs.h << 'END-of-conquest/files/patch-c_defs.h' X--- c_defs.h.orig Mon Apr 9 17:55:17 2001 X+++ c_defs.h Mon Apr 9 17:55:34 2001 X@@ -85,7 +85,7 @@ X #include X X #if defined(HAVE_TERMIO_H) X-# include X+/* # include */ X #endif X X #if defined(HAVE_MMAP) END-of-conquest/files/patch-c_defs.h echo x - conquest/files/patch-configure sed 's/^X//' >conquest/files/patch-configure << 'END-of-conquest/files/patch-configure' X--- configure.orig Mon Apr 9 17:59:55 2001 X+++ configure Mon Apr 9 18:02:33 2001 X@@ -938,7 +938,7 @@ X X if test -n "$GCC" X then X- CFLAGS="$CFLAGS -D__NO_MATH_INLINES -O2 -fPIC -fno-builtin" X+ CFLAGS="$CFLAGS -D__NO_MATH_INLINES -fno-builtin" X fi X X echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 END-of-conquest/files/patch-configure echo x - conquest/pkg-plist sed 's/^X//' >conquest/pkg-plist << 'END-of-conquest/pkg-plist' Xsbin/conqai Xlibexec/conqdriv Xsbin/conqoper Xsbin/conqstrat Xbin/conquest Xetc/conquest/conqrule.sample X@dirrm etc/conquest Xshare/conquest/conqnews.doc.sample Xshare/conquest/conquest.doc X@dirrm share/conquest END-of-conquest/pkg-plist echo x - conquest/pkg-comment sed 's/^X//' >conquest/pkg-comment << 'END-of-conquest/pkg-comment' XA multiplayer curses space warfare game END-of-conquest/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message