Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 23:16:13 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305620 - in head/games: . barbie_seahorse_adventures barbie_seahorse_adventures/files
Message-ID:  <201210092316.q99NGD8h006420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Oct  9 23:16:12 2012
New Revision: 305620
URL: http://svn.freebsd.org/changeset/ports/305620

Log:
  - add new port: games/barbie_seahorse_adventures
  
  You are a seahorse and you want to go to the moon!
  
  WWW: http://www.imitationpickles.org/barbie/
  
  PR:		167854
  Submitted by:	nemysis@gmx.ch

Added:
  head/games/barbie_seahorse_adventures/
  head/games/barbie_seahorse_adventures/Makefile   (contents, props changed)
  head/games/barbie_seahorse_adventures/distinfo   (contents, props changed)
  head/games/barbie_seahorse_adventures/files/
  head/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in   (contents, props changed)
  head/games/barbie_seahorse_adventures/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Oct  9 23:02:10 2012	(r305619)
+++ head/games/Makefile	Tue Oct  9 23:16:12 2012	(r305620)
@@ -64,6 +64,7 @@
     SUBDIR += balazar
     SUBDIR += balazarbrothers
     SUBDIR += banihstypos
+    SUBDIR += barbie_seahorse_adventures
     SUBDIR += barrage
     SUBDIR += bass
     SUBDIR += bastet

Added: head/games/barbie_seahorse_adventures/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/barbie_seahorse_adventures/Makefile	Tue Oct  9 23:16:12 2012	(r305620)
@@ -0,0 +1,58 @@
+# Created by:	nemysis@gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME=	barbie_seahorse_adventures
+PORTVERSION=	1.0
+CATEGORIES=	games python
+MASTER_SITES=	http://www.imitationpickles.org/barbie/files/ \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	barbie-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	python
+EXTRACT_ONLY=	barbie-${DISTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	You are a seahorse and you want to go to the moon!
+
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	${PYGAME}
+
+WRKSRC=		${WRKDIR}/barbie-${DISTVERSION}
+
+USE_PYTHON=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
+
+PORTDATA=	 *
+PORTDOCS=	CHANGES.txt LEVELS.txt NOTES.txt README.txt TODO.txt
+
+SUB_FILES=	${PORTNAME}
+
+DESKTOP_ENTRIES="Barbie Seahorse Adventures" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
+		${WRKSRC}/leveledit.py ${WRKSRC}/tileedit.py
+	@(cd ${WRKSRC} && ${RM} *.py.bak)
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib" ${DATADIR})
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/games/barbie_seahorse_adventures/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/barbie_seahorse_adventures/distinfo	Tue Oct  9 23:16:12 2012	(r305620)
@@ -0,0 +1,4 @@
+SHA256 (python/barbie-1.0.tar.gz) = 8a5312545e51b94a28194679b2a8b8a7558ac105b706fe07ccabab6d47537861
+SIZE (python/barbie-1.0.tar.gz) = 2172446
+SHA256 (python/barbie_seahorse_adventures.png) = 98b6052da805e533b38ed4b47116b208d8c253ec5cf2bd630a87d311a35488c1
+SIZE (python/barbie_seahorse_adventures.png) = 519

Added: head/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in	Tue Oct  9 23:16:12 2012	(r305620)
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+cd "%%DATADIR%%"
+exec ./run_game.py "${@}"

Added: head/games/barbie_seahorse_adventures/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/barbie_seahorse_adventures/pkg-descr	Tue Oct  9 23:16:12 2012	(r305620)
@@ -0,0 +1,3 @@
+You are a seahorse and you want to go to the moon!
+
+WWW: http://www.imitationpickles.org/barbie/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210092316.q99NGD8h006420>