From owner-freebsd-ports Tue May 19 22:34:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA16785 for freebsd-ports-outgoing; Tue, 19 May 1998 22:34:39 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA16775 for ; Tue, 19 May 1998 22:34:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA08904; Tue, 19 May 1998 22:30:03 -0700 (PDT) Received: from rich.chel.su (root@mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA16764 for ; Tue, 19 May 1998 22:34:22 -0700 (PDT) (envelope-from andy@icc.surw.chel.su) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by rich.chel.su (8.7.2/Murphy) with ESMTP id LAA02441 for ; Wed, 20 May 1998 11:34:35 +0600 (UDT) Received: (from andy@localhost) by icc.surw.chel.su (8.8.5/8.8.4) id JAA10850; Wed, 20 May 1998 09:37:50 +0400 (MSD) Message-Id: <199805200537.JAA10850@icc.surw.chel.su> Date: Wed, 20 May 1998 09:37:50 +0400 (MSD) From: Andrey Zakhvatov Reply-To: andy@icc.surw.chel.su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6700: New port: xworm-1.02 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6700 >Category: ports >Synopsis: New port: xworm-1.02 >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: Tue May 19 22:30:01 PDT 1998 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: This is a port of classic game with apples and hungry worm. In this game you must help wormie - the hungry maggot, to steal apples from bazar the evil. Bazar has put an electric fence around the garden, and he has also been spreading poisionous mushrooms into it. You must guide wormie around this objects, and you must keep him from eating himself. # 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: # # xworm-1.02 # xworm-1.02/Makefile # xworm-1.02/files # xworm-1.02/files/md5 # xworm-1.02/patches # xworm-1.02/patches/patch-aa # xworm-1.02/patches/patch-ab # xworm-1.02/pkg # xworm-1.02/pkg/PLIST # xworm-1.02/pkg/COMMENT # xworm-1.02/pkg/DESCR # echo c - xworm-1.02 mkdir -p xworm-1.02 > /dev/null 2>&1 echo x - xworm-1.02/Makefile sed 's/^X//' >xworm-1.02/Makefile << 'END-of-xworm-1.02/Makefile' X# New ports collection makefile for: xworm X# Version required: 1.02 X# Date created: 18 March 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= xworm102 XPKGNAME= xworm-1.02 XCATEGORIES= games x11 XMASTER_SITES= http://www.ekran.no/archive/x/ X XMAINTAINER= andy@icc.surw.chel.su X XALL_TARGET= freebsd XUSE_X11= yes XWRKSRC= ${WRKDIR}/XWorm X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin X @ ${MKDIR} ${PREFIX}/share/xworm X.for file in font grid raw X @ ${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm X.endfor X X.include END-of-xworm-1.02/Makefile echo c - xworm-1.02/files mkdir -p xworm-1.02/files > /dev/null 2>&1 echo x - xworm-1.02/files/md5 sed 's/^X//' >xworm-1.02/files/md5 << 'END-of-xworm-1.02/files/md5' XMD5 (xworm102.tar.gz) = 17c7a53c48d4b7489d507fab020e4134 END-of-xworm-1.02/files/md5 echo c - xworm-1.02/patches mkdir -p xworm-1.02/patches > /dev/null 2>&1 echo x - xworm-1.02/patches/patch-aa sed 's/^X//' >xworm-1.02/patches/patch-aa << 'END-of-xworm-1.02/patches/patch-aa' X--- Makefile Wed May 7 16:28:12 1997 X+++ /home/andy/tmp/wrk/Makefile Wed Mar 18 23:40:31 1998 X@@ -6,6 +6,7 @@ X HPFLAGS = -O -D_HPUX_SOURCE X SUNFLAGS = -O X LINUXFLAGS = -O X+FREEBSDFLAGS= -O -DPREFIX=\"/usr/X11R6/share/xworm\" X X INCDIR = -I/usr/include/X11R5 -I/usr/include -I/usr/X11R6/include X X@@ -18,9 +19,10 @@ X @echo " " X @echo "type:" X @echo " " X- @echo " make hp [HP/UX and similar systems]" X- @echo " make sun [Sun-Os/SUN systems]" X- @echo " make linux [linux systems]" X+ @echo " make hp [HP/UX and similar systems]" X+ @echo " make sun [Sun-Os/SUN systems]" X+ @echo " make linux [linux systems]" X+ @echo " make freebsd [FreeBSD systems]" X @echo " " X @echo "xworm.font, xworm.grid and xworm.raw has to be in the same directory as xworm" X @echo "please check the Makefile if you have problems compiling the program" X@@ -33,6 +35,9 @@ X X linux: xworm.c X $(CC) $(LINUXFLAGS) $(INCDIR) xworm.c -o xworm $(LINUXLINK) X+ X+freebsd: xworm.c X+ $(CC) $(FREEBSDFLAGS) $(INCDIR) xworm.c -o xworm $(LINUXLINK) X X clean: X rm -f core xworm END-of-xworm-1.02/patches/patch-aa echo x - xworm-1.02/patches/patch-ab sed 's/^X//' >xworm-1.02/patches/patch-ab << 'END-of-xworm-1.02/patches/patch-ab' X--- xworm.c Wed May 7 16:25:57 1997 X+++ /home/andy/tmp/wrk/xworm.c Wed Mar 18 23:40:39 1998 X@@ -3,13 +3,20 @@ X X #include X #include X+#ifdef __FreeBSD__ X+#include X+#endif X #include X #include X #include X X-#define gridfile "xworm.grid" X-#define fontfile "xworm.font" X-#define logofile "xworm.raw" X+#ifndef PREFIX X+#define PREFIX "." X+#endif X+ X+#define gridfile PREFIX "/xworm.grid" X+#define fontfile PREFIX "/xworm.font" X+#define logofile PREFIX "/xworm.raw" X X #define maxQ 5000 /* max queue */ X #define NCOLORS 15 /* number of colours */ END-of-xworm-1.02/patches/patch-ab echo c - xworm-1.02/pkg mkdir -p xworm-1.02/pkg > /dev/null 2>&1 echo x - xworm-1.02/pkg/PLIST sed 's/^X//' >xworm-1.02/pkg/PLIST << 'END-of-xworm-1.02/pkg/PLIST' Xbin/xworm Xshare/xworm/xworm.font Xshare/xworm/xworm.grid Xshare/xworm/xworm.raw X@dirrm share/xworm END-of-xworm-1.02/pkg/PLIST echo x - xworm-1.02/pkg/COMMENT sed 's/^X//' >xworm-1.02/pkg/COMMENT << 'END-of-xworm-1.02/pkg/COMMENT' XClassic game with apples and hungry worm. END-of-xworm-1.02/pkg/COMMENT echo x - xworm-1.02/pkg/DESCR sed 's/^X//' >xworm-1.02/pkg/DESCR << 'END-of-xworm-1.02/pkg/DESCR' X In this game you must help wormie - the hungry maggot, to steal Xapples from bazar the evil. Bazar has put an electric fence around Xthe garden, and he has also been spreading poisionous mushrooms Xinto it. You must guide wormie around this objects, and you must Xkeep him from eating himself. END-of-xworm-1.02/pkg/DESCR exit >How-To-Repeat: >Fix: Please, check and commit this port. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message