From f9db1ccbd159df91a286fe9e2baa6311b96275a5 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 12 Oct 2006 19:26:33 +0000 Subject: Add akamaru, a physics engine prototype. Akamaru is a simple, but fun, physics engine prototype. It's named after the super awesome ninja dog, Akamaru, from the Naruto anime and based on the article Advanced Character Physics by Thomas Jakobsen on Verlet integration. It contains a very cool dock, called kiba. Submitted by: Phillip Neumann git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7748 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/akamaru/Makefile | 43 ++++++++++++++++++++++++++ deskutils/akamaru/distinfo | 3 ++ deskutils/akamaru/files/patch-Makefile | 19 ++++++++++++ deskutils/akamaru/files/patch-populate-dock.sh | 27 ++++++++++++++++ deskutils/akamaru/pkg-descr | 6 ++++ deskutils/akamaru/pkg-plist | 4 +++ 6 files changed, 102 insertions(+) create mode 100644 deskutils/akamaru/Makefile create mode 100644 deskutils/akamaru/distinfo create mode 100644 deskutils/akamaru/files/patch-Makefile create mode 100644 deskutils/akamaru/files/patch-populate-dock.sh create mode 100644 deskutils/akamaru/pkg-descr create mode 100644 deskutils/akamaru/pkg-plist (limited to 'deskutils') diff --git a/deskutils/akamaru/Makefile b/deskutils/akamaru/Makefile new file mode 100644 index 000000000..8727e0ef7 --- /dev/null +++ b/deskutils/akamaru/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: akamaru +# Date created: 2006 10 10 +# Whom: Phillip Neumann +# +# $FreeBSD$ +# + +PORTNAME= akamaru +PORTVERSION= 0.1 +CATEGORIES= deskutils gnome +MASTER_SITES= http://people.freedesktop.org/~krh/ +DISTNAME= ${PORTNAME} + +MAINTAINER= pneumann@gmail.com +COMMENT= Simple, but fun, physics engine prototype + +BUILD_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20 +RUN_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20 \ + xcompmgr:${PORTSDIR}/x11-wm/xcompmgr + +USE_GMAKE= yes +USE_GNOME= gconf2 +GCONF_SCHEMAS= kiba.schemas + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/populate-dock.sh + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/dock ${PREFIX}/bin/kiba-dock + @${INSTALL_PROGRAM} ${WRKSRC}/akamaru ${PREFIX}/bin/akamaru + @${INSTALL_DATA} ${WRKSRC}/kiba.schemas ${LOCALBASE}/etc/gconf/schemas + @${MKDIR} ${PREFIX}/share/${PORTNAME} + @${INSTALL_SCRIPT} ${WRKSRC}/populate-dock.sh ${PREFIX}/share/${PORTNAME} + @${PREFIX}/share/${PORTNAME}/populate-dock.sh + +post-install: + @${ECHO_MSG} + @${ECHO_MSG} "*** By default kiba-dock is empty." + @${ECHO_MSG} "*** To add launchers, look and run the script ${PREFIX}/share/${PORTNAME}/populate-dock.sh" + @${ECHO_MSG} + +.include diff --git a/deskutils/akamaru/distinfo b/deskutils/akamaru/distinfo new file mode 100644 index 000000000..94d5a24ec --- /dev/null +++ b/deskutils/akamaru/distinfo @@ -0,0 +1,3 @@ +MD5 (akamaru.tar.gz) = 3c99aa59c4b076a19de509a32ba5ce8a +SHA256 (akamaru.tar.gz) = 1674e84e63711807e2fe3e965d663abc5e45fc7aa30eabff0dc294137c227c7c +SIZE (akamaru.tar.gz) = 19319 diff --git a/deskutils/akamaru/files/patch-Makefile b/deskutils/akamaru/files/patch-Makefile new file mode 100644 index 000000000..2fe8ad307 --- /dev/null +++ b/deskutils/akamaru/files/patch-Makefile @@ -0,0 +1,19 @@ +--- Makefile.orig Sun Jul 16 01:37:05 2006 ++++ Makefile Wed Oct 11 01:04:51 2006 +@@ -4,7 +4,7 @@ + LDFLAGS = -g + GCONFTOOL = gconftool-2 + +-prefix = $(HOME) ++prefix = $(PREFIX) + targets = akamaru dock + schemas = kiba.schemas + akamaru_objs = main.o akamaru.o +@@ -25,6 +25,7 @@ + + install : install-schemas + install dock $(prefix)/bin/kiba-dock ++ install akamaru $(prefix)/bin/akamaru + sh populate-dock.sh + + uninstall-schemas : gconf-clean diff --git a/deskutils/akamaru/files/patch-populate-dock.sh b/deskutils/akamaru/files/patch-populate-dock.sh new file mode 100644 index 000000000..7b7a206d3 --- /dev/null +++ b/deskutils/akamaru/files/patch-populate-dock.sh @@ -0,0 +1,27 @@ +--- populate-dock.sh.orig Sun Jul 16 01:37:05 2006 ++++ populate-dock.sh Wed Oct 11 22:29:57 2006 +@@ -3,18 +3,16 @@ + # Simple shell script to populate the dock by setting up some random + # standard applications. + +-make install-schemas ++GAPPs=/usr/local/share/gnome/applications ++APPs=/usr/local/share/applications + + while read n file; do + key=/apps/kiba/launchers/$n/file + gconftool-2 --set $key --type string $file + gconftool-2 --apply-schema /schemas/apps/kiba/launchers/file $key + done <