2000-10-19 09:01:32 +02:00
|
|
|
# New ports collection makefile for: lopster
|
|
|
|
# Date created: 19 Oct 2000
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lopster
|
2005-04-04 13:52:30 +02:00
|
|
|
PORTVERSION= 1.2.2
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2007-01-28 14:50:34 +01:00
|
|
|
CATEGORIES= net-p2p
|
2005-07-31 11:10:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://lopster.sourceforge.net/download/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-10-19 09:01:32 +02:00
|
|
|
|
2005-10-28 19:05:15 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= GTK+ client for Napster
|
2000-10-19 09:01:32 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2002-08-31 02:13:25 +02:00
|
|
|
USE_GNOME= gtk12
|
2005-07-31 11:10:14 +02:00
|
|
|
CONFIGURE_ARGS= --with-pthread=yes
|
2001-05-30 17:33:32 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2000-10-19 09:01:32 +02:00
|
|
|
|
2003-05-12 16:44:04 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/lib/libogg.so.4)
|
2005-10-14 12:20:32 +02:00
|
|
|
WITH_OGG= yes
|
2003-05-12 16:44:04 +02:00
|
|
|
.endif
|
|
|
|
|
2005-10-14 12:20:32 +02:00
|
|
|
.if defined(WITH_OGG)
|
2003-12-20 17:14:14 +01:00
|
|
|
LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg
|
2003-05-12 16:44:04 +02:00
|
|
|
.endif
|
|
|
|
|
2005-07-31 11:10:14 +02:00
|
|
|
.if !defined(WITHOUT_ZLIB)
|
|
|
|
CONFIGURE_ARGS+= --with-zlib=yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-zlib=no
|
|
|
|
.endif
|
|
|
|
|
2003-05-12 16:44:04 +02:00
|
|
|
pre-everything::
|
2005-10-14 12:20:32 +02:00
|
|
|
.ifndef WITH_OGG
|
|
|
|
@${ECHO_MSG} "You can specify WITH_OGG to include Ogg support"
|
2005-07-31 11:10:14 +02:00
|
|
|
.endif
|
|
|
|
.ifndef WITHOUT_ZLIB
|
|
|
|
@${ECHO_MSG} "You can specify WITHOUT_ZLIB to disable compression for old servers"
|
|
|
|
.endif
|
2003-05-12 16:44:04 +02:00
|
|
|
|
2003-04-15 13:48:05 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
|
|
|
|
2003-05-12 16:44:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|