aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lopster/Makefile
blob: 26a4c45b65c5024bcbc032976f6e1a40fe944b80 (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
# New ports collection makefile for:    lopster
# Date created:     19 Oct 2000
# Whom:         Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   lopster
PORTVERSION=    1.2.0
PORTREVISION=   0
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= roman@xpert.com
COMMENT=    GTK+ client for Napster

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
CONFIGURE_ARGS= --with-pthread=yes --with-zlib=yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure

.include <bsd.port.mk>