[65383] trunk/dports/net/mediatomb/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Mar 25 15:22:07 PDT 2010
Revision: 65383
http://trac.macports.org/changeset/65383
Author: ryandesign at macports.org
Date: 2010-03-25 15:22:06 -0700 (Thu, 25 Mar 2010)
Log Message:
-----------
mediatomb: add archcheck portgroup; see #19691
Modified Paths:
--------------
trunk/dports/net/mediatomb/Portfile
Modified: trunk/dports/net/mediatomb/Portfile
===================================================================
--- trunk/dports/net/mediatomb/Portfile 2010-03-25 22:13:44 UTC (rev 65382)
+++ trunk/dports/net/mediatomb/Portfile 2010-03-25 22:22:06 UTC (rev 65383)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup archcheck 1.0
name mediatomb
version 0.12.0
@@ -24,6 +25,14 @@
depends_lib port:libiconv port:zlib port:spidermonkey \
port:file port:curl port:libexif port:expat
+archcheck.files lib/libiconv.dylib \
+ lib/libz.dylib \
+ lib/libjs.dylib \
+ lib/libmagic.dylib \
+ lib/libcurl.dylib \
+ lib/libexif.dylib \
+ lib/libexpat.dylib
+
use_autoreconf yes
patchfiles patch-configure.ac.diff
@@ -40,12 +49,14 @@
variant sqlite3 description {Use SQLite 3 database} {
depends_lib-append port:sqlite3
+ archcheck.files-append lib/libsqlite3.dylib
configure.args-append --enable-sqlite3
configure.args-delete --disable-sqlite3
}
variant mysql4 conflicts mysql5 description {Use MySQL 4 database} {
depends_lib-append port:mysql4
+ archcheck.files-append lib/mysql/libmysqlclient.dylib
configure.args-append --enable-mysql \
--with-mysql-cfg=${prefix}/bin/mysql_config
configure.args-delete --disable-mysql
@@ -53,6 +64,7 @@
variant mysql5 conflicts mysql4 description {Use MySQL 5 database} {
depends_lib-append path:bin/mysql_config5:mysql5
+ archcheck.files-append lib/mysql5/mysql/libmysqlclient.dylib
configure.args-append --enable-mysql \
--with-mysql-cfg=${prefix}/bin/mysql_config5
configure.args-delete --disable-mysql
@@ -60,6 +72,7 @@
variant taglib conflicts id3lib description {Use TagLib for tag access} {
depends_lib-append port:taglib
+ archcheck.files-append lib/libtag.dylib
configure.args-append --enable-taglib \
--with-taglib-cfg=${prefix}/bin/taglib-config
configure.args-delete --disable-taglib
@@ -67,12 +80,14 @@
variant id3lib conflicts taglib description {Use id3lib for tag access} {
depends_lib-append port:id3lib
+ archcheck.files-append lib/libid3.dylib
configure.args-append --enable-id3lib
configure.args-delete --disable-id3lib
}
variant ffmpeg conflicts libextractor description {Use ffmpeg for gathering metadata} {
depends_lib-append path:lib/libavcodec.dylib:ffmpeg
+ archcheck.files-append lib/libavcodec.dylib
configure.args-append --enable-ffmpeg
configure.args-delete --disable-ffmpeg
}
@@ -83,6 +98,7 @@
variant libextractor conflicts ffmpeg description {Use libextractor for gathering metadata} {
depends_lib-append port:libextractor
+ archcheck.files-append lib/libextractor.dylib
configure.args-append --enable-libextractor
configure.args-delete --disable-libextractor
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100325/72e8065b/attachment.html>
More information about the macports-changes
mailing list