View | Details | Raw Unified | Return to bug 87738
Collapse All | Expand All

(-)games/xteddy/Makefile (-11 / +16 lines)
Lines 6-29 Link Here
6
#
6
#
7
7
8
PORTNAME=	xteddy
8
PORTNAME=	xteddy
9
PORTVERSION=	1.0
9
PORTVERSION=	1.1
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	# disappeared
11
MASTER_SITES=	http://www.itn.liu.se/~stegu/xteddy/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	A cuddlesome teddy for the X desktop
14
COMMENT=	A cuddlesome teddy for the X desktop
15
15
16
BROKEN=		"does not fetch"
17
DEPRECATED=	${BROKEN}
18
EXPIRATION_DATE=	2005-12-09
19
20
NO_CDROM=	"Can only be distributed for free"
16
NO_CDROM=	"Can only be distributed for free"
21
17
22
USE_IMAKE=	yes
18
USE_X_PREFIX=	yes
23
USE_XPM=	yes
19
USE_REINPLACE=	yes
20
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
22
		LDFLAGS="-L${X11BASE}/lib"
23
24
MAN1=		xteddy.1
24
MAN1=		xteddy.1
25
PLIST_FILES=	bin/xteddy
26
25
27
post-install:
26
post-patch:
28
		${STRIP_CMD} ${PREFIX}/bin/xteddy
27
.for file in configure Makefile.in xteddy.1
28
	@${REINPLACE_CMD} -e 's|include/X11|share/xteddy|g' ${WRKSRC}/${file}
29
.endfor
30
31
pre-install:
32
	@${MKDIR} ${DATADIR}/pixmaps
33
29
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)games/xteddy/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (xteddy-1.0.tar.gz) = ec01c374400d56536137e2f3bffd3f25
1
MD5 (xteddy-1.1.tar.gz) = 24a91f882f9113cbbc1c1d44b00f6d61
2
SIZE (xteddy-1.0.tar.gz) = 42279
2
SIZE (xteddy-1.1.tar.gz) = 117141
(-)games/xteddy/files/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- Imakefile.orig	Mon Jan 31 20:12:14 1994
2
+++ Imakefile	Wed Jun  3 17:14:29 1998
3
@@ -1,6 +1,6 @@
4
   SYS_LIBRARIES = -lX11 -lXext
5
- EXTRA_INCLUDES = -I$(HOME)/include/X11
6
-EXTRA_LIBRARIES = -L$(HOME)/lib -lXpm
7
+ EXTRA_INCLUDES = -I$(INCROOT)/X11
8
+EXTRA_LIBRARIES = -L$(USRLIBDIR) -lXpm
9
            SRCS = xteddy.c
10
            OBJS = xteddy.o
11
 
(-)games/xteddy/files/patch-ab (-16 lines)
Lines 1-16 Link Here
1
--- xteddy.man.orig	Wed Jun  3 17:23:30 1998
2
+++ xteddy.man	Wed Jun  3 17:08:40 1998
3
@@ -0,0 +1,13 @@
4
+.Dd Jun 03, 1998
5
+.Dt XTEDDY 1
6
+.Os
7
+.Sh NAME
8
+.Nm xteddy
9
+.Nd shows a cuddlesome teddy on the X desktop
10
+.Sh SYNOPSIS
11
+.Nm xteddy
12
+.Sh DESCRIPTION
13
+.Nm xteddy 
14
+shows a very cuddlesome teddy on the X desktop. The teddy can be removed
15
+by moving the mouse cursor over the teddy and typing "q" or "Q". But it's
16
+not advised to do that.
(-)games/xteddy/files/patch-ac (-37 lines)
Lines 1-37 Link Here
1
--- xteddy.c.orig	Mon Jan 31 20:12:15 1994
2
+++ xteddy.c	Wed Jun  3 17:09:27 1998
3
@@ -19,7 +19,7 @@
4
 #include <X11/cursorfont.h>
5
 
6
 #ifndef NOXPM
7
-#include <xpm.h>
8
+#include <X11/xpm.h>
9
 #endif
10
 
11
 #include <stdio.h>
12
@@ -33,6 +33,14 @@
13
 #include "xteddy_color.xpm"
14
 #endif
15
 
16
+#ifndef TRUE
17
+#define TRUE 1
18
+#endif /* TRUE */
19
+
20
+#ifndef FALSE
21
+#define FALSE 0
22
+#endif /* FALSE */
23
+
24
 #include "patchlevel.h"
25
 
26
 static char *progname;
27
@@ -335,8 +343,8 @@
28
 	  break;
29
 	case KeyPress:
30
 	  /* Exit on "q" or "Q" */
31
-	  charcount = XLookupString(&report, buffer, bufsize,
32
-				    &keysym, &compose);
33
+	  charcount = XLookupString(&report.xkey, 
34
+				    buffer, bufsize, &keysym, &compose);
35
 	  if((keysym == XK_Q) || (keysym == XK_q))
36
 	    {
37
 	      XCloseDisplay(display);
(-)games/xteddy/pkg-descr (-5 / +1 lines)
Lines 1-8 Link Here
1
This is _the_ toy for the X desktop, a must for all plush lovers: a very,
1
This is _the_ toy for the X desktop, a must for all plush lovers: a very,
2
very cuddlesome teddy.
2
very cuddlesome teddy.
3
3
4
Thanks to Felix Schroeter (felix@openbsd.org) for helpful hints to create
4
WWW: http://www.itn.liu.se/~stegu/xteddy/
5
this port.
6
7
- Eckart Hofmann
8
Isegrim@Wunder-Nett.org
(-)games/xteddy/pkg-plist (+15 lines)
Line 0 Link Here
1
bin/xteddy
2
%%DATADIR%%/pixmaps/teddy_bw.xbm
3
%%DATADIR%%/pixmaps/teddy_color.xpm
4
%%DATADIR%%/pixmaps/teddy_icon.xbm
5
%%DATADIR%%/pixmaps/teddy_mask.xbm
6
%%DATADIR%%/pixmaps/xpenguin_bw.xbm
7
%%DATADIR%%/pixmaps/xpenguin_color.xpm
8
%%DATADIR%%/pixmaps/xpenguin_icon.xbm
9
%%DATADIR%%/pixmaps/xpenguin_mask.xbm
10
%%DATADIR%%/pixmaps/xteddy_bw.xbm
11
%%DATADIR%%/pixmaps/xteddy_color.xpm
12
%%DATADIR%%/pixmaps/xteddy_icon.xbm
13
%%DATADIR%%/pixmaps/xteddy_mask.xbm
14
@dirrm %%DATADIR%%/pixmaps
15
@dirrm %%DATADIR%%

Return to bug 87738