aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/