aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/lopster/Makefile
blob: 5824f935180aa42a6e87370db50a1f29d9f20b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$

PORTNAME=   lopster
PORTVERSION=    1.2.2
PORTREVISION=   13
CATEGORIES= net-p2p
MASTER_SITES=   SF \
        http://lopster.sourceforge.net/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK+ client for Napster and free alternatives

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

DEPRECATED= Unmaintained. Napster is dead
EXPIRATION_DATE=    2018-08-30

GNU_CONFIGURE=  yes
USES=       gmake
USE_GNOME=  gtk12
CONFIGURE_ARGS= --with-pthread=yes
LDFLAGS+=   -L${LOCALBASE}/lib
CPPFLAGS+=  -I${LOCALBASE}/include

OPTIONS_DEFINE= FLAC OGG ZLIB
OPTIONS_DEFAULT=    FLAC OGG ZLIB

FLAC_LIB_DEPENDS=   libFLAC.so:audio/flac
FLAC_CONFIGURE_WITH=    flac
OGG_LIB_DEPENDS=    libogg.so:audio/libogg
OGG_CONFIGURE_WITH= ogg
ZLIB_CONFIGURE_WITH=    zlib

post-patch:
    @${REINPLACE_CMD} -e "s/www.naplist.com/www.gotnap.com/" \
        ${WRKSRC}/src/lopster.h

.include <bsd.port.mk>