freebsd-ports/audio/lopster/Makefile
Edwin Groothuis 91256c15ab Date: Wed, 10 Mar 2004 23:30:56 -0800 (PST)
From: Roman Shterenzon <romanbsd@yahoo.com>
To: ports@freebsd.org
Subject: e-mail change

The email address roman@xpert.com is no longer valid.
Please update ports' maintainer to ports@oven.org.

Submitted by:	Roman Shterenzon <romanbsd@yahoo.com>
2004-03-12 00:32:23 +00:00

43 lines
949 B
Makefile

# 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= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@oven.org
COMMENT= GTK+ client for Napster
GNU_CONFIGURE= yes
USE_GETTEXT= 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"
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libogg.so.4)
WITH_LIBOGG= yes
.endif
.if defined(WITH_LIBOGG)
LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg
.endif
pre-everything::
@${ECHO_MSG} "You can specify WITH_LIBOGG to include Ogg support"
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
.include <bsd.port.post.mk>