aboutsummaryrefslogtreecommitdiff
path: root/audio/musicpc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-08-04 15:59:59 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-08-04 15:59:59 +0000
commit765962e63644d051d289df4c661e1d7f977a1b02 (patch)
tree21ca22511cd4cdd54f6d05e0d3abb708b5ce4919 /audio/musicpc
parentbb159f79c2dd7aeb777c86982ce226fd199164b6 (diff)
downloadports-765962e63644d051d289df4c661e1d7f977a1b02.tar.gz
ports-765962e63644d051d289df4c661e1d7f977a1b02.zip
- Fix build on FreeBSD 9.x
- Take maintainership - Add USES=autoreconf - Update WWW homepage PR: 211250 Submitted by: Zsolt Udvari MFH: 2016Q3
Notes
Notes: svn path=/head/; revision=419626
Diffstat (limited to 'audio/musicpc')
-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/