1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name lopster |
---|
5 | version 1.2.2 |
---|
6 | categories net |
---|
7 | maintainers mellon85@gmail.com |
---|
8 | description GTK+ Open Napster client |
---|
9 | homepage http://lopster.sourceforge.net/ |
---|
10 | platforms darwin freebsd |
---|
11 | |
---|
12 | long_description Lopster is a Napster Client developed in C using the GTK user interface. \ |
---|
13 | Napster is a protocol for sharing MP3 files between users. With Napster, \ |
---|
14 | the files stay on the client machine, never passing through the server. \ |
---|
15 | The server provides the ability to search for particular files and \ |
---|
16 | initiate a direct transfer between the clients. In addition, chat forums \ |
---|
17 | similar to IRC are available. |
---|
18 | |
---|
19 | master_sites sourceforge http://lopster.sourceforge.net/download/lopster-1.2.2.tar.gz |
---|
20 | |
---|
21 | checksums md5 ae857116eddd01f1f7d2769908a142c0 |
---|
22 | |
---|
23 | patchfiles patch-global.c patch-mtypes.c patch-wizard.c |
---|
24 | |
---|
25 | depends_lib lib:libgtk.1:gtk1 |
---|
26 | |
---|
27 | variant ogg { configure.args-delete --without-ogg |
---|
28 | configure.args-append --with-ogg=${prefix} |
---|
29 | depends_lib-append lib:libogg:libogg |
---|
30 | } |
---|
31 | |
---|
32 | variant flac { configure.args-delete --without-flac |
---|
33 | configure.args-append --with-flac=${prefix} |
---|
34 | depends_lib-append lib:flac:libFLAC |
---|
35 | } |
---|
36 | |
---|
37 | configure.env CFLAGS="-O2 -pipe" |
---|
38 | |
---|
39 | configure.args --prefix=${prefix} --without-ogg --without-flac --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info |
---|
40 | |
---|
41 | |
---|
42 | destroot.destdir prefix=${destroot}${prefix} |
---|