1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/lopster/Makefile
Emanuel Haupt 09f6cf8bee Reset maintainer, does not respond to mails for 19 days. Since a few
days his MTA also remains unresponsive [1].

[1] Unable to deliver to destination domain
    Failed to deliver to domain oven.org after 73 tries.
    The last error was:
    CantConnectToHost

Approved by:	portmgr (linimon)
2005-10-28 17:05:15 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: lopster
# Date created: 19 Oct 2000
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= lopster
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://lopster.sourceforge.net/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ client for Napster
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-pthread=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libogg.so.4)
WITH_OGG= yes
.endif
.if defined(WITH_OGG)
LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg
.endif
.if !defined(WITHOUT_ZLIB)
CONFIGURE_ARGS+= --with-zlib=yes
.else
CONFIGURE_ARGS+= --with-zlib=no
.endif
pre-everything::
.ifndef WITH_OGG
@${ECHO_MSG} "You can specify WITH_OGG to include Ogg support"
.endif
.ifndef WITHOUT_ZLIB
@${ECHO_MSG} "You can specify WITHOUT_ZLIB to disable compression for old servers"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
.include <bsd.port.post.mk>