Ticket #4150: Portfile

File Portfile, 1.5 KB (added by mellon85@…, 19 years ago)

Portfile

Line 
1# $Id: $
2
3PortSystem      1.0
4name            lopster
5version         1.2.2
6categories      net
7maintainers     mellon85@gmail.com
8description     GTK+ Open Napster client
9homepage        http://lopster.sourceforge.net/
10platforms       darwin freebsd
11
12long_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
19master_sites    sourceforge  http://lopster.sourceforge.net/download/lopster-1.2.2.tar.gz
20
21checksums   md5 ae857116eddd01f1f7d2769908a142c0
22
23patchfiles patch-global.c patch-mtypes.c patch-wizard.c
24
25depends_lib  lib:libgtk.1:gtk1
26
27variant ogg { configure.args-delete --without-ogg
28              configure.args-append --with-ogg=${prefix}
29              depends_lib-append lib:libogg:libogg
30            }
31
32variant flac { configure.args-delete --without-flac
33               configure.args-append --with-flac=${prefix}
34               depends_lib-append lib:flac:libFLAC
35             }
36
37configure.env CFLAGS="-O2 -pipe"
38
39configure.args --prefix=${prefix} --without-ogg --without-flac --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info
40
41
42destroot.destdir prefix=${destroot}${prefix}