freebsd-ports/audio/mpdscribble/Makefile
Sunpoet Po-Chuan Hsieh c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Stepan Zastupov [RedChrom] <redchrom@gmail.com>
# $FreeBSD$
PORTNAME= mpdscribble
PORTVERSION= 0.22
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Musicpd last.fm client
LICENSE= GPLv2
LIB_DEPENDS+= mpdclient.2:${PORTSDIR}/audio/libmpdclient
USE_BZIP2= yes
USE_GNOME= glib20 pkgconfig
GNU_CONFIGURE= yes
USE_RC_SUBR= mpdscribble
MAN1= mpdscribble.1
OPTIONS_DEFINE= SOUP DOCS
SOUP_DESC= Use libsoup instead of libcurl
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOUP}
LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
CONFIGURE_ARGS+= --with-http-client=soup
.else
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --with-http-client=curl
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${PREFIX}/bin/mpdscribble
${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${MANPREFIX}/man/man1/mpdscribble.1
${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${PREFIX}/etc/mpdscribble.conf.sample
.if !exists(${PREFIX}/etc/mpdscribble.conf)
@(cd ${PREFIX}/etc && ${CP} mpdscribble.conf.sample mpdscribble.conf)
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>