pkgsrc-WIP-changes archive

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

scummvm-fotaq: add CD option as well as other langs.



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Sat Dec 23 22:47:41 2017 +0000
Changeset:	7134c378c85eab302c007df2b281830ed4238fbd

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

Log Message:
scummvm-fotaq: add CD option as well as other langs.

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

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

diffstat:
 scummvm-bass/Makefile        |  2 +-
 scummvm-fotaq/DESCR          |  2 ++
 scummvm-fotaq/Makefile       | 25 +++++++++++++++++++++++
 scummvm-fotaq/PLIST          |  4 ++++
 scummvm-fotaq/distinfo       | 18 +++++++++++++++++
 scummvm-fotaq/files/fotaq.sh |  3 +++
 scummvm-fotaq/options.mk     | 47 ++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 100 insertions(+), 1 deletion(-)

diffs:
diff --git a/scummvm-bass/Makefile b/scummvm-bass/Makefile
index 9e3243e0c8..face09edd2 100644
--- a/scummvm-bass/Makefile
+++ b/scummvm-bass/Makefile
@@ -6,7 +6,7 @@ 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/
+HOMEPAGE=		https://www.scummvm.org/games/
 COMMENT=		Beneath a Steel Sky
 #LICENSE=		freeware license specified in readme.txt
 
diff --git a/scummvm-fotaq/DESCR b/scummvm-fotaq/DESCR
new file mode 100644
index 0000000000..51bff8d985
--- /dev/null
+++ b/scummvm-fotaq/DESCR
@@ -0,0 +1,2 @@
+Flight of the Amazon Queen is a 2D point-and-click adventure game set in the
+1940s, originally published for DOS and the Amiga.
diff --git a/scummvm-fotaq/Makefile b/scummvm-fotaq/Makefile
new file mode 100644
index 0000000000..7b020ba334
--- /dev/null
+++ b/scummvm-fotaq/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+#
+
+PKGNAME=		scummvm-fotaq-0
+CATEGORIES=		games
+MASTER_SITES=		https://www.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/
+EXTRACT_SUFX=		.zip
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		https://www.scummvm.org/games/
+COMMENT=		Flight Of The Amazon Queen
+#LICENSE=		freeware license specified in readme.txt
+
+WRKSRC=			${WRKDIR}
+
+FOTAQDIR=	${PREFIX}/share/games/fotaq
+
+INSTALLATION_DIRS=	bin
+
+do-build:
+	${SED} "s|@FOTAQDIR@|${FOTAQDIR}|" <${FILESDIR}/fotaq.sh \
+		>${WRKDIR}/fotaq.sh
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scummvm-fotaq/PLIST b/scummvm-fotaq/PLIST
new file mode 100644
index 0000000000..4c1f48c7cf
--- /dev/null
+++ b/scummvm-fotaq/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/fotaq
+${PLIST.floppy}share/games/fotaq/queen.1
+${PLIST.cd}share/games/fotaq/queen.1c
diff --git a/scummvm-fotaq/distinfo b/scummvm-fotaq/distinfo
new file mode 100644
index 0000000000..db994d56c5
--- /dev/null
+++ b/scummvm-fotaq/distinfo
@@ -0,0 +1,18 @@
+$NetBSD$
+
+SHA1 (FOTAQ_Floppy.zip) = ff6bdc0b6a0daeea1a62d68118c7e994483425ce
+RMD160 (FOTAQ_Floppy.zip) = fa73b365ce1404a406cc50fb504ba3251548ac18
+SHA512 (FOTAQ_Floppy.zip) = 14ebdde04e312d6e94f8d33f42818fba96b1689beaa874c618066cd533021ca10c4fd3a2f47490e917594c9da9c870450718b833ca2f589582cca4ab8ffeda9d
+Size (FOTAQ_Floppy.zip) = 7109570 bytes
+SHA1 (FOTAQ_Talkie-1.1.zip) = 944e4dcf82b1474bd8200dbe4424341e47aebe65
+RMD160 (FOTAQ_Talkie-1.1.zip) = 396efb5236e0710ad17e47e830e469bca64e8127
+SHA512 (FOTAQ_Talkie-1.1.zip) = b543c863b557de24250adde78badc7b12a0de5aabb484f50d6b682c3ec7f710e991614254d2cfae960280f984ba2889703d42d51d20746080a9b7bb2996063b1
+Size (FOTAQ_Talkie-1.1.zip) = 33744817 bytes
+SHA1 (FOTAQ_Ger_talkie-1.0.zip) = bb9d0e34b1300f525f346fc27b79c64ff890ba50
+RMD160 (FOTAQ_Ger_talkie-1.0.zip) = 469d28f48460814b854f9781dce80a939b4e1b22
+SHA512 (FOTAQ_Ger_talkie-1.0.zip) = 65b6ae3fec052d616b52efb9eb74017587e39c0aa27a96f46b733b5caf2039193e6e1a99b873cdd8efe9d67b70fb0c48067731ba2d146350ed2fcf4551963837
+Size (FOTAQ_Ger_talkie-1.0.zip) = 75938507 bytes
+SHA1 (FOTAQ_Fr_Talkie_1.0.zip) = 1937a296e92d73863737be8b8d72bffbaece65b0
+RMD160 (FOTAQ_Fr_Talkie_1.0.zip) = 63d19d2a7363e98bddd646225679572cac8f978a
+SHA512 (FOTAQ_Fr_Talkie_1.0.zip) = c53180eabb797e5a857ef97d0e70f880a0c729fbbf6443e67ea21ec6af36f69e7039b8341b21c1e998064cfdae916f6a799bce7b38038e83bc91aee16737f797
+Size (FOTAQ_Fr_Talkie_1.0.zip) = 64531589 bytes
diff --git a/scummvm-fotaq/files/fotaq.sh b/scummvm-fotaq/files/fotaq.sh
new file mode 100644
index 0000000000..da23cbbafb
--- /dev/null
+++ b/scummvm-fotaq/files/fotaq.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec scummvm -p@FOTAQDIR@ -f queen
diff --git a/scummvm-fotaq/options.mk b/scummvm-fotaq/options.mk
new file mode 100644
index 0000000000..ed5bef1f2c
--- /dev/null
+++ b/scummvm-fotaq/options.mk
@@ -0,0 +1,47 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.scummvm-fotaq-0
+PKG_SUPPORTED_OPTIONS+=		cd floppy lang-de lang-fr
+PKG_OPTIONS_REQUIRED_GROUPS=	media
+PKG_OPTIONS_GROUP.media=	cd floppy lang-de lang-fr
+PKG_SUGGESTED_OPTIONS=		cd
+PLIST_VARS+=			cd floppy
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcd)
+DISTNAME=	FOTAQ_Talkie-1.1
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${FOTAQDIR}
+	${INSTALL_DATA} ${WRKSRC}/queen.1c ${DESTDIR}${FOTAQDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/fotaq.sh ${DESTDIR}${PREFIX}/bin/fotaq
+PLIST.cd=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mfloppy)
+DISTNAME=	FOTAQ_Floppy
+WRKSRC=		${WRKDIR}/FOTAQ_Floppy
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${FOTAQDIR}
+	${INSTALL_DATA} ${WRKSRC}/queen.1 ${DESTDIR}${FOTAQDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/fotaq.sh ${DESTDIR}${PREFIX}/bin/fotaq
+PLIST.floppy=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mlang-de)
+DISTNAME=	FOTAQ_Ger_talkie-1.0
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${FOTAQDIR}
+	${INSTALL_DATA} ${WRKSRC}/queen.1c ${DESTDIR}${FOTAQDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/fotaq.sh ${DESTDIR}${PREFIX}/bin/fotaq
+PLIST.cd=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mlang-fr)
+DISTNAME=	FOTAQ_Fr_Talkie_1.0
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${FOTAQDIR}
+	${INSTALL_DATA} ${WRKSRC}/queen.1c ${DESTDIR}${FOTAQDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/fotaq.sh ${DESTDIR}${PREFIX}/bin/fotaq
+PLIST.cd=	yes
+.endif


Home | Main Index | Thread Index | Old Index