pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
accelerator3d: Eliminate, imported into pkgsrc
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Jul 24 04:41:01 2016 +0200
Changeset: e18adacb993d7aac0b4ae188c0e2518f7f0040b7
Modified Files:
armagetronad/Makefile
armagetronad/Makefile.common
Removed Files:
accelerator3d/DESCR
accelerator3d/Makefile
accelerator3d/PLIST
accelerator3d/distinfo
accelerator3d/patches/patch-accelerator.py
Log Message:
accelerator3d: Eliminate, imported into pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e18adacb993d7aac0b4ae188c0e2518f7f0040b7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
accelerator3d/DESCR | 1 -
accelerator3d/Makefile | 44 ------------------------------
accelerator3d/PLIST | 24 ----------------
accelerator3d/distinfo | 7 -----
accelerator3d/patches/patch-accelerator.py | 15 ----------
armagetronad/Makefile | 5 ++--
armagetronad/Makefile.common | 8 ++----
7 files changed, 5 insertions(+), 99 deletions(-)
diffs:
diff --git a/accelerator3d/DESCR b/accelerator3d/DESCR
deleted file mode 100644
index 1e59be2..0000000
--- a/accelerator3d/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vein of Tempest or n2o.
diff --git a/accelerator3d/Makefile b/accelerator3d/Makefile
deleted file mode 100644
index 43f8980..0000000
--- a/accelerator3d/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD$
-
-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"
diff --git a/accelerator3d/PLIST b/accelerator3d/PLIST
deleted file mode 100644
index b690d43..0000000
--- a/accelerator3d/PLIST
+++ /dev/null
@@ -1,24 +0,0 @@
-@comment $NetBSD$
-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
diff --git a/accelerator3d/distinfo b/accelerator3d/distinfo
deleted file mode 100644
index e317154..0000000
--- a/accelerator3d/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-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
diff --git a/accelerator3d/patches/patch-accelerator.py b/accelerator3d/patches/patch-accelerator.py
deleted file mode 100644
index 882cc55..0000000
--- a/accelerator3d/patches/patch-accelerator.py
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-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)
diff --git a/armagetronad/Makefile b/armagetronad/Makefile
index 441bcea..958c725 100644
--- a/armagetronad/Makefile
+++ b/armagetronad/Makefile
@@ -1,12 +1,13 @@
# $NetBSD: Makefile,v 1.3 2010/12/26 05:01:21 davesainty Exp $
#
+.include "Makefile.common"
+
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 1
COMMENT= Tron clone in 3D with advanced gameplay and multiplayer
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
-.include "../../wip/armagetronad/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/armagetronad/Makefile.common b/armagetronad/Makefile.common
index 23f1632..0c97fbb 100644
--- a/armagetronad/Makefile.common
+++ b/armagetronad/Makefile.common
@@ -5,18 +5,15 @@
# This is separated in case someone wants to make
# a dedicated server package.
-DISTNAME= armagetronad-${ARMAD_VER}.src
+DISTNAME= armagetronad-0.2.8.3.3.src
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=armagetronad/}
-ARMAD_VER= 0.2.8.2.1
-
MAINTAINER= adam.hoka%gmail.com@localhost
-HOMEPAGE= http://armagetronad.sourceforge.net/
+HOMEPAGE= http://www.armagetronad.org/
PKG_DESTDIR_SUPPORT= none
-WRKSRC= ${WRKDIR}/armagetronad-0.2.8.2.1
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= bash gmake
@@ -27,4 +24,3 @@ CONFIGURE_ARGS+= --disable-uninstall
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index