audio/HVSC-Update: Update to 2.8.8 and switch to fork

Switch to fork which cleans up the code and removes need of
patching

See https://github.com/laustbn/hvsc-update-tool for more information
This commit is contained in:
Daniel Engberg 2024-03-29 14:57:05 +01:00
parent 6d9a516a14
commit d00d13d7ab
3 changed files with 12 additions and 29 deletions

View file

@ -1,27 +1,25 @@
PORTNAME= HVSC-Update
PORTVERSION= 2.8.7
DISTVERSION= 2.8.8
CATEGORIES= audio emulators
MASTER_SITES= http://www.hvsc.c64.org/download/files/tools/
DISTNAME= ${PORTNAME:S/-/_/}_Tool_source_${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Update program for the HVSC C= 64 SID tune collection
WWW= https://www.hvsc.c64.org/
WWW= https://github.com/laustbn/hvsc-update-tool
BUILD_DEPENDS= makedepend:devel/makedepend
USES= cmake compiler:c++17-lang
GNU_CONFIGURE= yes
USES= gmake
USE_CXXSTD= c++98
WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}_Tool_${PORTVERSION:S/.//g}
USE_GITHUB= yes
GH_ACCOUNT= laustbn
GH_PROJECT= hvsc-update-tool
GH_TAGNAME= ff21266
PORTDOCS= HVS_file_format.txt HVSC_Update.txt SID_file_format.txt
PLIST_FILES= bin/${PORTNAME}
PLIST_FILES= bin/hvsc_update_tool
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Update ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/hvsc_update_tool ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View file

@ -1,2 +1,3 @@
SHA256 (HVSC_Update_Tool_source_287.tar.gz) = c61177a98c893d3f3f5214edea42b28e16f1af2567cbbf6e639ca9d682b6572c
SIZE (HVSC_Update_Tool_source_287.tar.gz) = 189813
TIMESTAMP = 1711228694
SHA256 (laustbn-hvsc-update-tool-2.8.8-ff21266_GH0.tar.gz) = 9020c605fd5cc0aca1979f4cbe3b00964189789dcbaafd7ad32acabbc3024ae7
SIZE (laustbn-hvsc-update-tool-2.8.8-ff21266_GH0.tar.gz) = 2339541

View file

@ -1,16 +0,0 @@
--- configure.orig 2013-09-06 21:05:00 UTC
+++ configure
@@ -5168,11 +5168,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <fstream.h>
+#include <fstream>
int
main ()
{
-ifstream myTest("test",std::ios::binary);
+std::ifstream myTest("test",std::ios::binary);
;
return 0;
}