[48093] trunk/dports/audio/libsndfile/Portfile
perry at macports.org
perry at macports.org
Sat Mar 14 00:04:37 PDT 2009
Revision: 48093
http://trac.macports.org/changeset/48093
Author: perry at macports.org
Date: 2009-03-14 00:04:31 -0700 (Sat, 14 Mar 2009)
Log Message:
-----------
audio/libsndfile - Cleaned up the port and assigned the port to myself.
* Changed the formatting (e.g., tabs to spaces)
* Changed the checksum, descriptions, configure.args, etc.
Modified Paths:
--------------
trunk/dports/audio/libsndfile/Portfile
Modified: trunk/dports/audio/libsndfile/Portfile
===================================================================
--- trunk/dports/audio/libsndfile/Portfile 2009-03-14 06:52:07 UTC (rev 48092)
+++ trunk/dports/audio/libsndfile/Portfile 2009-03-14 07:04:31 UTC (rev 48093)
@@ -1,36 +1,34 @@
# $Id$
-PortSystem 1.0
-name libsndfile
-version 1.0.17
-revision 2
-categories audio
-maintainers nomaintainer
-description Library for reading and writing audio files
-long_description libsndfile is a C library for reading and writing \
- sound files such as AIFF, AU and WAV files through \
- one standard interface. It can currently read/write \
- 8, 16, 24 and 32-bit PCM files as well as 32-bit floating \
- point WAV files and a number of compressed formats.
-homepage http://www.mega-nerd.com/libsndfile/
-platforms darwin
-master_sites ${homepage}
-checksums md5 2d126c35448503f6dbe33934d9581f6b
-configure.args --mandir=${prefix}/share/man --disable-flac --disable-sqlite
+PortSystem 1.0
-variant sqlite {
- depends_lib port:sqlite3
- configure.args-delete --disable-sqlite
- configure.args-append --enable-sqlite
-}
+name libsndfile
+version 1.0.17
+revision 2
+categories audio
+maintainers perry
+platforms darwin
+description libsndfile is a C library for reading and writing files \
+ containing sampled sound (such as MS Windows WAV and the \
+ Apple/SGI AIFF format) through one standard library interface.
+long_description ${description}
+homepage http://www.mega-nerd.com/libsndfile/
+
+master_sites ${homepage}
+
+checksums rmd160 ae93822a4c587dcdd7c70d043d2a38ed2fe3a188
+
+configure.args --disable-alsa --disable-flac --disable-sqlite
+
post-configure {
- system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
+ system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
}
-variant flac {
- ui_error "The libsndfile port is not compatible with the current version of flac."
-# depends_lib port:flac
-# configure.args-delete --disable-flac
-# configure.args-append --enable-flac
+variant sqlite description {Enable support for SQLite} {
+ depends_build-append port:pkgconfig
+ depends_lib-append port:sqlite3
+
+ configure.args-append --enable-sqlite
+ configure.args-delete --disable-sqlite
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090314/a50fe518/attachment.html>
More information about the macports-changes
mailing list