1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add cheesecutter 2.9.b.3.25, tracker for composing music for the C64 SID

chip.
This commit is contained in:
Emanuel Haupt 2021-01-21 19:40:27 +00:00
parent b6d631fe6c
commit 1112f73b20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562237
7 changed files with 108 additions and 0 deletions

View File

@ -80,6 +80,7 @@
SUBDIR += cdplay
SUBDIR += celt
SUBDIR += checkmate
SUBDIR += cheesecutter
SUBDIR += chordpack
SUBDIR += chromaprint
SUBDIR += clementine-player

View File

@ -0,0 +1,39 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $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 <bsd.port.mk>

View File

@ -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

View File

@ -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

View File

@ -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 = '/';
}

View File

@ -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

View File

@ -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