-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
38e7929
There was a problem hiding this comment.
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.
38e7929
There was a problem hiding this comment.
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
: #22033I 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.