[32505] trunk/dports/audio/abcMIDI

mww at macports.org mww at macports.org
Sat Jan 5 06:39:57 PST 2008


Revision: 32505
          http://trac.macosforge.org/projects/macports/changeset/32505
Author:   mww at macports.org
Date:     2008-01-05 06:39:51 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
version 2008-01-04, allow universal builds

Modified Paths:
--------------
    trunk/dports/audio/abcMIDI/Portfile

Added Paths:
-----------
    trunk/dports/audio/abcMIDI/files/
    trunk/dports/audio/abcMIDI/files/configure
    trunk/dports/audio/abcMIDI/files/patch-makefile

Modified: trunk/dports/audio/abcMIDI/Portfile
===================================================================
--- trunk/dports/audio/abcMIDI/Portfile	2008-01-05 12:38:20 UTC (rev 32504)
+++ trunk/dports/audio/abcMIDI/Portfile	2008-01-05 14:39:51 UTC (rev 32505)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			abcMIDI
-version			2007-12-09
+version			2008-01-04
 categories		audio
 platforms		darwin
 maintainers		mww
@@ -13,14 +13,16 @@
 
 homepage		http://ifdo.pugmarks.com/~seymour/runabc/top.html
 master_sites	http://ifdo.pugmarks.com/~seymour/runabc/
-checksums		sha1 c4236c938376ee2f6d63062b538c1265db0f3aae
+checksums		sha1 31014887b713436d10eec9729a9d81fe6b59d978
+patchfiles		patch-makefile
 
-use_zip			yes
-
 worksrcdir		abcmidi
 
-use_configure	no
+use_zip			yes
+post-extract { xinstall -m 755 ${filespath}/configure ${worksrcpath} }
 
+configure.pre_args	PREFIX=${prefix}
+
 destroot	{
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 755 -W ${worksrcpath} abc2abc abc2midi mftext midi2abc \
@@ -32,10 +34,6 @@
 		${destroot}${prefix}/share/doc/${name}
 }
 
-platform darwin 8 {
-	build.args	CC=/usr/bin/gcc-4.0 LNK=/usr/bin/gcc-4.0
-}
-
 livecheck.check	regex
 livecheck.url	${homepage}
 livecheck.regex	(20\[0-9\]+-\[0-9\]+-\[0-9\]+)

Added: trunk/dports/audio/abcMIDI/files/configure
===================================================================
--- trunk/dports/audio/abcMIDI/files/configure	                        (rev 0)
+++ trunk/dports/audio/abcMIDI/files/configure	2008-01-05 14:39:51 UTC (rev 32505)
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo "CC=${CC:-cc}" > config
+echo "CFLAGS=-DANSILIBS ${CFLAGS}" >> config
+echo "CPPFLAGS=${CPPFLAGS}" >> config
+echo "LDFLAGS=${LDFLAGS}" >> config
+echo "LNK=${CC:-cc} ${LDFLAGS}" >> config
+echo "INSTALL=${INSTALL:-install}" >> config
+echo "prefix=${PREFIX}:-/opt/local}" >> config
+

Added: trunk/dports/audio/abcMIDI/files/patch-makefile
===================================================================
--- trunk/dports/audio/abcMIDI/files/patch-makefile	                        (rev 0)
+++ trunk/dports/audio/abcMIDI/files/patch-makefile	2008-01-05 14:39:51 UTC (rev 32505)
@@ -0,0 +1,10 @@
+--- work/abcmidi/makefile	2006-09-28 20:17:04.000000000 +0200
++++ makefile	2008-01-05 15:31:36.000000000 +0100
+@@ -37,6 +37,7 @@
+ INSTALL=install
+ 
+ prefix=/usr/local
++include config
+ binaries=abc2midi midi2abc abc2abc mftext yaps midicopy abcmatch
+ 
+ docdir=share/doc/abcmidi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080105/85f37234/attachment.html


More information about the macports-changes mailing list