pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/accelerator3d



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sun Jul 24 02:34:33 UTC 2016

Added Files:
        pkgsrc/games/accelerator3d: DESCR Makefile PLIST distinfo
        pkgsrc/games/accelerator3d/patches: patch-accelerator.py

Log Message:
Import accelerator3d 0.1.1 as games/accelerator3d

Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vein of Tempest or n2o.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/accelerator3d/DESCR \
    pkgsrc/games/accelerator3d/Makefile pkgsrc/games/accelerator3d/PLIST \
    pkgsrc/games/accelerator3d/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/accelerator3d/patches/patch-accelerator.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/accelerator3d/DESCR
diff -u /dev/null pkgsrc/games/accelerator3d/DESCR:1.1
--- /dev/null   Sun Jul 24 02:34:33 2016
+++ pkgsrc/games/accelerator3d/DESCR    Sun Jul 24 02:34:32 2016
@@ -0,0 +1 @@
+Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vein of Tempest or n2o.
Index: pkgsrc/games/accelerator3d/Makefile
diff -u /dev/null pkgsrc/games/accelerator3d/Makefile:1.1
--- /dev/null   Sun Jul 24 02:34:33 2016
+++ pkgsrc/games/accelerator3d/Makefile Sun Jul 24 02:34:32 2016
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2016/07/24 02:34:32 kamil Exp $
+
+DISTNAME=      accelerator-0.1.1
+PKGNAME=       ${DISTNAME:S/accelerator/accelerator3d/}
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=accelerator3d/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://accelerator3d.sourceforge.net/
+COMMENT=       Fast-paced, 3D, first-person shoot/dodge-'em-up
+LICENSE=       artistic
+
+WRKSRC=                ${WRKDIR}/${PKGBASE}
+USE_LANGUAGES= # none
+
+DEPENDS+=      ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
+DEPENDS+=      ${PYPKGPREFIX}-ode-[0-9]*:../../devel/py-ode
+DEPENDS+=      ${PYPKGPREFIX}-OpenGL-[0-9]*:../../graphics/py-OpenGL
+
+REPLACE_PYTHON+=               accelerator.py
+PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # py-Numeric via py-OpenGL
+
+NO_BUILD=      yes
+
+ACCELERATOR3D_DATADIR= ${PREFIX}/share/${PKGBASE}
+
+SUBST_CLASSES+=                prefix
+SUBST_FILES.prefix=    accelerator.py
+SUBST_MESSAGE.prefix=  Fixing PREFIX path.
+SUBST_SED.prefix=      -e "s|'snd'|'${PREFIX}/share/${PKGBASE}'|"
+SUBST_SED.prefix+=     -e "s|'gfx'|'${PREFIX}/share/${PKGBASE}'|"
+SUBST_STAGE.prefix=    pre-install
+
+INSTALLATION_DIRS+=    bin share/${PKGBASE}
+
+do-install:
+       ${RUN} ${INSTALL_SCRIPT} ${WRKSRC}/accelerator.py ${DESTDIR}${PREFIX}/bin/accelerator3d
+       ${RUN} ${INSTALL_DATA} ${WRKSRC}/snd/* ${DESTDIR}${ACCELERATOR3D_DATADIR}
+       ${RUN} ${INSTALL_DATA} ${WRKSRC}/gfx/* ${DESTDIR}${ACCELERATOR3D_DATADIR}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/accelerator3d/PLIST
diff -u /dev/null pkgsrc/games/accelerator3d/PLIST:1.1
--- /dev/null   Sun Jul 24 02:34:33 2016
+++ pkgsrc/games/accelerator3d/PLIST    Sun Jul 24 02:34:32 2016
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/24 02:34:32 kamil Exp $
+bin/accelerator3d
+share/accelerator3d/bogon.wav
+share/accelerator3d/bullet.png
+share/accelerator3d/circuit.png
+share/accelerator3d/cluon.wav
+share/accelerator3d/crosshair.png
+share/accelerator3d/electricshock.wav
+share/accelerator3d/engine.wav
+share/accelerator3d/font.png
+share/accelerator3d/logo.png
+share/accelerator3d/menu_browse.wav
+share/accelerator3d/menu_select.wav
+share/accelerator3d/meters.png
+share/accelerator3d/neon.wav
+share/accelerator3d/phlogiston.png
+share/accelerator3d/phlogiston.wav
+share/accelerator3d/power.png
+share/accelerator3d/scrape.wav
+share/accelerator3d/shield.png
+share/accelerator3d/ship_explode.wav
+share/accelerator3d/shoot.wav
+share/accelerator3d/slam.wav
+share/accelerator3d/thud.wav
Index: pkgsrc/games/accelerator3d/distinfo
diff -u /dev/null pkgsrc/games/accelerator3d/distinfo:1.1
--- /dev/null   Sun Jul 24 02:34:33 2016
+++ pkgsrc/games/accelerator3d/distinfo Sun Jul 24 02:34:32 2016
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/07/24 02:34:32 kamil Exp $
+
+SHA1 (accelerator-0.1.1.zip) = fa88ca364de50f4fe8df0a0c879ac1622824189a
+RMD160 (accelerator-0.1.1.zip) = e46fdbaee6803a089734e36a83ae9e0717783c83
+SHA512 (accelerator-0.1.1.zip) = 2b4f42429429f72e77a970c97343c6b54ec3dbce4cdba538e947107c98b4e6993ba7b9d71ee8fda2df766ca4cd2ab998503beb277e55aef75830db0f86aecfa6
+Size (accelerator-0.1.1.zip) = 1192989 bytes
+SHA1 (patch-accelerator.py) = 7615063f3933755461d53e1faee23994e63a94db

Index: pkgsrc/games/accelerator3d/patches/patch-accelerator.py
diff -u /dev/null pkgsrc/games/accelerator3d/patches/patch-accelerator.py:1.1
--- /dev/null   Sun Jul 24 02:34:33 2016
+++ pkgsrc/games/accelerator3d/patches/patch-accelerator.py     Sun Jul 24 02:34:32 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-accelerator.py,v 1.1 2016/07/24 02:34:32 kamil Exp $
+
+Adapt for new API.
+
+--- accelerator.py.orig        2016-07-20 19:56:58.692780436 +0000
++++ accelerator.py
+@@ -274,7 +274,7 @@ def DisplayInit():
+       glColorMaterial(GL_FRONT,GL_AMBIENT_AND_DIFFUSE)
+       glMaterialfv(GL_FRONT,GL_SHININESS,128)
+       glMaterialfv(GL_FRONT,GL_SPECULAR,(0.5,0.5,0.5,1))
+-      glLightModel(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
++      glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
+       glEnable(GL_LINE_SMOOTH)
+       glEnable(GL_NORMALIZE)
+       #glPolygonMode(GL_FRONT,GL_LINE)



Home | Main Index | Thread Index | Old Index