[102443] trunk/dports/sysutils/cdrtools/Portfile
Revision: 102443 https://trac.macports.org/changeset/102443 Author: larryv@macports.org Date: 2013-02-02 23:22:52 -0800 (Sat, 02 Feb 2013) Log Message: ----------- cdrtools: Add modeline; change spaces to tabs; tweak formatting. Modified Paths: -------------- trunk/dports/sysutils/cdrtools/Portfile Modified: trunk/dports/sysutils/cdrtools/Portfile =================================================================== --- trunk/dports/sysutils/cdrtools/Portfile 2013-02-03 07:15:32 UTC (rev 102442) +++ trunk/dports/sysutils/cdrtools/Portfile 2013-02-03 07:22:52 UTC (rev 102443) @@ -1,68 +1,69 @@ +# -*- 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 # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name cdrtools -version 3.00 -revision 1 -categories sysutils +name cdrtools +version 3.00 +revision 1 +categories sysutils # listing all these licenses is somewhat redundant when taken as a whole, # but different separable components are licensed differently -license CDDL-1 BSD LGPL-2.1 GPL-2+ GPL-2 -platforms darwin -description ISO 9660 filesystem and CD creation tools -long_description The cdrtools software includes programs to create \ - and/or extract ISO 9660 filesystems, verify their \ - integrity, and write them to a disc. \ - Note, this port conflicts with the dvdrtools port. -homepage http://cdrecord.berlios.de/old/private/cdrecord.html -maintainers gmail.com:bytestorm openmaintainer -master_sites ftp://ftp.berlios.de/pub/cdrecord/ \ - ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/ +license CDDL-1 BSD LGPL-2.1 GPL-2+ GPL-2 +platforms darwin +description ISO 9660 filesystem and CD creation tools +long_description The cdrtools software includes programs to create \ + and/or extract ISO 9660 filesystems, verify their \ + integrity, and write them to a disc. +homepage http://cdrecord.berlios.de/old/private/cdrecord.html +maintainers gmail.com:bytestorm openmaintainer +master_sites ftp://ftp.berlios.de/pub/cdrecord/ \ + ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/ -checksums md5 f9fbab08fbd458b0d2312976d8c5f558 \ - sha1 6464844d6b936d4f43ee98a04d637cd91131de4e \ - rmd160 210684ab5e286ef59b788b49bd0b74d88f6435f4 +checksums md5 f9fbab08fbd458b0d2312976d8c5f558 \ + sha1 6464844d6b936d4f43ee98a04d637cd91131de4e \ + rmd160 210684ab5e286ef59b788b49bd0b74d88f6435f4 -use_bzip2 yes +use_bzip2 yes -depends_build port:smake +depends_build port:smake -depends_lib port:gettext +depends_lib port:gettext -patchfiles patch-include_schily_sha2.h +patchfiles patch-include_schily_sha2.h post-patch { - reinplace -locale C "s|/opt/schily|${prefix}|g" \ - ${worksrcpath}/DEFAULTS/Defaults.darwin \ - ${worksrcpath}/DEFAULTS/Defaults.mac-os10 \ - ${worksrcpath}/DEFAULTS_ENG/Defaults.darwin \ - ${worksrcpath}/DEFAULTS_ENG/Defaults.mac-os10 \ - ${worksrcpath}/libfind/find.c \ - ${worksrcpath}/libfind/find_main.c \ - ${worksrcpath}/librscg/scsi-remote.c \ - ${worksrcpath}/TEMPLATES/Defaults.gcc + reinplace -locale C "s|/opt/schily|${prefix}|g" \ + ${worksrcpath}/DEFAULTS/Defaults.darwin \ + ${worksrcpath}/DEFAULTS/Defaults.mac-os10 \ + ${worksrcpath}/DEFAULTS_ENG/Defaults.darwin \ + ${worksrcpath}/DEFAULTS_ENG/Defaults.mac-os10 \ + ${worksrcpath}/libfind/find.c \ + ${worksrcpath}/libfind/find_main.c \ + ${worksrcpath}/librscg/scsi-remote.c \ + ${worksrcpath}/TEMPLATES/Defaults.gcc } -use_configure no +use_configure no -# hangs the same way as smake itself with both llvm-gcc-4.2 and -# Xcode 4.1's clang +# hangs the same way as smake itself with both llvm-gcc-4.2 and Xcode +# 4.1's clang # https://trac.macports.org/ticket/30310 if {${configure.compiler} == "llvm-gcc-4.2"} { - configure.compiler gcc-4.2 + configure.compiler gcc-4.2 } elseif {${configure.compiler} == "clang" && [vercmp $xcodeversion 4.3] < 0} { - depends_build-append port:apple-gcc42 - configure.compiler apple-gcc-4.2 + depends_build-append port:apple-gcc42 + configure.compiler apple-gcc-4.2 } -build.cmd smake -build.args CC=${configure.cc} +build.cmd smake +build.args CC=${configure.cc} -use_parallel_build no +use_parallel_build no post-build { - # The build script doesn't notice when a program fails to build, so we must - # verify it ourselves. See https://trac.macports.org/ticket/34823 + # The build script doesn't notice when a program fails to build, so + # we must verify it ourselves. See + # https://trac.macports.org/ticket/34823 set progs {btcflash cdda2wav cdrecord devdump isodebug isodump isoinfo isovfy mkisofs readcd scgcheck scgskeleton} fs-traverse path ${worksrcpath} { if {[file isfile ${path}] && [string match {*/OBJ/*} ${path}]} { @@ -79,11 +80,13 @@ } } -destroot.args DEFINSUSR=${install.user} DEFINSGRP=${install.group} INS_BASE=${prefix} +destroot.args DEFINSUSR=${install.user} \ + DEFINSGRP=${install.group} \ + INS_BASE=${prefix} post-destroot { move ${destroot}/etc/default ${destroot}${prefix}/etc/ } -livecheck.url [lindex ${master_sites} 0] -livecheck.regex ${name}-(\[0-9.\]+)\\.tar +livecheck.url [lindex ${master_sites} 0] +livecheck.regex ${name}-(\[0-9.\]+)\\.tar
participants (1)
-
larryv@macports.org