[49103] trunk/dports/audio/libsndfile/Portfile

perry at macports.org perry at macports.org
Fri Apr 3 16:57:42 PDT 2009


Revision: 49103
          http://trac.macports.org/changeset/49103
Author:   perry at macports.org
Date:     2009-04-03 16:57:42 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
audio/libsndfile - Bumped the revision to 2. [Addresses Ticket #19158]
* Added --disable-octave to the default configure.args.
* Added a new variant (octave).

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

Modified: trunk/dports/audio/libsndfile/Portfile
===================================================================
--- trunk/dports/audio/libsndfile/Portfile	2009-04-03 23:53:24 UTC (rev 49102)
+++ trunk/dports/audio/libsndfile/Portfile	2009-04-03 23:57:42 UTC (rev 49103)
@@ -4,7 +4,7 @@
 
 name                libsndfile
 version             1.0.19
-revision            1
+revision            2
 categories          audio
 maintainers         perry
 platforms           darwin
@@ -22,7 +22,8 @@
 
 checksums           rmd160 027d53e55b6d01c78aba31ed239fd2f0d2f752b5
 
-configure.args      --disable-alsa --disable-sqlite --enable-external-libs
+configure.args \
+    --disable-alsa --disable-octave --disable-sqlite --enable-external-libs
 
 post-configure {
     system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
@@ -39,6 +40,14 @@
     configure.args-delete --enable-external-libs
 }
 
+variant octave description {Enable support for GNU Octave} {
+    depends_build-append port:gsed
+    depends_lib-append   port:octave
+
+    configure.args-append --enable-octave
+    configure.args-delete --disable-octave
+}
+
 variant sqlite description {Enable support for SQLite} {
     depends_lib-append port:sqlite3
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/b82f86b7/attachment.html>


More information about the macports-changes mailing list