Bug 7827 - New port: garith-2.1
Summary: New port: garith-2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-09-04 05:20 UTC by Andrey Zakhvatov
Modified: 1999-04-13 15:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Zakhvatov 1998-09-04 05:20:00 UTC
   This is a port of arithmetic quiz program for X Window System.
G Arith is a GTK+ based arithmetic quiz program for X Window System.
It is fairly self-explanatory, so there is no documentation about
program usage much at all.
Homepage: http://www.cnm-vra.com/micah/garith


# 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:
#
#	garith-2.1
#	garith-2.1/files
#	garith-2.1/files/md5
#	garith-2.1/patches
#	garith-2.1/patches/patch-ab
#	garith-2.1/patches/patch-aa
#	garith-2.1/pkg
#	garith-2.1/pkg/PLIST
#	garith-2.1/pkg/COMMENT
#	garith-2.1/pkg/DESCR
#	garith-2.1/Makefile
#
echo c - garith-2.1
mkdir -p garith-2.1 > /dev/null 2>&1
echo c - garith-2.1/files
mkdir -p garith-2.1/files > /dev/null 2>&1
echo x - garith-2.1/files/md5
sed 's/^X//' >garith-2.1/files/md5 << 'END-of-garith-2.1/files/md5'
XMD5 (garith-2.1.tar.gz) = 05bd81423e7a7c343b2f3f63ca9b24f4
END-of-garith-2.1/files/md5
echo c - garith-2.1/patches
mkdir -p garith-2.1/patches > /dev/null 2>&1
echo x - garith-2.1/patches/patch-ab
sed 's/^X//' >garith-2.1/patches/patch-ab << 'END-of-garith-2.1/patches/patch-ab'
X--- garith.c	Wed Sep 17 23:47:03 1997
X+++ /home/andy/tmp/wrk/garith.c	Wed Aug  5 13:55:44 1998
X@@ -24,7 +24,7 @@
X */
X 
X #include <gtk/gtk.h>		/* GTK stuff */
X-#include <gnome.h>		/* GNOME stuff */
X+/* #include <gnome.h>		/* GNOME stuff */
X #include <stdlib.h>
X #include <time.h>		/* we use time as seed for rand() */
X 
X@@ -76,7 +76,7 @@
X 
X gulong		num1, num2;
X guint		right = 0, done = 0;
X-gldouble	less_than;
X+double		less_than;
X gchar		op;
X time_t		starttime;
X 
X@@ -643,7 +643,7 @@
X 	   gnome_init() is called by all gnome apps. */
X 
X 	gtk_init(&argc, &argv);
X-	gnome_init(&argc, &argv);
X+	/* gnome_init(&argc, &argv); */
X 
X 	/* Make the windows */
X 
END-of-garith-2.1/patches/patch-ab
echo x - garith-2.1/patches/patch-aa
sed 's/^X//' >garith-2.1/patches/patch-aa << 'END-of-garith-2.1/patches/patch-aa'
X--- Makefile	Thu Sep 18 04:03:00 1997
X+++ /home/andy/tmp/wrk/Makefile	Wed Aug  5 13:55:50 1998
X@@ -1,20 +1,20 @@
X # Makefile adapted from that in the GMix distribution, thanks.
X-CC=gcc
X+#CC=gcc
X LINK=gcc
X-INCDIR=
X+INCDIR=-I${X11BASE}/include
X LIBDIR=-L/usr/X11R6/lib
X-LDLIBS=-lgnome -lgnomeui -lgdk -lgtk -lglib -lm
X-OPTFLAGS= -m486 -O2 -Wall
X+LDLIBS=-lgdk -lgtk -lglib -lm -lX11 -lXext
X+#OPTFLAGS= -m486 -O2 -Wall
X DEST=garith
X 
X OBJS=garith.o
X SRCS=garith.c
X 
X-CFLAGS=  $(OPTFLAGS) $(DEFINES) $(INCDIR)
X+CFLAGS+=  $(OPTFLAGS) $(DEFINES) $(INCDIR)
X LFLAGS= $(LIBDIR) $(LDLIBS)
X 
X $(DEST) : $(OBJS)
X-	$(LINK) $(CFLAGS) -o $@ $(OBJS) $(LFLAGS)
X+	$(CC) -o $@ $(OBJS) $(LFLAGS)
X 
X clean:
X 	rm -f *~
END-of-garith-2.1/patches/patch-aa
echo c - garith-2.1/pkg
mkdir -p garith-2.1/pkg > /dev/null 2>&1
echo x - garith-2.1/pkg/PLIST
sed 's/^X//' >garith-2.1/pkg/PLIST << 'END-of-garith-2.1/pkg/PLIST'
Xbin/garith
Xshare/doc/garith/BUGS
Xshare/doc/garith/COPYING
Xshare/doc/garith/HISTORY
Xshare/doc/garith/README
Xshare/doc/garith/TODO
X@dirrm share/doc/garith
END-of-garith-2.1/pkg/PLIST
echo x - garith-2.1/pkg/COMMENT
sed 's/^X//' >garith-2.1/pkg/COMMENT << 'END-of-garith-2.1/pkg/COMMENT'
XArithmetic quiz program for X Window System.
END-of-garith-2.1/pkg/COMMENT
echo x - garith-2.1/pkg/DESCR
sed 's/^X//' >garith-2.1/pkg/DESCR << 'END-of-garith-2.1/pkg/DESCR'
XG Arith is a GTK+ based arithmetic quiz program for X Window System.
XIt is fairly self-explanatory, so there is no documentation about
Xprogram usage much at all.
X
Xhttp://www.cnm-vra.com/micah/garith
END-of-garith-2.1/pkg/DESCR
echo x - garith-2.1/Makefile
sed 's/^X//' >garith-2.1/Makefile << 'END-of-garith-2.1/Makefile'
X# New ports collection makefile for:	garith
X# Version required:			2.1
X# Date created:				5 August 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	garith-2.1
XCATEGORIES=	misc
XMASTER_SITES=	http://www.cnm-vra.com/micah/garith/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XLIB_DEPENDS=	gdk\\.1\\.:${PORTSDIR}/x11/gtk \
X		glib\\.1\\.:${PORTSDIR}/x11/gtk \
X		gtk\\.1\\.:${PORTSDIR}/x11/gtk
X
X
XALL_TARGET=
XUSE_X_PREFIX=	yes
XWRKSRC=		${WRKDIR}/garith
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/garith ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/garith
X.for file in BUGS COPYING HISTORY README TODO
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/garith
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-garith-2.1/Makefile
exit

Fix: 

Please, check and commit this port.
Comment 1 taoka freebsd_committer freebsd_triage 1999-04-13 15:43:56 UTC
State Changed
From-To: open->closed

Committed into ports/games, thanks!