openbsd-ports/audio/pianobar/Makefile
dcoppa 402fb03e7c Fix false bookmarking error message
(upstream commit c5a89908b05126fd59ea7d4fd42d9570a2ca6228)
2011-07-18 15:04:08 +00:00

57 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2011/07/18 15:04:08 dcoppa Exp $
COMMENT = console client for pandora
DISTNAME = pianobar-2011.07.09
REVISION = 1
EXTRACT_SUFX = .tar.bz2
CATEGORIES = audio
MAINTAINER = David Coppa <dcoppa@openbsd.org>
HOMEPAGE = http://6xq.net/html/00/17.html
MASTER_SITES = http://6xq.net/media/00/16/
SHARED_ONLY = Yes
SHARED_LIBS = piano 0.0 # 0.0.0
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ao c faad m mad pthread
LIB_DEPENDS = audio/libao \
audio/faad \
audio/libmad
CFLAGS += -I${LOCALBASE}/include
.if !defined(DEBUG)
CFLAGS += -DNDEBUG
.endif
MAKE_FLAGS = DYNLINK=1 \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBpiano_VERSION="${LIBpiano_VERSION}" \
MANDIR="${PREFIX}/man"
FAKE_FLAGS = PREFIX="${PREFIX}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
USE_GMAKE = Yes
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pianobar
${INSTALL_DATA} ${WRKSRC}/contrib/config-example \
${PREFIX}/share/examples/pianobar/config
.include <bsd.port.mk>