# $Id: Portfile,v 1.1 2005/11/21 01:37:26 yeled Exp $

PortSystem      1.0
name            lopster
version         1.2.2
categories      net
maintainers     mellon85@gmail.com
description     GTK+ Open Napster client
homepage        http://lopster.sourceforge.net/
platforms       darwin freebsd

long_description  Lopster is a Napster Client developed in C using the GTK user interface. \
        Napster is a protocol for sharing MP3 files between users. With Napster, \
        the files stay on the client machine, never passing through the server. \
        The server provides the ability to search for particular files and \
        initiate a direct transfer between the clients. In addition, chat forums \
        similar to IRC are available.

master_sites    sourceforge  http://lopster.sourceforge.net/download/

checksums   md5 ae857116eddd01f1f7d2769908a142c0

patchfiles patch-global.c patch-mtypes.c patch-wizard.c

depends_lib  port:gtk1 port:flac port:libogg

configure.env CFLAGS="-O2 -pipe"

configure.args --without-ogg --without-flac --mandir=\\\${prefix}/share/man \
				--infodir=\\\${prefix}/share/info --with-ogg=${prefix} \
				--with-flac=${prefix}

destroot.destdir prefix=${destroot}${prefix}
