svn commit: r562237 - in head/audio: . cheesecutter cheesecutter/files

Emanuel Haupt ehaupt at FreeBSD.org
Thu Jan 21 19:40:29 UTC 2021


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 <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	cheesecutter
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.9-beta-3-25
+DISTVERSIONSUFFIX=	-gdbe9a9d
+CATEGORIES=	audio
+
+MAINTAINER=	ehaupt at 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 <bsd.port.mk>

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


More information about the svn-ports-head mailing list