freebsd-ports/net-p2p/lopster/Makefile
John Marino f4d2e9d5d0 2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms

Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan.  Now it fails stage-QA
with a fs violation, but it may be acceptable.  Fixes added to both.

approved by:	PTHREAD blanket
2015-03-24 23:45:41 +00:00

50 lines
1.0 KiB
Makefile

# 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= conrads@cox.net
COMMENT= GTK+ client for Napster and free alternatives
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
.include <bsd.port.options.mk>
# --with-flac is on by default
.if ${PORT_OPTIONS:MFLAC}
LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac
.else
CONFIGURE_ARGS+= --without-flac
.endif
# --with-ogg is on by default
.if ${PORT_OPTIONS:MOGG}
LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg
.else
CONFIGURE_ARGS+= --without-ogg
.endif
# --with-zlib is on by default
.if ! ${PORT_OPTIONS:MZLIB}
CONFIGURE_ARGS+= --without-zlib
.endif
post-patch:
@${REINPLACE_CMD} -e "s/www.naplist.com/www.gotnap.com/" \
${WRKSRC}/src/lopster.h
.include <bsd.port.mk>