[Midnightbsd-cvs] mports: mports/games: add moon-buggy

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jul 21 19:22:17 EDT 2008


Log Message:
-----------
add moon-buggy

Modified Files:
--------------
    mports/games:
        Makefile (r1.27 -> r1.28)

Added Files:
-----------
    mports/games/moon-buggy:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
    mports/games/moon-buggy/files:
        extra-patch-configure.ac (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/games/Makefile,v
retrieving revision 1.27
retrieving revision 1.28
diff -L games/Makefile -L games/Makefile -u -r1.27 -r1.28
--- games/Makefile
+++ games/Makefile
@@ -28,6 +28,7 @@
     SUBDIR += linux-enemyterritory-tce
     SUBDIR += linux-quake3
     SUBDIR += linux-quake3-demo
+    SUBDIR += moon-buggy
     SUBDIR += nextgo
     SUBDIR += pvpgn
     SUBDIR += qstat
--- /dev/null
+++ games/moon-buggy/pkg-descr
@@ -0,0 +1,6 @@
+Moon-buggy is a simple character graphics game, where you drive
+some kind of car across the moon's surface.
+Unfortunately there are dangerous craters there.
+Fortunately your car can jump over them!
+
+WWW: http://www.seehuhn.de/comp/moon-buggy
--- /dev/null
+++ games/moon-buggy/Makefile
@@ -0,0 +1,52 @@
+# New ports collection Makefile for: moon-buggy
+# Date created:		10 January 2002
+# Whom:			Ralf Becker <ralf at akk.org>
+#
+# $MidnightBSD: mports/games/moon-buggy/Makefile,v 1.1 2008/07/21 23:22:15 laffer1 Exp $
+# $FreeBSD: ports/games/moon-buggy/Makefile,v 1.8 2007/09/30 04:46:51 linimon Exp $
+#
+
+PORTNAME=	moon-buggy
+PORTVERSION=	1.0.51
+PORTREVISION=	0
+CATEGORIES=	games
+MASTER_SITES=	http://seehuhn.de/media/programs/
+.if defined (WITH_ESOUND)
+PKGNAMESUFFIX=	"-esound"
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}-sound-${PORTVERSION}${EXTRACT_SUFX}
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-configure.ac
+.endif
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Drive a buggy across the moons surface
+LICENSE=	gpl2
+
+.if defined (WITH_ESOUND)
+LIB_DEPENDS=	esd:${PORTSDIR}/audio/esound:install
+.endif
+
+USE_AUTOTOOLS=	autoconf:261
+CONFIGURE_ARGS=	--prefix=${PREFIX} \
+		--sharedstatedir=/var/games\
+		--with-setgid=games
+
+MAN6=		moon-buggy.6
+INFO=		moon-buggy
+
+PLIST_FILES=	bin/moon-buggy
+.if defined (WITH_ESOUND)
+PLIST_FILES+=	share/moon-buggy/jump.wav \
+		share/moon-buggy/laser.wav \
+		share/moon-buggy/crash.wav
+PLIST_DIRS+=	share/moon-buggy
+
+pre-patch:
+	cd ${WRKSRC} && ${PATCH} -p1 < sound.patch
+.endif
+
+# make package will fail without doing this
+post-install:
+	${CHMOD} 0555 ${PREFIX}/bin/moon-buggy
+
+.include <bsd.port.mk>
--- /dev/null
+++ games/moon-buggy/distinfo
@@ -0,0 +1,6 @@
+MD5 (moon-buggy-1.0.51.tar.gz) = bfe23ef5cfa838ac261eee34ea5322f3
+SHA256 (moon-buggy-1.0.51.tar.gz) = 352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f
+SIZE (moon-buggy-1.0.51.tar.gz) = 263572
+MD5 (moon-buggy-sound-1.0.51.tar.gz) = 8a43b7c1baf583314e4cf0dde0ea9b85
+SHA256 (moon-buggy-sound-1.0.51.tar.gz) = 67d697df9092a98aa79e50eefb079d80f66c48974a68b36a82241161dbcc6e51
+SIZE (moon-buggy-sound-1.0.51.tar.gz) = 15120
--- /dev/null
+++ games/moon-buggy/files/extra-patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac	Mon May 30 13:36:12 2005
++++ configure.ac.orig	Mon May 30 13:35:21 2005
+@@ -67,7 +67,7 @@
+ 
+ AM_CONDITIONAL(short_getopt, test "x$ac_cv_func_getopt_long" != xyes)
+ 
+-SOUND_DIR='$(datadir)/sounds/moon-buggy'
++SOUND_DIR='$(datadir)/moon-buggy'
+ AC_SUBST(SOUND_DIR)
+ 
+ AC_CONFIG_FILES([Makefile])


More information about the Midnightbsd-cvs mailing list