diff options
author | cpm <cpm@FreeBSD.org> | 2018-06-12 19:23:14 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2018-06-12 19:23:14 +0800 |
commit | 5cb4845d3d0636ea3d72cae500c97843546f9f9d (patch) | |
tree | 1364f6a6c42371b8c2952874b9d56a8d5f472f50 | |
parent | d813adea777f534af71f99bb7a17feb4f010fd1c (diff) | |
download | freebsd-ports-gnome-5cb4845d3d0636ea3d72cae500c97843546f9f9d.tar.gz freebsd-ports-gnome-5cb4845d3d0636ea3d72cae500c97843546f9f9d.tar.zst freebsd-ports-gnome-5cb4845d3d0636ea3d72cae500c97843546f9f9d.zip |
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)
-rw-r--r-- | games/scummvm-tools/Makefile | 29 | ||||
-rw-r--r-- | games/scummvm-tools/distinfo | 5 | ||||
-rw-r--r-- | games/scummvm-tools/pkg-plist | 1 |
3 files changed, 23 insertions, 12 deletions
diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile index 10d47aeb455a..ff303f092a96 100644 --- a/games/scummvm-tools/Makefile +++ b/games/scummvm-tools/Makefile @@ -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> diff --git a/games/scummvm-tools/distinfo b/games/scummvm-tools/distinfo index ec76bc5dbe94..a70eb98bb3d4 100644 --- a/games/scummvm-tools/distinfo +++ b/games/scummvm-tools/distinfo @@ -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 diff --git a/games/scummvm-tools/pkg-plist b/games/scummvm-tools/pkg-plist index d644550f61d3..34c329dcbcb0 100644 --- a/games/scummvm-tools/pkg-plist +++ b/games/scummvm-tools/pkg-plist @@ -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 |