pkgsrc-WIP-changes archive

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

scummvm-bass: adding cd or floppy option & pointing at scummvm.org



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Thu Dec 14 12:37:10 2017 +0000
Changeset:	df068971df148a85d4479376fbbec6ad981fb896

Added Files:
	scummvm-bass/DESCR
	scummvm-bass/Makefile
	scummvm-bass/PLIST
	scummvm-bass/distinfo
	scummvm-bass/files/bass.sh
	scummvm-bass/options.mk

Log Message:
scummvm-bass: adding cd or floppy option & pointing at scummvm.org

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df068971df148a85d4479376fbbec6ad981fb896

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

diffstat:
 scummvm-bass/DESCR         |  7 +++++++
 scummvm-bass/Makefile      | 22 ++++++++++++++++++++++
 scummvm-bass/PLIST         |  5 +++++
 scummvm-bass/distinfo      | 10 ++++++++++
 scummvm-bass/files/bass.sh |  3 +++
 scummvm-bass/options.mk    | 28 ++++++++++++++++++++++++++++
 6 files changed, 75 insertions(+)

diffs:
diff --git a/scummvm-bass/DESCR b/scummvm-bass/DESCR
new file mode 100644
index 0000000000..b90f5290ef
--- /dev/null
+++ b/scummvm-bass/DESCR
@@ -0,0 +1,7 @@
+"Beneath a Steel Sky is a 2D point-and-click science fiction thriller set in a
+bleak vision of the future, originally published for DOS and the Amiga. You are
+Robert Foster, an innocent outsider stranded in a vast city where oppressed
+civilians live and work in soaring tower blocks... whilst the corrupt, covetous
+and rich live underground, safe from all pollution. Alone, save for a robot
+circuit board, Foster must fight for survival - and discover the sinister truth
+behind both his own past and the city he has found himself trapped in."
diff --git a/scummvm-bass/Makefile b/scummvm-bass/Makefile
new file mode 100644
index 0000000000..9e3243e0c8
--- /dev/null
+++ b/scummvm-bass/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+PKGNAME=		scummvm-bass-0
+CATEGORIES=		games
+MASTER_SITES=		https://www.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/
+EXTRACT_SUFX=		.zip
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://scummvm.sourceforge.net/
+COMMENT=		Beneath a Steel Sky
+#LICENSE=		freeware license specified in readme.txt
+
+BASSDIR=	${PREFIX}/share/games/bass
+
+INSTALLATION_DIRS=	bin
+
+do-build:
+	${SED} "s|@BASSDIR@|${BASSDIR}|" <${FILESDIR}/bass.sh \
+		>${WRKDIR}/bass.sh
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scummvm-bass/PLIST b/scummvm-bass/PLIST
new file mode 100644
index 0000000000..1899dbf5ca
--- /dev/null
+++ b/scummvm-bass/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:55 joerg Exp $
+bin/bass
+share/games/bass/sky.dnr
+share/games/bass/sky.dsk
+${PLIST.cd}share/games/bass/sky.cpt
diff --git a/scummvm-bass/distinfo b/scummvm-bass/distinfo
new file mode 100644
index 0000000000..38da65c33d
--- /dev/null
+++ b/scummvm-bass/distinfo
@@ -0,0 +1,10 @@
+$NetBSD$
+
+SHA1 (bass-cd-1.2.zip) = 6cf6548cb89f051f7d8024e4e06bb799f9f4dcf1
+RMD160 (bass-cd-1.2.zip) = 8ebf7b3f3ce8c11a0ea4af7a4e8e778a63742331
+SHA512 (bass-cd-1.2.zip) = ff896e723b4dbf2cc52851ee1260c1006aa285b768a727974719d63509bdac1c65be9ea565eb037d5e9e1c8fd8fd76a8c04776bcde46616ca9ccce18ea498d64
+Size (bass-cd-1.2.zip) = 69377781 bytes
+SHA1 (BASS-Floppy-1.3.zip) = acd7a578879c73fb3994b9c72b6571dc62635f6e
+RMD160 (BASS-Floppy-1.3.zip) = bc160ff0ad0fc2d5a0e4872b946282acae49d818
+SHA512 (BASS-Floppy-1.3.zip) = d220f84448b50e1464329e204f876acc4a9eda24b319577ed74aec8e1a0316e2df268f8768ac9267b90a29a857b010bdae71e2f3c77428987f299bec3dc1ce15
+Size (BASS-Floppy-1.3.zip) = 7675813 bytes
diff --git a/scummvm-bass/files/bass.sh b/scummvm-bass/files/bass.sh
new file mode 100644
index 0000000000..70f7b4bfa2
--- /dev/null
+++ b/scummvm-bass/files/bass.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec scummvm -p@BASSDIR@ -f sky
diff --git a/scummvm-bass/options.mk b/scummvm-bass/options.mk
new file mode 100644
index 0000000000..bd0c4cc004
--- /dev/null
+++ b/scummvm-bass/options.mk
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.scummvm-bass-0
+PKG_SUPPORTED_OPTIONS+=		cd floppy
+PKG_OPTIONS_REQUIRED_GROUPS=	media
+PKG_OPTIONS_GROUP.media=	cd floppy
+PKG_SUGGESTED_OPTIONS=		cd
+PLIST_VARS+=			cd
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcd)
+DISTNAME=	bass-cd-1.2
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${BASSDIR}
+	${INSTALL_DATA} ${WRKSRC}/sky.dnr ${WRKSRC}/sky.cpt ${WRKSRC}/sky.dsk ${DESTDIR}${BASSDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/bass.sh ${DESTDIR}${PREFIX}/bin/bass
+PLIST.cd=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mfloppy)
+DISTNAME=	BASS-Floppy-1.3
+WRKSRC=		${WRKDIR}
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${BASSDIR}
+	${INSTALL_DATA} ${WRKSRC}/sky.dnr ${WRKSRC}/sky.dsk ${DESTDIR}${BASSDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/bass.sh ${DESTDIR}${PREFIX}/bin/bass
+.endif


Home | Main Index | Thread Index | Old Index