aboutsummaryrefslogtreecommitdiff
path: root/audio/libmpdclient/Makefile
diff options
context:
space:
mode:
authorGrzegorz Blach <gblach@FreeBSD.org>2017-07-25 09:09:04 +0000
committerGrzegorz Blach <gblach@FreeBSD.org>2017-07-25 09:09:04 +0000
commit9a3ed3d8a51300d100deb777668b156918942333 (patch)
treeb9ebe3a67c7994f701702f259f46517398d1c166 /audio/libmpdclient/Makefile
parente9bef0ebb9196ebb2abee88aaeb283946bc6922a (diff)
- Update to 2.13
- Switch to meson build system - Set LICENSE=BSD3CLAUSE
Notes
Notes: svn path=/head/; revision=446564
Diffstat (limited to 'audio/libmpdclient/Makefile')
-rw-r--r--audio/libmpdclient/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/audio/libmpdclient/Makefile b/audio/libmpdclient/Makefile
index d5748ee88657..549f85128fc5 100644
--- a/audio/libmpdclient/Makefile
+++ b/audio/libmpdclient/Makefile
@@ -2,23 +2,29 @@
# $FreeBSD$
PORTNAME= libmpdclient
-PORTVERSION= 2.11
+PORTVERSION= 2.13
CATEGORIES= audio
MASTER_SITES= http://www.musicpd.org/download/libmpdclient/2/
MAINTAINER= gblach@FreeBSD.org
COMMENT= API library for interfacing MPD
-GNU_CONFIGURE= yes
-USES= tar:xz gmake libtool pathfix
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= tar:xz meson
USE_LDCONFIG= yes
-INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_SUB= yes
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
-DOXYGEN_CONFIGURE_OFF= --disable-documentation
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MDOXYGEN}
+MESON_ARGS+= -Ddocumentation=true
+.endif
+
+.include <bsd.port.post.mk>