[56902] trunk/dports/sysutils/cdrdao/Portfile

snc at macports.org snc at macports.org
Thu Sep 3 05:29:47 PDT 2009


Revision: 56902
          http://trac.macports.org/changeset/56902
Author:   snc at macports.org
Date:     2009-09-03 05:29:42 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
add universal/arch fixes, ticket #21035. added modeline, blank after portsystem, and variant description

Modified Paths:
--------------
    trunk/dports/sysutils/cdrdao/Portfile

Modified: trunk/dports/sysutils/cdrdao/Portfile
===================================================================
--- trunk/dports/sysutils/cdrdao/Portfile	2009-09-03 12:17:31 UTC (rev 56901)
+++ trunk/dports/sysutils/cdrdao/Portfile	2009-09-03 12:29:42 UTC (rev 56902)
@@ -1,14 +1,17 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem	1.0
+
 name		cdrdao
 version		1.2.2
-revision	1
+revision	2
 description	Disk-At-Once Recording of Audio and Data CD-Rs/CD-RWs
 long_description	\
 	Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode \
 	based on a textual description of the CD contents (toc-file).
 
+homepage        http://cdrdao.sourceforge.net/
 categories	sysutils
 maintainers	nomaintainer
 platforms	darwin
@@ -25,6 +28,11 @@
 
 	reinplace "s|-L\$\(top_builddir\)/paranoia -lcdda_paranoia|\$\(top_builddir\)/paranoia/libcdda_paranoia.a|" ${worksrcpath}/dao/Makefile.in
 
+	if {[variant_isset universal]} {
+		reinplace "s|COPTS=|COPTS=    ${configure.universal_cflags}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
+	} else {
+		reinplace "s|COPTS=|COPTS=    -arch ${build_arch}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
+	}
 	file copy "${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul" "${worksrcpath}/scsilib/RULES/i386-darwin-cc.rul"
 }
 
@@ -32,7 +40,7 @@
 		--mandir=${prefix}/share/man \
 		--without-lame --without-xdao --without-ogg-support --without-mp3-support --disable-dependency-tracking
 
-variant lame {
+variant lame description {Use LAME encoder} {
 	depends_lib-append	port:lame
 	configure.args-delete	--without-lame
 	configure.args-append	--with-lame-lib=${prefix}/lib --with-lame-include=${prefix}/include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/5bd2d8ea/attachment.html>


More information about the macports-changes mailing list