Ticket #18381: Portfile.2

File Portfile.2, 1.5 KB (added by mail@…, 15 years ago)
Line 
1# $Id:
2
3PortSystem 1.0
4
5name                mp3fs
6version             0.13
7categories          fuse
8platforms           darwin
9
10maintainers         mail@uwe-arzt.de
11
12description         A flac to mp3 (read-only) filesystem for FUSE
13long_description    This is a file system for converting flac files \
14                    to mp3 files on the fly. This is useful, if you \
15                    archive your music in flac format, but some \
16                    program (i.e. iTunes) are not capable reading \
17                    flac, but mp3.
18
19homepage            http://mp3fs.sourceforge.net/
20
21distname            mp3fs-${version}
22master_sites        sourceforge:mp3fs
23checksums           ${distfiles} md5 fb9b5eb4fb6f69f35430ff7e93a84e0b \
24                                 sha1 b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74
25
26livecheck.distname  mp3fs
27
28depends_lib         port:macfuse \
29                    port:flac \
30                    port:pkgconfig \
31                    port:lame \
32                    port:libid3tag
33
34
35configure.post_args-append  "id3tag_CFLAGS=-I/opt/local/include id3tag_LIBS='-L/opt/local/lib /opt/local/lib/libid3tag.dylib'"
36
37platform darwin {
38    patch_sites         http://www.uwe-arzt.de/files/mp3fs
39    patchfiles          mp3fs-${version}-macosx.patch
40    checksums-append    mp3fs-${version}-macosx.patch md5 3c14c714c9ff9fc39586cfb50ac6f3d2 \
41                                                      sha1 3f46e4292a0dac0b0f9d3b8f01b76ff3315b3169
42   
43    # override patch.pre_args since it defaults to -p0
44    patch.pre_args -R -p1
45}