games/scummvm-tools: Update to 2.0.0

- Use PORTVERSION instead of DISTVERSION
- Update MASTER_SITES
- Add LICENSE_FILE
- Add missing dependencies
- Add USES=iconv
- Add DESKTOP_ENTRIES
- Install more DOCS
- Pet portlint

Noteworthy changes:

2.0.0 (2017-12-17)
 - Fix handling of output path for the compress_touche tool.
 - Fix handling of input path for the extract_cine tool. It was only working
   when run from the directory that contains the game data.
 - Fix memory corruption that could cause random errors during extraction when
   using the extract_cine tool.

1.9.0 (2016-10-27)
 - Fix random crashes in the tool to convert Broken Sword 1 speech files.

PR:		228880
Submitted by:	cpm
Approved by:	lme (maintainer)
This commit is contained in:
Carlos J. Puga Medina 2018-06-12 11:23:14 +00:00
parent 9a60a2e4c5
commit 5d83f8432b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472240
3 changed files with 23 additions and 12 deletions

View file

@ -2,26 +2,28 @@
# $FreeBSD$
PORTNAME= scummvm-tools
DISTVERSION= 1.8.0
PORTREVISION= 8
PORTVERSION= 2.0.0
CATEGORIES= games emulators
MASTER_SITES= SF/scummvm/${PORTNAME}/${DISTVERSION}
MASTER_SITES= http://www.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/
MAINTAINER= lme@FreeBSD.org
COMMENT= Tools for use with the SCUMMVM game emulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS:= ${BUILD_DEPENDS}
BUILD_DEPENDS= lame:audio/lame \
flac:audio/flac \
oggenc:audio/vorbis-tools
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpng.so:graphics/png \
libvorbis.so:audio/libvorbis
libmad.so:audio/libmad \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libfreetype.so:print/freetype2
USES= gmake tar:bzip2
USES= gmake iconv tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
@ -30,7 +32,16 @@ STRIP_FILES= construct_mohawk create_sjisfnt decine decompile degob \
dekyra deriven descumm desword2 extract_mohawk gob_loadcalc \
scummvm-tools-cli
OPTIONS_DEFINE= WXGTK DOCS
DESKTOP_ENTRIES="ScummVM Tools" \
"" \
"${DATADIR}/scummvmtools_128.png" \
"${PORTNAME}" \
"Games;" \
false
PORTDOCS= COPYRIGHT NEWS README TODO
OPTIONS_DEFINE= WXGTK DOCS
OPTIONS_DEFAULT= WXGTK
.include <bsd.port.pre.mk>
@ -54,8 +65,8 @@ pre-patch:
pre-install:
${STRIP_CMD} ${STRIP_FILES:S|^|${WRKSRC}/|}
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View file

@ -1,2 +1,3 @@
SHA256 (scummvm-tools-1.8.0.tar.bz2) = f99369e4bcf61e3fa82abff542d8ca93502725f248e62b3799dd342878ccaf73
SIZE (scummvm-tools-1.8.0.tar.bz2) = 966187
TIMESTAMP = 1528670348
SHA256 (scummvm-tools-2.0.0.tar.bz2) = 79a6fc0be81c1ed8938ec996c05f67b67f40b1de514ff1a20efa919a70fc6c22
SIZE (scummvm-tools-2.0.0.tar.bz2) = 969421

View file

@ -11,7 +11,6 @@ bin/extract_mohawk
bin/gob_loadcalc
%%WX%%bin/scummvm-tools
bin/scummvm-tools-cli
%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/detaillogo.jpg
%%DATADIR%%/logo.jpg
%%DATADIR%%/scummvmtools.icns