36 lines
894 B
Makefile
36 lines
894 B
Makefile
# $OpenBSD: Makefile,v 1.7 2019/01/08 19:03:21 landry Exp $
|
|
|
|
COMMENT = mpd client to scrobble track info to last.fm
|
|
|
|
V = 0.22
|
|
DISTNAME = mpdscribble-$V
|
|
REVISION = 2
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = https://www.musicpd.org/clients/mpdscribble/
|
|
|
|
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c curl glib-2.0 intl mpdclient
|
|
|
|
MASTER_SITES = http://www.musicpd.org/download/mpdscribble/$V/
|
|
|
|
LIB_DEPENDS = net/curl \
|
|
devel/glib2 \
|
|
audio/libmpdclient
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --with-http-client=curl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${PREFIX}/bin/mpdscribble
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${PREFIX}/man/man1/mpdscribble.1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpdscribble
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${PREFIX}/share/doc/mpdscribble
|
|
|
|
.include <bsd.port.mk>
|