a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21859 2007-02-10 17:04:17Z rhwood@macports.org $
PortSystem 1.0
name hymn
version 0.8.0
categories audio
platforms darwin
maintainers nomaintainer@macports.org
homepage http://hymn-project.org
description Utility for removing DRM on AAC files
long_description The purpose of hymn is to allow you to excercise your \
fair-use rights under copyright law. It allows you to \
free your iTunes Music Store purchases from their DRM \
restrictions with no sound quality loss. These songs \
can then be played outside the iTunes environment, even \
on operating systems not supported by iTunes. It works \
on Mac OS X, many Unix(-ish) variants and on Windows.
master_sites http://hymn-project.org/archive/
checksums md5 61ab842b4fbf3715b70d0e2efd61c1c6
distname ${name}-${version}src
destroot { xinstall -m 755 ${worksrcpath}/src/cli/${name} \
${destroot}${prefix}/bin
}
post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -v -W ${worksrcpath} \
AUTHORS ChangeLog COPYING NEWS README THANKS \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/doc \
${destroot}${prefix}/share/doc/${name}/manual
system "cd ${destroot}${prefix}/share/doc/${name}/manual \
&& rm -r Makefile* hymn-version*"
}
variant cocoa {
destroot { xinstall -d -m 755 ${destroot}/Applications/MacPorts
file copy ${worksrcpath}/src/cocoa_ui/build/${name}.app \
${destroot}/Applications/MacPorts/${name}.app
}
}