From owner-svn-ports-all@freebsd.org Thu Jan 21 19:40:29 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A8484DE30B; Thu, 21 Jan 2021 19:40:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMCRK27HKz4pjS; Thu, 21 Jan 2021 19:40:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3B81E11C85; Thu, 21 Jan 2021 19:40:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10LJeTOv089248; Thu, 21 Jan 2021 19:40:29 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10LJeR6F089241; Thu, 21 Jan 2021 19:40:27 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <202101211940.10LJeR6F089241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 21 Jan 2021 19:40:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562237 - in head/audio: . cheesecutter cheesecutter/files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/audio: . cheesecutter cheesecutter/files X-SVN-Commit-Revision: 562237 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 19:40:29 -0000 Author: ehaupt Date: Thu Jan 21 19:40:27 2021 New Revision: 562237 URL: https://svnweb.freebsd.org/changeset/ports/562237 Log: Add cheesecutter 2.9.b.3.25, tracker for composing music for the C64 SID chip. Added: head/audio/cheesecutter/ head/audio/cheesecutter/Makefile (contents, props changed) head/audio/cheesecutter/distinfo (contents, props changed) head/audio/cheesecutter/files/ head/audio/cheesecutter/files/patch-Makefile.ldc (contents, props changed) head/audio/cheesecutter/files/patch-src_main.d (contents, props changed) head/audio/cheesecutter/pkg-descr (contents, props changed) head/audio/cheesecutter/pkg-plist (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Thu Jan 21 19:34:10 2021 (r562236) +++ head/audio/Makefile Thu Jan 21 19:40:27 2021 (r562237) @@ -80,6 +80,7 @@ SUBDIR += cdplay SUBDIR += celt SUBDIR += checkmate + SUBDIR += cheesecutter SUBDIR += chordpack SUBDIR += chromaprint SUBDIR += clementine-player Added: head/audio/cheesecutter/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/Makefile Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,39 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= cheesecutter +DISTVERSIONPREFIX= v +DISTVERSION= 2.9-beta-3-25 +DISTVERSIONSUFFIX= -gdbe9a9d +CATEGORIES= audio + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Tracker for composing music for the C64 SID chip + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= acme:devel/acme \ + ldc2:lang/ldc + +USES= desktop-file-utils gmake + +USE_GITHUB= yes +GH_ACCOUNT= ehaupt +GH_PROJECT= CheeseCutter + +MAKEFILE= Makefile.ldc +MAKE_ENV+= EXAMPLESDIR=${EXAMPLESDIR} + +OPTIONS_DEFINE= EXAMPLES + +post-install: + ${MKDIR} ${STAGEDIR}${MANPREFIX}/share/man/fr/man1 ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/arch/fd/ccutter.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/icons/cc96.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png +.for f in ccutter ct2util + ${INSTALL_MAN} ${WRKSRC}/doc/${f}.1 ${STAGEDIR}${MANPREFIX}/share/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/${f}.fr.1 ${STAGEDIR}${MANPREFIX}/share/man/fr/man1 +.endfor + +.include Added: head/audio/cheesecutter/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/distinfo Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,3 @@ +TIMESTAMP = 1611248944 +SHA256 (ehaupt-CheeseCutter-v2.9-beta-3-25-gdbe9a9d_GH0.tar.gz) = cd4fe2dc508e674fd01f2f464f0fb86b61a2c0dd052c3707e84609b037be2806 +SIZE (ehaupt-CheeseCutter-v2.9-beta-3-25-gdbe9a9d_GH0.tar.gz) = 407983 Added: head/audio/cheesecutter/files/patch-Makefile.ldc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/files/patch-Makefile.ldc Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,25 @@ +--- Makefile.ldc.orig 2021-01-21 17:07:49 UTC ++++ Makefile.ldc +@@ -1,5 +1,7 @@ + # make install DESTDIR=/home/yamo/devel/cc2/snap/parts/ccutter/install + ++PREFIX?=/usr ++EXAMPLESDIR?=/usr/share/examples/ccutter + LIBS=-L-ldl -L-lstdc++ + COMFLAGS=-O2 + VERSION=$(shell cat Version) +@@ -38,10 +40,10 @@ c64: $(C64OBJS) + install: all + strip ccutter$(EXE) + strip ct2util$(EXE) +- cp ccutter$(EXE) $(DESTDIR) +- cp ct2util$(EXE) $(DESTDIR) +- mkdir $(DESTDIR)/example_tunes +- cp -r tunes/* $(DESTDIR)/example_tunes ++ cp ccutter$(EXE) $(DESTDIR)$(PREFIX)/bin ++ cp ct2util$(EXE) $(DESTDIR)$(PREFIX)/bin ++ mkdir -p $(DESTDIR)/$(EXAMPLESDIR)/example_tunes ++ cp -r tunes/* $(DESTDIR)/$(EXAMPLESDIR)/example_tunes + + # release version with additional optimizations + release: DFLAGS += -frelease -fno-bounds-check Added: head/audio/cheesecutter/files/patch-src_main.d ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/files/patch-src_main.d Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,13 @@ +--- src/main.d.orig 2020-12-25 15:36:31 UTC ++++ src/main.d +@@ -23,6 +23,10 @@ version(linux) { + const DIR_SEPARATOR = '/'; + } + ++version(FreeBSD) { ++ const DIR_SEPARATOR = '/'; ++} ++ + version(OSX) { + const DIR_SEPARATOR = '/'; + } Added: head/audio/cheesecutter/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/pkg-descr Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,5 @@ +CheeseCutter is a tracker for composing music for the SID chip. It uses +the reSID engine for SID emulation. The packed files can be played on a +real C64. + +WWW: https://github.com/theyamo/CheeseCutter Added: head/audio/cheesecutter/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cheesecutter/pkg-plist Thu Jan 21 19:40:27 2021 (r562237) @@ -0,0 +1,22 @@ +bin/ccutter +bin/ct2util +share/applications/ccutter.desktop +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/abaddon-starfish.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/abaddon-swingcat.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/abaddon-trouble.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/drvector-ftrcrck.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/drvector-ftrcwby.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/guyshavitt-dustandrust.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/mch-cheesecatsgroove.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/scarzix-KnightsAndDames.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/scarzix-cheese-around-the-clock.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/scarzix-visualbrothers.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/spider_jerusalem-KaeseKacker.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/tempest-soyoudied.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/vent-arkijuusto.ct +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_tunes/wisdom-Adrift.ct +share/man/fr/man1/ccutter.fr.1.gz +share/man/fr/man1/ct2util.fr.1.gz +share/man/man1/ccutter.1.gz +share/man/man1/ct2util.1.gz +share/pixmaps/cheesecutter.png