diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-07-29 21:28:37 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-07-29 21:28:37 +0000 |
commit | 82cd72dfe84e877497b39f56c8a14b6ef5da519e (patch) | |
tree | 4e86fc424beeaa9dbd43ecf8b263c24e257f2336 /games/pets | |
parent | ADMS is a code generator that converts electrical compact device models (diff) |
This is a port of an old program by Masayuki Koba
where a cute tiny kitty was following your mouse all over the screen.
There is also another animation with a tiny tux (see the art section
for povray sources).
PR: ports/100941
Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by: krion (mentor)
Notes
Notes:
svn path=/head/; revision=169096
Diffstat (limited to 'games/pets')
-rw-r--r-- | games/pets/Makefile | 42 | ||||
-rw-r--r-- | games/pets/distinfo | 3 | ||||
-rw-r--r-- | games/pets/files/pkg-message.in | 7 | ||||
-rw-r--r-- | games/pets/pkg-descr | 7 | ||||
-rw-r--r-- | games/pets/pkg-plist | 119 |
5 files changed, 178 insertions, 0 deletions
diff --git a/games/pets/Makefile b/games/pets/Makefile new file mode 100644 index 000000000000..da83cfb3cb7b --- /dev/null +++ b/games/pets/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: pets +# Date created: 2006-07-28 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $MBSDlabs$ +# $FreeBSD$ +# + +PORTNAME= pets +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= http://www.loria.fr/~rougier/software/downloads/ + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= Funny pets to follow your mouse pointer + +WRKSRC= ${WRKDIR}/pet-${PORTVERSION} + +USE_X_PREFIX= yes +USE_GNOME= gtk20 pkgconfig + +SUB_FILES= pkg-message + +GTK_CFLAGS!= pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --cflags +GTK_LDFLAGS!= pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --libs + +do-build: + (cd ${WRKSRC} && ${CXX} ${CFLAGS} ${GTK_CFLAGS}-c pet.cc) + (cd ${WRKSRC} && ${CXX} ${LDFLAGS} ${GTK_LDFLAGS} pet.o -o pets) + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/pets ${PREFIX}/bin + @(cd ${WRKSRC}/data; ${PAX} -rw -p e -l . ${DATADIR}) + @${FIND} ${DATADIR}/ -type f -name "*~" -delete + @${FIND} ${DATADIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; + @${FIND} ${DATADIR}/ -exec ${CHOWN} ${SHAREOWN} {} \; + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/games/pets/distinfo b/games/pets/distinfo new file mode 100644 index 000000000000..13e9cc295da4 --- /dev/null +++ b/games/pets/distinfo @@ -0,0 +1,3 @@ +MD5 (pets-1.0.tar.gz) = e851152b820f68a66a600b23867b02be +SHA256 (pets-1.0.tar.gz) = 19a99f4f17466486a7fc0155127807bb90e5665240aded708122c2846822a34b +SIZE (pets-1.0.tar.gz) = 141666 diff --git a/games/pets/files/pkg-message.in b/games/pets/files/pkg-message.in new file mode 100644 index 000000000000..355497c33b65 --- /dev/null +++ b/games/pets/files/pkg-message.in @@ -0,0 +1,7 @@ +============================================================================= + +Pets configuration datafiles were installed in %%DATADIR%%. +To run pets specify path to configuration file on commandline, e.g. +% pets %%DATADIR%%/cat/cat.xml + +============================================================================= diff --git a/games/pets/pkg-descr b/games/pets/pkg-descr new file mode 100644 index 000000000000..bbf0d5f59b32 --- /dev/null +++ b/games/pets/pkg-descr @@ -0,0 +1,7 @@ +This is a port of an old program by Masayuki Koba where a cute tiny kitty was +following your mouse all over the screen. This new version is base on gtk and +uses an xml description for animations. There is also another animation with a +tiny tux (see the art section for povray sources). + +Author: Nicolas P. Rougier <rougier@loria.fr> +WWW: http://www.loria.fr/~rougier/software/ diff --git a/games/pets/pkg-plist b/games/pets/pkg-plist new file mode 100644 index 000000000000..7df43782f2f2 --- /dev/null +++ b/games/pets/pkg-plist @@ -0,0 +1,119 @@ +bin/pets +%%DATADIR%%/cat/awake-1.png +%%DATADIR%%/cat/cat.xml +%%DATADIR%%/cat/down-left-walk-1.png +%%DATADIR%%/cat/down-left-walk-2.png +%%DATADIR%%/cat/down-right-walk-1.png +%%DATADIR%%/cat/down-right-walk-2.png +%%DATADIR%%/cat/down-scratch-wall-1.png +%%DATADIR%%/cat/down-scratch-wall-2.png +%%DATADIR%%/cat/down-walk-1.png +%%DATADIR%%/cat/down-walk-2.png +%%DATADIR%%/cat/left-scratch-wall-1.png +%%DATADIR%%/cat/left-scratch-wall-2.png +%%DATADIR%%/cat/left-walk-1.png +%%DATADIR%%/cat/left-walk-2.png +%%DATADIR%%/cat/lick-self-1.png +%%DATADIR%%/cat/lick-self-2.png +%%DATADIR%%/cat/right-scratch-wall-1.png +%%DATADIR%%/cat/right-scratch-wall-2.png +%%DATADIR%%/cat/right-walk-1.png +%%DATADIR%%/cat/right-walk-2.png +%%DATADIR%%/cat/scratch-self-1.png +%%DATADIR%%/cat/scratch-self-2.png +%%DATADIR%%/cat/sleep-1.png +%%DATADIR%%/cat/sleep-2.png +%%DATADIR%%/cat/toto.png +%%DATADIR%%/cat/up-left-walk-1.png +%%DATADIR%%/cat/up-left-walk-2.png +%%DATADIR%%/cat/up-right-walk-1.png +%%DATADIR%%/cat/up-right-walk-2.png +%%DATADIR%%/cat/up-scratch-wall-1.png +%%DATADIR%%/cat/up-scratch-wall-2.png +%%DATADIR%%/cat/up-walk-1.png +%%DATADIR%%/cat/up-walk-2.png +%%DATADIR%%/cat/yawn-1.png +%%DATADIR%%/cat/yawn-2.png +%%DATADIR%%/pov/fly.inc +%%DATADIR%%/pov/jump.pov +%%DATADIR%%/pov/make_all.sh +%%DATADIR%%/pov/walk.pov +%%DATADIR%%/tux/jump.pov +%%DATADIR%%/tux/jump1.png +%%DATADIR%%/tux/jump2.png +%%DATADIR%%/tux/jump3.png +%%DATADIR%%/tux/jump4.png +%%DATADIR%%/tux/jump5.png +%%DATADIR%%/tux/jump6.png +%%DATADIR%%/tux/jump7.png +%%DATADIR%%/tux/jump8.png +%%DATADIR%%/tux/toto.png +%%DATADIR%%/tux/tux.xml +%%DATADIR%%/tux/walk-down-left1.png +%%DATADIR%%/tux/walk-down-left2.png +%%DATADIR%%/tux/walk-down-left3.png +%%DATADIR%%/tux/walk-down-left4.png +%%DATADIR%%/tux/walk-down-left5.png +%%DATADIR%%/tux/walk-down-left6.png +%%DATADIR%%/tux/walk-down-left7.png +%%DATADIR%%/tux/walk-down-left8.png +%%DATADIR%%/tux/walk-down-right1.png +%%DATADIR%%/tux/walk-down-right2.png +%%DATADIR%%/tux/walk-down-right3.png +%%DATADIR%%/tux/walk-down-right4.png +%%DATADIR%%/tux/walk-down-right5.png +%%DATADIR%%/tux/walk-down-right6.png +%%DATADIR%%/tux/walk-down-right7.png +%%DATADIR%%/tux/walk-down-right8.png +%%DATADIR%%/tux/walk-down1.png +%%DATADIR%%/tux/walk-down2.png +%%DATADIR%%/tux/walk-down3.png +%%DATADIR%%/tux/walk-down4.png +%%DATADIR%%/tux/walk-down5.png +%%DATADIR%%/tux/walk-down6.png +%%DATADIR%%/tux/walk-down7.png +%%DATADIR%%/tux/walk-down8.png +%%DATADIR%%/tux/walk-left1.png +%%DATADIR%%/tux/walk-left2.png +%%DATADIR%%/tux/walk-left3.png +%%DATADIR%%/tux/walk-left4.png +%%DATADIR%%/tux/walk-left5.png +%%DATADIR%%/tux/walk-left6.png +%%DATADIR%%/tux/walk-left7.png +%%DATADIR%%/tux/walk-left8.png +%%DATADIR%%/tux/walk-right1.png +%%DATADIR%%/tux/walk-right2.png +%%DATADIR%%/tux/walk-right3.png +%%DATADIR%%/tux/walk-right4.png +%%DATADIR%%/tux/walk-right5.png +%%DATADIR%%/tux/walk-right6.png +%%DATADIR%%/tux/walk-right7.png +%%DATADIR%%/tux/walk-right8.png +%%DATADIR%%/tux/walk-up-left1.png +%%DATADIR%%/tux/walk-up-left2.png +%%DATADIR%%/tux/walk-up-left3.png +%%DATADIR%%/tux/walk-up-left4.png +%%DATADIR%%/tux/walk-up-left5.png +%%DATADIR%%/tux/walk-up-left6.png +%%DATADIR%%/tux/walk-up-left7.png +%%DATADIR%%/tux/walk-up-left8.png +%%DATADIR%%/tux/walk-up-right1.png +%%DATADIR%%/tux/walk-up-right2.png +%%DATADIR%%/tux/walk-up-right3.png +%%DATADIR%%/tux/walk-up-right4.png +%%DATADIR%%/tux/walk-up-right5.png +%%DATADIR%%/tux/walk-up-right6.png +%%DATADIR%%/tux/walk-up-right7.png +%%DATADIR%%/tux/walk-up-right8.png +%%DATADIR%%/tux/walk-up1.png +%%DATADIR%%/tux/walk-up2.png +%%DATADIR%%/tux/walk-up3.png +%%DATADIR%%/tux/walk-up4.png +%%DATADIR%%/tux/walk-up5.png +%%DATADIR%%/tux/walk-up6.png +%%DATADIR%%/tux/walk-up7.png +%%DATADIR%%/tux/walk-up8.png +@dirrm %%DATADIR%%/tux +@dirrm %%DATADIR%%/pov +@dirrm %%DATADIR%%/cat +@dirrm %%DATADIR%% |