[28995] trunk/dports/audio/mp3info
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 12 15:48:28 PDT 2007
Revision: 28995
http://trac.macosforge.org/projects/macports/changeset/28995
Author: nox at macports.org
Date: 2007-09-12 15:48:28 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
mp3info:
* Updated to 0.8.5a.
* Added universal support.
* Fixed build and lib dependencies.
* Added standard doc install.
* Added sha1 and rmd160 checksums.
Modified Paths:
--------------
trunk/dports/audio/mp3info/Portfile
Removed Paths:
-------------
trunk/dports/audio/mp3info/files/
Modified: trunk/dports/audio/mp3info/Portfile
===================================================================
--- trunk/dports/audio/mp3info/Portfile 2007-09-12 22:33:44 UTC (rev 28994)
+++ trunk/dports/audio/mp3info/Portfile 2007-09-12 22:48:28 UTC (rev 28995)
@@ -3,8 +3,7 @@
PortSystem 1.0
name mp3info
-version 0.8.4
-revision 3
+version 0.8.5a
categories audio
platforms darwin
maintainers nomaintainer
@@ -18,23 +17,41 @@
master_sites sunsite:apps/sound/mp3-utils/${name}
extract.suffix .tgz
-checksums md5 879d0ced8ede5ec9fbaff4813851ea3f
+checksums md5 cb7b619a10a40aaac2113b87bb2b2ea2 \
+ sha1 54df29eb6c2e581899affc12be698b0a71d91ca6 \
+ rmd160 898b566d9ba2f352949d061d991d92f2c8996ec3
-patchfiles patch-Makefile
+depends_lib port:ncurses
+configure {
+ reinplace -E "s|(LIBS =)|\\1 ${configure.ldflags}|" ${worksrcpath}/Makefile
+}
+
build.target mp3info
-configure {
- cd ${worksrcpath}
- reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile
+destroot.target install-mp3info
+destroot.args INSTALL=/usr/bin/install
+destroot.destdir prefix=${destroot}${prefix} \
+ mandir=${destroot}${prefix}/share/man/man1 \
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} ChangeLog LICENSE README mp3info.txt mp3info.html \
+ ${destroot}${docdir}
}
-destroot.target install-mp3info
+variant gtk description {Enable GTK user interface} {
+ depends_build-append port:pkgconfig
+ depends_lib-append port:gtk1
-variant x11 {
- depends_lib-append port:gtk1
- patchfiles-append patch-gmp3info.c
- build.target all
- destroot.target install
+ build.target all
+ destroot.target install
}
+variant universal {
+ post-configure {
+ reinplace -E "/^CFLAGS/s|\$| [join ${configure.universal_cflags} " "]|" ${worksrcpath}/Makefile
+ }
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/853dc80a/attachment.html
More information about the macports-changes
mailing list