openbsd-ports/audio/pianobar/Makefile

62 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2012/05/10 11:23:18 dcoppa Exp $
2012-05-07 07:04:21 -04:00
SHARED_ONLY = Yes
COMMENT = console client for pandora
2012-05-07 07:04:21 -04:00
DISTNAME = pianobar-2012.05.06
REVISION = 0
EXTRACT_SUFX = .tar.bz2
CATEGORIES = audio
MAINTAINER = David Coppa <dcoppa@openbsd.org>
2011-11-28 09:11:25 -05:00
HOMEPAGE = http://6xq.net/projects/pianobar/
2012-05-07 07:04:21 -04:00
MASTER_SITES = ${HOMEPAGE} \
http://spacehopper.org/mirrors/
2012-05-07 07:04:21 -04:00
SHARED_LIBS = piano 1.1 # 0.0.0
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ao c faad gcrypt gnutls json m mad pthread
2011-11-28 09:11:25 -05:00
LIB_DEPENDS = audio/faad \
audio/libao \
audio/libmad \
devel/json-c \
security/gnutls>=2.10.0 \
security/libgcrypt
2011-03-14 08:28:57 -04:00
.if !defined(DEBUG)
CFLAGS += -DNDEBUG
.endif
2011-05-04 03:48:04 -04:00
MAKE_FLAGS = DYNLINK=1 \
2012-04-20 04:22:34 -04:00
CC=${CC} \
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
2012-05-07 07:04:21 -04:00
REGRESS_TARGET = test
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pianobar
${INSTALL_DATA} ${WRKSRC}/contrib/config-example \
${PREFIX}/share/examples/pianobar/config
2012-05-07 07:04:21 -04:00
pre-regress:
@touch ${WRKSRC}/src/libwaitress/waitress.c
.include <bsd.port.mk>