Skip to content

Commit

Permalink
ddptools: new submission
Browse files Browse the repository at this point in the history
  • Loading branch information
breun authored and pmetzger committed Jan 3, 2024
1 parent 0027bd5 commit 38e7929
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions audio/ddptools/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name ddptools
version 1.1
revision 0

categories audio
platforms {darwin any}
maintainers {breun.nl:nils @breun} openmaintainer
license NoMirror

description DDP Mastering Tools

long_description The DDP Mastering Tools are a small set of command line \
programs which read and write DDP images as used for Red \
Book CD audio mastering. They let you\
\n\
\n* create DDP 2.0 masters from a cue/wav images,\
\n* inspect DDP masters by displaying the full meta-data found \
in those masters, a feature rarely found in traditional DDP \
software,\
\n* convert DDP masters to cue/wav for easier playback, or \
burning of CD reference copies.

homepage http://ddp.andreasruge.de
master_sites http://ddp.andreasruge.de/dist/

distname ${name}-${version}-osx

checksums rmd160 2541cb617c437ee3d61499504d370d5dbb015348 \
sha256 dc2a264b591c50c72862091de464d1d5b1740909035cb1ee8d513213ab502e0a \
size 111753

worksrcdir ${name}-${version}

use_configure no

build {}

test.run yes
test.cmd ./cue2ddp
test.target
test.args --version

destroot {
set target ${destroot}${prefix}/share/${name}

# Create the target directory
xinstall -m 755 -d ${target}

foreach f { NEWS README } {
xinstall -m 644 ${worksrcpath}/${f} ${target}/${f}
}

foreach f { cdtinfo cue2ddp ddpinfo } {
xinstall -m 755 ${worksrcpath}/${f} ${destroot}${prefix}/bin/${f}
xinstall -m 644 ${worksrcpath}/doc/${f}.1 ${destroot}${prefix}/share/man/man1/${f}.1
}
}

2 comments on commit 38e7929

@barracuda156
Copy link
Contributor

@barracuda156 barracuda156 commented on 38e7929 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@breun How is this {darwin any} when the developer’s website clearly states OS X binaries (64bit)?

It should be restricted to supported archs, also perhaps add Linux support, since binaries are provided and there is nothing to build anyway.

@breun
Copy link
Member Author

@breun breun commented on 38e7929 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@barracuda156 Here's a pull request to set supported_archs: #22033

I don't have a Linux machine to test MacPorts stuff myself, but if you'd like to add Linux support to this port, feel free to go ahead and create a pull request for that.

Please sign in to comment.