aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Blach <gblach@FreeBSD.org>2013-11-26 20:35:14 +0000
committerGrzegorz Blach <gblach@FreeBSD.org>2013-11-26 20:35:14 +0000
commitab04541320fa38302614ef8ccfa9d81e9c68ce73 (patch)
treec5384324d488383e4840b162b239b810b53931fa
parent4268d65e1330c2b16b02c14936cabe32730c6713 (diff)
downloadports-ab04541320fa38302614ef8ccfa9d81e9c68ce73.tar.gz
ports-ab04541320fa38302614ef8ccfa9d81e9c68ce73.zip
Notes
-rw-r--r--audio/musicpc/Makefile25
-rw-r--r--audio/musicpc/distinfo4
2 files changed, 13 insertions, 16 deletions
diff --git a/audio/musicpc/Makefile b/audio/musicpc/Makefile
index d124e0770e9f..29c259512686 100644
--- a/audio/musicpc/Makefile
+++ b/audio/musicpc/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= musicpc
-PORTVERSION= 0.22
+PORTVERSION= 0.25
CATEGORIES= audio ipv6
-MASTER_SITES= SF/musicpd/mpc/${PORTVERSION}/
+MASTER_SITES= http://musicpd.org/download/mpc/0/
DISTNAME= mpc-${PORTVERSION}
MAINTAINER= gblach@FreeBSD.org
@@ -18,19 +18,16 @@ OPTIONS_DEFINE= EXAMPLES DOCS ICONV
OPTIONS_DEFAULT= ICONV
USES= pkgconfig
-NO_STAGE= yes
-USE_BZIP2= yes
+USE_XZ= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
-MAN1= mpc.1
+PLIST_FILES= bin/mpc man/man1/mpc.1.gz
PORTDOCS= AUTHORS README NEWS
PORTEXAMPLES= *
-PLIST_FILES= bin/mpc
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MICONV}
@@ -44,18 +41,18 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lintl|${ICONV_LIB}|g' ${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash \
+ ${STAGEDIR}${EXAMPLESDIR}
.endif
- ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
-
.include <bsd.port.mk>
diff --git a/audio/musicpc/distinfo b/audio/musicpc/distinfo
index 6e1053be24ca..ce8f988c38c6 100644
--- a/audio/musicpc/distinfo
+++ b/audio/musicpc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mpc-0.22.tar.bz2) = cc42811d7ed8e65d50a0aaf1edf29597e3e264b06026b40da88a8a763a2dd334
-SIZE (mpc-0.22.tar.bz2) = 102296
+SHA256 (mpc-0.25.tar.xz) = 70cfa4f734a275a3c76df481ec5222872362ed8f58a4175459cae65d66acaf24
+SIZE (mpc-0.25.tar.xz) = 100880