aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-08-04 23:59:59 +0800
committerpawel <pawel@FreeBSD.org>2016-08-04 23:59:59 +0800
commit0ee15b17e9ce9c9b75cfd0d043a74516bb94f923 (patch)
tree21ca22511cd4cdd54f6d05e0d3abb708b5ce4919 /audio
parent2306c67f9a5c0978965bd57fc0db8736fd0cc34b (diff)
downloadfreebsd-ports-gnome-0ee15b17e9ce9c9b75cfd0d043a74516bb94f923.tar.gz
freebsd-ports-gnome-0ee15b17e9ce9c9b75cfd0d043a74516bb94f923.tar.zst
freebsd-ports-gnome-0ee15b17e9ce9c9b75cfd0d043a74516bb94f923.zip
- Fix build on FreeBSD 9.x
- Take maintainership - Add USES=autoreconf - Update WWW homepage PR: 211250 Submitted by: Zsolt Udvari MFH: 2016Q3
Diffstat (limited to 'audio')
-rw-r--r--audio/musicpc/Makefile9
-rw-r--r--audio/musicpc/pkg-descr2
2 files changed, 4 insertions, 7 deletions
diff --git a/audio/musicpc/Makefile b/audio/musicpc/Makefile
index daa42d4e8ad6..ab34bfea6d81 100644
--- a/audio/musicpc/Makefile
+++ b/audio/musicpc/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= audio ipv6
MASTER_SITES= http://www.musicpd.org/download/mpc/0/
DISTNAME= mpc-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= udvzsolt@gmail.com
COMMENT= Command line client for the musicpd
LICENSE= GPLv2+
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
-USES= pkgconfig tar:xz
+USES= autoreconf iconv pkgconfig tar:xz
GNU_CONFIGURE= yes
PLIST_FILES= bin/mpc man/man1/mpc.1.gz
@@ -27,12 +27,9 @@ OPTIONS_DEFINE= EXAMPLES DOCS ICONV
OPTIONS_DEFAULT= ICONV
ICONV_USES= iconv
-ICONV_LDFLAGS= ${ICONV_LIB}
+ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB}
ICONV_CONFIGURE_ENABLE= iconv
-post-patch:
- @${REINPLACE_CMD} -e 's|-lintl|${ICONV_LIB}|g' ${WRKSRC}/configure
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/audio/musicpc/pkg-descr b/audio/musicpc/pkg-descr
index 071066e6f649..679ba4596e67 100644
--- a/audio/musicpc/pkg-descr
+++ b/audio/musicpc/pkg-descr
@@ -1,4 +1,4 @@
A client for MPD, the Music Player Daemon.
mpc connects to a MPD running on a machine via a network.
-WWW: http://www.musicpd.org/
+WWW: https://www.musicpd.org/clients/mpc/