diff --git a/audio/mpdas/Makefile b/audio/mpdas/Makefile index 9cd3dd1bb4c7..c48e360734a9 100644 --- a/audio/mpdas/Makefile +++ b/audio/mpdas/Makefile @@ -1,19 +1,20 @@ -# $NetBSD: Makefile,v 1.34 2021/11/26 15:23:04 pho Exp $ +# $NetBSD: Makefile,v 1.35 2021/11/30 10:34:58 pho Exp $ # -DISTNAME= mpdas-0.3.2 -PKGREVISION= 20 +DISTNAME= mpdas-0.4.5 CATEGORIES= audio MASTER_SITES= http://50hz.ws/mpdas/ MAINTAINER= gls@NetBSD.org HOMEPAGE= https://50hz.ws/mpdas/ -COMMENT= Mpdas is an AudioScrobbler client for MPD written in C++ +COMMENT= AudioScrobbler client for MPD written in C++ LICENSE= modified-bsd USE_TOOLS+= pkg-config USE_LANGUAGES= c++03 +MAKE_FLAGS+= MANPREFIX="${PREFIX}/${PKGMANDIR}/man1" + INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${DOCDIR} ${EGDIR} RCD_SCRIPTS= mpdas DOCDIR= share/doc/mpdas @@ -28,7 +29,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/mpdasrc.example \ ${DESTDIR}${PREFIX}/${EGDIR} -.include "../../audio/libmpd/buildlink3.mk" -.include "../../devel/glib2/buildlink3.mk" +.include "../../audio/libmpdclient/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/mpdas/distinfo b/audio/mpdas/distinfo index f1a0c8c7c675..1f1052d847da 100644 --- a/audio/mpdas/distinfo +++ b/audio/mpdas/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 09:59:16 nia Exp $ +$NetBSD: distinfo,v 1.8 2021/11/30 10:34:58 pho Exp $ -BLAKE2s (mpdas-0.3.2.tar.gz) = 93b070b6d4b9dcbbedf79829949ea21cdabc36d201cf51a22de7a7c0301d1203 -SHA512 (mpdas-0.3.2.tar.gz) = b7bc6a78d9a531684a0b59d6e5b6b9701948d10650f567bfebd7eb408d4f22b8c5aed4ddd9b08968aca828ae59b22404bb19c552fc25cf50cdf8adbd7cd77771 -Size (mpdas-0.3.2.tar.gz) = 14143 bytes -SHA1 (patch-Makefile) = c4f684b4e06699615f31c2a9297421c059af6d1f +BLAKE2s (mpdas-0.4.5.tar.gz) = 97c909ed6d2d2d855d6c5b1fbdeb2c115e6d671dc77c94e4db7ad6bed3a3f365 +SHA512 (mpdas-0.4.5.tar.gz) = 18737f20b408a38424c46a611a1184e8e9ab78d1c3bddddc37423c8437007b87c343dfe03fd989c9c54dcc532ed1f567ba854d2ba8e12f344399267dc83daaab +Size (mpdas-0.4.5.tar.gz) = 19108 bytes diff --git a/audio/mpdas/patches/patch-Makefile b/audio/mpdas/patches/patch-Makefile deleted file mode 100644 index 8b50f5fd189e..000000000000 --- a/audio/mpdas/patches/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-Makefile,v 1.3 2016/04/01 21:55:07 jperkin Exp $ - -Support PKGMANDIR. - ---- Makefile.orig 2014-09-26 13:34:00.000000000 +0000 -+++ Makefile -@@ -4,7 +4,7 @@ CXX ?= g++ - OBJ = main.o md5.o utils.o mpd.o audioscrobbler.o cache.o config.o - OUT = mpdas - PREFIX ?= /usr/local --MANPREFIX ?= ${PREFIX}/man/man1 -+MANPREFIX ?= ${PREFIX}/${PKGMANDIR}/man1 - CONFIG ?= $(PREFIX)/etc - - CXXFLAGS += `pkg-config --cflags libmpd libcurl`