Date: Fri, 21 Oct 2005 02:00:16 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87738: Update port: games/xteddy to 1.1 Message-ID: <20051021020016.11003a44.tkato432@yahoo.com> Resent-Message-ID: <200510201710.j9KHAFaI048331@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87738 >Category: ports >Synopsis: Update port: games/xteddy to 1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 20 17:10:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p13 i386 >Organization: >Environment: >Description: - Update to version 1.1 New file: pkg-plist Remove file: files/patch-aa files/patch-ab files/patch-ac >How-To-Repeat: >Fix: diff -urN /usr/ports/games/xteddy/Makefile games/xteddy/Makefile --- /usr/ports/games/xteddy/Makefile Mon Oct 10 14:51:58 2005 +++ games/xteddy/Makefile Thu Oct 20 02:08:55 2005 @@ -6,24 +6,29 @@ # PORTNAME= xteddy -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= games -MASTER_SITES= # disappeared +MASTER_SITES= http://www.itn.liu.se/~stegu/xteddy/ MAINTAINER= ports@FreeBSD.org COMMENT= A cuddlesome teddy for the X desktop -BROKEN= "does not fetch" -DEPRECATED= ${BROKEN} -EXPIRATION_DATE= 2005-12-09 - NO_CDROM= "Can only be distributed for free" -USE_IMAKE= yes -USE_XPM= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}/lib" + MAN1= xteddy.1 -PLIST_FILES= bin/xteddy -post-install: - ${STRIP_CMD} ${PREFIX}/bin/xteddy +post-patch: +.for file in configure Makefile.in xteddy.1 + @${REINPLACE_CMD} -e 's|include/X11|share/xteddy|g' ${WRKSRC}/${file} +.endfor + +pre-install: + @${MKDIR} ${DATADIR}/pixmaps + .include <bsd.port.mk> diff -urN /usr/ports/games/xteddy/distinfo games/xteddy/distinfo --- /usr/ports/games/xteddy/distinfo Wed Mar 31 18:08:03 2004 +++ games/xteddy/distinfo Sun Oct 16 12:56:55 2005 @@ -1,2 +1,2 @@ -MD5 (xteddy-1.0.tar.gz) = ec01c374400d56536137e2f3bffd3f25 -SIZE (xteddy-1.0.tar.gz) = 42279 +MD5 (xteddy-1.1.tar.gz) = 24a91f882f9113cbbc1c1d44b00f6d61 +SIZE (xteddy-1.1.tar.gz) = 117141 diff -urN /usr/ports/games/xteddy/files/patch-aa games/xteddy/files/patch-aa --- /usr/ports/games/xteddy/files/patch-aa Tue Jun 30 22:16:14 1998 +++ games/xteddy/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- Imakefile.orig Mon Jan 31 20:12:14 1994 -+++ Imakefile Wed Jun 3 17:14:29 1998 -@@ -1,6 +1,6 @@ - SYS_LIBRARIES = -lX11 -lXext -- EXTRA_INCLUDES = -I$(HOME)/include/X11 --EXTRA_LIBRARIES = -L$(HOME)/lib -lXpm -+ EXTRA_INCLUDES = -I$(INCROOT)/X11 -+EXTRA_LIBRARIES = -L$(USRLIBDIR) -lXpm - SRCS = xteddy.c - OBJS = xteddy.o - diff -urN /usr/ports/games/xteddy/files/patch-ab games/xteddy/files/patch-ab --- /usr/ports/games/xteddy/files/patch-ab Tue Jun 30 22:16:14 1998 +++ games/xteddy/files/patch-ab Thu Jan 1 09:00:00 1970 @@ -1,16 +0,0 @@ ---- xteddy.man.orig Wed Jun 3 17:23:30 1998 -+++ xteddy.man Wed Jun 3 17:08:40 1998 -@@ -0,0 +1,13 @@ -+.Dd Jun 03, 1998 -+.Dt XTEDDY 1 -+.Os -+.Sh NAME -+.Nm xteddy -+.Nd shows a cuddlesome teddy on the X desktop -+.Sh SYNOPSIS -+.Nm xteddy -+.Sh DESCRIPTION -+.Nm xteddy -+shows a very cuddlesome teddy on the X desktop. The teddy can be removed -+by moving the mouse cursor over the teddy and typing "q" or "Q". But it's -+not advised to do that. diff -urN /usr/ports/games/xteddy/files/patch-ac games/xteddy/files/patch-ac --- /usr/ports/games/xteddy/files/patch-ac Tue Jun 30 22:16:14 1998 +++ games/xteddy/files/patch-ac Thu Jan 1 09:00:00 1970 @@ -1,37 +0,0 @@ ---- xteddy.c.orig Mon Jan 31 20:12:15 1994 -+++ xteddy.c Wed Jun 3 17:09:27 1998 -@@ -19,7 +19,7 @@ - #include <X11/cursorfont.h> - - #ifndef NOXPM --#include <xpm.h> -+#include <X11/xpm.h> - #endif - - #include <stdio.h> -@@ -33,6 +33,14 @@ - #include "xteddy_color.xpm" - #endif - -+#ifndef TRUE -+#define TRUE 1 -+#endif /* TRUE */ -+ -+#ifndef FALSE -+#define FALSE 0 -+#endif /* FALSE */ -+ - #include "patchlevel.h" - - static char *progname; -@@ -335,8 +343,8 @@ - break; - case KeyPress: - /* Exit on "q" or "Q" */ -- charcount = XLookupString(&report, buffer, bufsize, -- &keysym, &compose); -+ charcount = XLookupString(&report.xkey, -+ buffer, bufsize, &keysym, &compose); - if((keysym == XK_Q) || (keysym == XK_q)) - { - XCloseDisplay(display); diff -urN /usr/ports/games/xteddy/pkg-descr games/xteddy/pkg-descr --- /usr/ports/games/xteddy/pkg-descr Tue Jun 30 22:16:15 1998 +++ games/xteddy/pkg-descr Sun Oct 16 13:32:35 2005 @@ -1,8 +1,4 @@ This is _the_ toy for the X desktop, a must for all plush lovers: a very, very cuddlesome teddy. -Thanks to Felix Schroeter (felix@openbsd.org) for helpful hints to create -this port. - -- Eckart Hofmann -Isegrim@Wunder-Nett.org +WWW: http://www.itn.liu.se/~stegu/xteddy/ diff -urN /usr/ports/games/xteddy/pkg-plist games/xteddy/pkg-plist --- /usr/ports/games/xteddy/pkg-plist Thu Jan 1 09:00:00 1970 +++ games/xteddy/pkg-plist Sun Oct 16 13:13:14 2005 @@ -0,0 +1,15 @@ +bin/xteddy +%%DATADIR%%/pixmaps/teddy_bw.xbm +%%DATADIR%%/pixmaps/teddy_color.xpm +%%DATADIR%%/pixmaps/teddy_icon.xbm +%%DATADIR%%/pixmaps/teddy_mask.xbm +%%DATADIR%%/pixmaps/xpenguin_bw.xbm +%%DATADIR%%/pixmaps/xpenguin_color.xpm +%%DATADIR%%/pixmaps/xpenguin_icon.xbm +%%DATADIR%%/pixmaps/xpenguin_mask.xbm +%%DATADIR%%/pixmaps/xteddy_bw.xbm +%%DATADIR%%/pixmaps/xteddy_color.xpm +%%DATADIR%%/pixmaps/xteddy_icon.xbm +%%DATADIR%%/pixmaps/xteddy_mask.xbm +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021020016.11003a44.tkato432>