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:
parent
b6d631fe6c
commit
1112f73b20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562237
@ -80,6 +80,7 @@
|
||||
SUBDIR += cdplay
|
||||
SUBDIR += celt
|
||||
SUBDIR += checkmate
|
||||
SUBDIR += cheesecutter
|
||||
SUBDIR += chordpack
|
||||
SUBDIR += chromaprint
|
||||
SUBDIR += clementine-player
|
||||
|
39
audio/cheesecutter/Makefile
Normal file
39
audio/cheesecutter/Makefile
Normal 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>
|
3
audio/cheesecutter/distinfo
Normal file
3
audio/cheesecutter/distinfo
Normal 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
|
25
audio/cheesecutter/files/patch-Makefile.ldc
Normal file
25
audio/cheesecutter/files/patch-Makefile.ldc
Normal 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
|
13
audio/cheesecutter/files/patch-src_main.d
Normal file
13
audio/cheesecutter/files/patch-src_main.d
Normal 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 = '/';
|
||||
}
|
5
audio/cheesecutter/pkg-descr
Normal file
5
audio/cheesecutter/pkg-descr
Normal 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
|
22
audio/cheesecutter/pkg-plist
Normal file
22
audio/cheesecutter/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user