diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-12-05 22:54:01 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-12-05 22:54:01 +0000 |
commit | aca3f0d0369502b8eb2789abed480d648c33ed04 (patch) | |
tree | 917e19cc5697ce82e8b58733f1fdaf2e7104acbc /x11/xteddy2 | |
parent | 3fda2fdea42938a97f8d9b973386aa2869dda09b (diff) | |
download | pkgsrc-aca3f0d0369502b8eb2789abed480d648c33ed04.tar.gz |
Teddy bear for your desktop
Normally, xteddy just sits around doing nothing. After
all, that's what teddy bears are for. Look at him, talk to
him, place heavy windows on top of him, zap him around
until he becomes dizzy, do what you like; he will always
be your true (albeit virtual) friend.
Unlike the original version by Stefan Gustavson, this
version can display other image formats, and comes with a
number of other images - see xteddy_test.
Closes PR 8368 by John A. Maier <johnam@mail.kemper.org>
Diffstat (limited to 'x11/xteddy2')
-rw-r--r-- | x11/xteddy2/Makefile | 35 | ||||
-rw-r--r-- | x11/xteddy2/files/md5 | 3 | ||||
-rw-r--r-- | x11/xteddy2/files/patch-sum | 5 | ||||
-rw-r--r-- | x11/xteddy2/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/xteddy2/patches/patch-ab | 23 | ||||
-rw-r--r-- | x11/xteddy2/patches/patch-ac | 12 | ||||
-rw-r--r-- | x11/xteddy2/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xteddy2/pkg/DESCR | 9 | ||||
-rw-r--r-- | x11/xteddy2/pkg/PLIST | 18 |
9 files changed, 119 insertions, 0 deletions
diff --git a/x11/xteddy2/Makefile b/x11/xteddy2/Makefile new file mode 100644 index 00000000000..846e2602831 --- /dev/null +++ b/x11/xteddy2/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/05 22:54:01 hubertf Exp $ + +DISTNAME= xteddy-2.0.1 +CATEGORIES= x11 games +MASTER_SITES= http://www.ITN.LiU.SE/~stegu/xteddy/ + +MAINTAINER= johnam@mail.kemper.org +HOMEPAGE= http://www.ITN.LiU.SE/~stegu/xteddy + +DEPENDS+= imlib-1.9.*:../../graphics/imlib + +CONFLICT+= xteddy-1.* + +GNU_CONFIGURE= yes +USE_X11= yes + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" +LDFLAGS+= -L${X11BASE}/lib -R${X11BASE}/lib # for libImlib + +pre-configure: + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|' \ + <${WRKSRC}/configure >${WRKSRC}/configure.new + ${MV} ${WRKSRC}/configure.new ${WRKSRC}/configure + ${CHMOD} 755 ${WRKSRC}/configure + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|' \ + <${WRKSRC}/xteddy_test >${WRKSRC}/xteddy_test.new + ${MV} ${WRKSRC}/xteddy_test.new ${WRKSRC}/xteddy_test + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|' \ + <${WRKSRC}/xtoys >${WRKSRC}/xtoys.new + ${MV} ${WRKSRC}/xtoys.new ${WRKSRC}/xtoys + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/xteddy2/files/md5 b/x11/xteddy2/files/md5 new file mode 100644 index 00000000000..3d7206d6629 --- /dev/null +++ b/x11/xteddy2/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ + +MD5 (xteddy-2.0.1.tar.gz) = d33bfe05f18259a3f7fd17ae256c5644 diff --git a/x11/xteddy2/files/patch-sum b/x11/xteddy2/files/patch-sum new file mode 100644 index 00000000000..88bde363ecd --- /dev/null +++ b/x11/xteddy2/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ + +MD5 (patch-aa) = d4975755cd0bd79b358b08edd2ee4ca0 +MD5 (patch-ab) = 7c472ed69e2f8f6073054f469700c7aa +MD5 (patch-ac) = 22a1004c542d4f15ee7454a85a4e0343 diff --git a/x11/xteddy2/patches/patch-aa b/x11/xteddy2/patches/patch-aa new file mode 100644 index 00000000000..b635453b0c8 --- /dev/null +++ b/x11/xteddy2/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ + +--- configure Mon Aug 2 01:08:06 1999 ++++ configure Wed Sep 8 21:53:59 1999 +@@ -1957,7 +1957,7 @@ + fi + + +-PIXMAP_PATH="/usr/share/xteddy" ++PIXMAP_PATH="@PREFIX@/share/xteddy" + + + trap '' 1 2 15 diff --git a/x11/xteddy2/patches/patch-ab b/x11/xteddy2/patches/patch-ab new file mode 100644 index 00000000000..49ba68c0b00 --- /dev/null +++ b/x11/xteddy2/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ + +--- xteddy_test.orig Mon Mar 29 16:04:35 1999 ++++ xteddy_test +@@ -1,15 +1,8 @@ + #!/bin/sh + i=0 +-if [ -d /usr/share/xteddy ] ; then +- for img in `ls /usr/share/xteddy` ; do ++if [ -d @PREFIX@/share/xteddy ] ; then ++ for img in `ls @PREFIX@/share/xteddy` ; do + i=`expr $i + 50` +- xteddy -F/usr/share/xteddy/$img -geometry +$i+$i & ++ xteddy -F@PREFIX@/share/xteddy/$img -geometry +$i+$i & + done + fi +-if [ -d /usr/local/share/xteddy ] ; then +- for img in `ls /usr/local/share/xteddy` ; do +- i=`expr $i + 50` +- xteddy -F/usr/local/share/xteddy/$img -geometry +$i+$i & +- done +-fi +- diff --git a/x11/xteddy2/patches/patch-ac b/x11/xteddy2/patches/patch-ac new file mode 100644 index 00000000000..a999052899c --- /dev/null +++ b/x11/xteddy2/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ + +--- xtoys Mon Aug 2 01:11:02 1999 ++++ xtoys Wed Sep 22 12:55:58 1999 +@@ -1,5 +1,5 @@ +-#!/bin/bash +-ximg="`ls /usr/share/xteddy` `ls /usr/local/share/xteddy`" ++#!/bin/ksh ++ximg="`ls @PREFIX@/share/xteddy`" + NUM=0 + for i in $ximg ; do + NUM=`expr $NUM + 1` diff --git a/x11/xteddy2/pkg/COMMENT b/x11/xteddy2/pkg/COMMENT new file mode 100644 index 00000000000..078af25f592 --- /dev/null +++ b/x11/xteddy2/pkg/COMMENT @@ -0,0 +1 @@ +Teddy bear for your desktop diff --git a/x11/xteddy2/pkg/DESCR b/x11/xteddy2/pkg/DESCR new file mode 100644 index 00000000000..2c6e78ad4c8 --- /dev/null +++ b/x11/xteddy2/pkg/DESCR @@ -0,0 +1,9 @@ +Normally, xteddy just sits around doing nothing. After +all, that's what teddy bears are for. Look at him, talk to +him, place heavy windows on top of him, zap him around +until he becomes dizzy, do what you like; he will always +be your true (albeit virtual) friend. + +Unlike the original version by Stefan Gustavson, this +version can display other image formats, and comes with a +number of other images - see xteddy_test. diff --git a/x11/xteddy2/pkg/PLIST b/x11/xteddy2/pkg/PLIST new file mode 100644 index 00000000000..0e936984233 --- /dev/null +++ b/x11/xteddy2/pkg/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/05 22:54:03 hubertf Exp $ +bin/xteddy +bin/xteddy_test +bin/xtoys +man/man1/xteddy.1 +share/xteddy/teddy.png +share/xteddy/xalex.png +share/xteddy/xbobo.png +share/xteddy/xbrummi.png +share/xteddy/xduck.png +share/xteddy/xklitze.png +share/xteddy/xnamu.png +share/xteddy/xorca.png +share/xteddy/xpenguin.png +share/xteddy/xruessel.png +share/xteddy/xteddy.png +share/xteddy/xtuxxy.png +@dirrm share/xteddy |