Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 19:15:01 +0200 (CEST)
From:      Isegrim@Wunder-Nett.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6850: New port: xteddy
Message-ID:  <199806031715.TAA09951@irs279.inf.tu-dresden.de>

next in thread | raw e-mail | index | archive | help

>Number:         6850
>Category:       ports
>Synopsis:       New port: xteddy
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun  3 10:20:02 PDT 1998
>Last-Modified:
>Originator:     Eckart Hofmann
>Organization:
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	

>Description:

	

>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:
#
#	xteddy
#	xteddy/files
#	xteddy/files/md5
#	xteddy/patches
#	xteddy/patches/patch-aa
#	xteddy/patches/patch-ab
#	xteddy/patches/patch-ac
#	xteddy/pkg
#	xteddy/pkg/COMMENT
#	xteddy/pkg/PLIST
#	xteddy/pkg/DESCR
#	xteddy/Makefile
#
echo c - xteddy
mkdir -p xteddy > /dev/null 2>&1
echo c - xteddy/files
mkdir -p xteddy/files > /dev/null 2>&1
echo x - xteddy/files/md5
sed 's/^X//' >xteddy/files/md5 << 'END-of-xteddy/files/md5'
XMD5 (xteddy-1.0.tar.gz) = ec01c374400d56536137e2f3bffd3f25
END-of-xteddy/files/md5
echo c - xteddy/patches
mkdir -p xteddy/patches > /dev/null 2>&1
echo x - xteddy/patches/patch-aa
sed 's/^X//' >xteddy/patches/patch-aa << 'END-of-xteddy/patches/patch-aa'
X--- Imakefile.orig	Mon Jan 31 20:12:14 1994
X+++ Imakefile	Wed Jun  3 17:14:29 1998
X@@ -1,6 +1,6 @@
X   SYS_LIBRARIES = -lX11 -lXext
X- EXTRA_INCLUDES = -I$(HOME)/include/X11
X-EXTRA_LIBRARIES = -L$(HOME)/lib -lXpm
X+ EXTRA_INCLUDES = -I/usr/X11R6/include/X11
X+EXTRA_LIBRARIES = -L/usr/X11R6/lib -lXpm
X            SRCS = xteddy.c
X            OBJS = xteddy.o
X 
END-of-xteddy/patches/patch-aa
echo x - xteddy/patches/patch-ab
sed 's/^X//' >xteddy/patches/patch-ab << 'END-of-xteddy/patches/patch-ab'
X--- xteddy.man.orig	Wed Jun  3 17:23:30 1998
X+++ xteddy.man	Wed Jun  3 17:08:40 1998
X@@ -0,0 +1,13 @@
X+.Dd Jun 03, 1998
X+.Dt XTEDDY 1
X+.Os
X+.Sh NAME
X+.Nm xteddy
X+.Nd shows a cuddlesome teddy on the X desktop
X+.Sh SYNOPSIS
X+.Nm xteddy
X+.Sh DESCRIPTION
X+.Nm xteddy 
X+shows a very cuddlesome teddy on the X desktop. The teddy can be removed
X+by moving the mouse cursor over the teddy and typing "q" or "Q". But it's
X+not advised to do that.
END-of-xteddy/patches/patch-ab
echo x - xteddy/patches/patch-ac
sed 's/^X//' >xteddy/patches/patch-ac << 'END-of-xteddy/patches/patch-ac'
X--- xteddy.c.orig	Mon Jan 31 20:12:15 1994
X+++ xteddy.c	Wed Jun  3 17:09:27 1998
X@@ -19,7 +19,7 @@
X #include <X11/cursorfont.h>
X 
X #ifndef NOXPM
X-#include <xpm.h>
X+#include <X11/xpm.h>
X #endif
X 
X #include <stdio.h>
X@@ -33,6 +33,14 @@
X #include "xteddy_color.xpm"
X #endif
X 
X+#ifndef TRUE
X+#define TRUE 1
X+#endif /* TRUE */
X+
X+#ifndef FALSE
X+#define FALSE 0
X+#endif /* FALSE */
X+
X #include "patchlevel.h"
X 
X static char *progname;
X@@ -335,8 +343,8 @@
X 	  break;
X 	case KeyPress:
X 	  /* Exit on "q" or "Q" */
X-	  charcount = XLookupString(&report, buffer, bufsize,
X-				    &keysym, &compose);
X+	  charcount = XLookupString(&report.xkey, 
X+				    buffer, bufsize, &keysym, &compose);
X 	  if((keysym == XK_Q) || (keysym == XK_q))
X 	    {
X 	      XCloseDisplay(display);
END-of-xteddy/patches/patch-ac
echo c - xteddy/pkg
mkdir -p xteddy/pkg > /dev/null 2>&1
echo x - xteddy/pkg/COMMENT
sed 's/^X//' >xteddy/pkg/COMMENT << 'END-of-xteddy/pkg/COMMENT'
XA cuddlesome teddy for the X desktop.
END-of-xteddy/pkg/COMMENT
echo x - xteddy/pkg/PLIST
sed 's/^X//' >xteddy/pkg/PLIST << 'END-of-xteddy/pkg/PLIST'
Xbin/xteddy
Xman/man1/xteddy.1.gz
END-of-xteddy/pkg/PLIST
echo x - xteddy/pkg/DESCR
sed 's/^X//' >xteddy/pkg/DESCR << 'END-of-xteddy/pkg/DESCR'
XThis is _the_ toy for the X desktop, a must for all plush lovers: a very,
Xvery cuddlesome teddy.
X
XThanks to Felix Schroeter (felix@openbsd.org) for helpful hints to create
Xthis port.
X
X- Eckart Hofmann
XIsegrim@Wunder-Nett.org
END-of-xteddy/pkg/DESCR
echo x - xteddy/Makefile
sed 's/^X//' >xteddy/Makefile << 'END-of-xteddy/Makefile'
X# New ports collection makefile for:   xteddy
X# Version required:    1.0
X# Date created:        3 June 1998
X# Whom:                Eckart "Isegrim" Hofmann
X#
X# $Id$
X#
X      
XDISTNAME=	xteddy-1.0
XCATEGORIES=	games
XMASTER_SITES=	ftp://ftp.leo.org:/pub/comp/usenet/comp.sources.x/xteddy/
X
XMAINTAINER=	Isegrim@Wunder-Nett.org
X
XLIB_DEPENDS+=	Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
X
XUSE_IMAKE=	yes
X
Xpost-install:
X		strip ${PREFIX}/bin/xteddy
X.include <bsd.port.mk>
END-of-xteddy/Makefile
exit

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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