mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
games/bass: Add desktop entry; cleanup
Update MASTER_SITES; distfile was un-fetchable. Give LICENSE a better name and description. Extract and format only the relevant part from readme.txt and install that as LICENSE_FILE. Remove pkg-message.in which just reiterated the instructions already stated in readme.txt. A desktop entry has been added to facilitate launching the game and to support the locales for which the game has subtitles.
This commit is contained in:
parent
5dff5a43ff
commit
c24ceaac27
@ -1,39 +1,40 @@
|
||||
PORTNAME= bass
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://de2.eu.scummvm.net/extras/Beneath%20a%20Steel%20Sky/ \
|
||||
http://de1.eu.scummvm.net/extras/Beneath%20a%20Steel%20Sky/ \
|
||||
http://at1.eu.scummvm.net/extras/Beneath%20a%20Steel%20Sky/ \
|
||||
http://lt1.eu.scummvm.net/extras/Beneath%20a%20Steel%20Sky/
|
||||
MASTER_SITES= SF/scummvm/extras/Beneath%20a%20Steel%20Sky/ \
|
||||
https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/
|
||||
DISTNAME= bass-cd-1.2
|
||||
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
COMMENT= Beneath a Steel Sky: a post-apocalyptic futuristic graphical adventure
|
||||
WWW= https://www.scummvm.org/games/ #sky
|
||||
WWW= https://www.scummvm.org/games/ #games-sky
|
||||
|
||||
LICENSE= unknown
|
||||
LICENSE_NAME= no name
|
||||
LICENSE_FILE= ${WRKSRC}/readme.txt
|
||||
LICENSE= BASS
|
||||
LICENSE_NAME= Beneath a Steel Sky License
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
RUN_DEPENDS= scummvm:games/scummvm
|
||||
|
||||
USES= zip
|
||||
USES= desktop-file-utils zip
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_FILES= bass.desktop
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${TAIL} -n +86 ${WRKSRC}/readme.txt | ${SED} -e '1G;9G' | ${FMT} -p > ${WRKSRC}/LICENSE
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sky.dnr ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sky.dsk ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sky.cpt ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/bass.desktop ${STAGEDIR}${PREFIX}/share/applications
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -1,2 +1,3 @@
|
||||
TIMESTAMP = 1668891204
|
||||
SHA256 (bass-cd-1.2.zip) = 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593
|
||||
SIZE (bass-cd-1.2.zip) = 69377781
|
||||
|
28
games/bass/files/bass.desktop.in
Normal file
28
games/bass/files/bass.desktop.in
Normal file
@ -0,0 +1,28 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Beneath a Steel Sky
|
||||
GenericName=Adventure game
|
||||
GenericName[de]=Abenteuerspiel
|
||||
GenericName[es]=Videojuego de aventura
|
||||
GenericName[fr]=Jeu vidéo d'aventure
|
||||
GenericName[it]=Avventura grafica
|
||||
GenericName[pt]=Jogo de aventura
|
||||
GenericName[sv]=Äventyrsspel
|
||||
Comment=Be vigilant!
|
||||
Comment[de]=Sei wachsam!
|
||||
Comment[es]=¡Estar atentos!
|
||||
Comment[fr]=Soyez vigilants!
|
||||
Comment[it]=Siate vigilanti!
|
||||
Comment[pt]=Seja vigilante!
|
||||
Comment[sv]=Var vaksam!
|
||||
Icon=scummvm.png
|
||||
Exec=%%LOCALBASE%%/bin/scummvm -f -p %%DATADIR%% sky
|
||||
Exec[de]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=de sky
|
||||
Exec[es]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=es sky
|
||||
Exec[fr]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=fr sky
|
||||
Exec[it]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=it sky
|
||||
Exec[pt]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=br sky
|
||||
Exec[sv]=%%LOCALBASE%%/bin/scummvm -f -n -p %%DATADIR%% --language=se sky
|
||||
Categories=Game;AdventureGame;
|
||||
StartupNotify=false
|
@ -1,17 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
Beneath a Steel Sky (bass) PORT NOTES ported by atrull
|
||||
|
||||
How to Get Playing:
|
||||
|
||||
i) Type scummvm to start the game interpreter
|
||||
ii) Click 'Add Game...', Browse to %%DATADIR%%
|
||||
iii) Click 'Choose' then click 'OK'
|
||||
iv) Select 'Beneath a Steel Sky' from the Menu and click 'Start'
|
||||
|
||||
Have fun, Be Vigilant!
|
||||
- atrull
|
||||
EOM
|
||||
}
|
||||
]
|
@ -1,3 +1,4 @@
|
||||
share/applications/bass.desktop
|
||||
%%DATADIR%%/sky.cpt
|
||||
%%DATADIR%%/sky.dnr
|
||||
%%DATADIR%%/sky.dsk
|
||||
|
Loading…
Reference in New Issue
Block a user