aboutsummaryrefslogtreecommitdiff
path: root/audio/mpc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpc')
-rw-r--r--audio/mpc/Makefile42
-rw-r--r--audio/mpc/distinfo6
2 files changed, 26 insertions, 22 deletions
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index a03f633f170c..e6d69d33d4e5 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -6,25 +6,30 @@
#
PORTNAME= mpc
-PORTVERSION= 0.12.1
+PORTVERSION= 0.15
CATEGORIES= audio ipv6
-MASTER_SITES= http://musicpd.org/uploads/files/
+MASTER_SITES= SF/musicpd
MAINTAINER= ports@mark.reidel.info
COMMENT= Command line client for the musicpd
+OPTIONS= ICONV "Support for international characters" on
+
USE_BZIP2= yes
GNU_CONFIGURE= yes
-OPTIONS= ICONV "Support for international characters" on \
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
-CFLAGS+= -I${PREFIX}/include
+PORTDOCS= AUTHORS README NEWS
-MAN1= mpc.1
+PLIST_FILES= bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-bashrc
+PLIST_DIRS= %%PORTEXAMPLES%%%%EXAMPLESDIR%%
-.include <bsd.port.pre.mk>
+MAN1= ${PORTNAME}.1
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
+.include <bsd.port.pre.mk>
.ifdef(WITHOUT_ICONV)
CONFIGURE_ARGS+=--disable-iconv
@@ -32,19 +37,18 @@ CONFIGURE_ARGS+=--disable-iconv
USE_ICONV= yes
.endif
-PLIST_FILES= bin/mpc %%EXAMPLESDIR%%/mpc-bashrc
-PLIST_DIRS= %%EXAMPLESDIR%%
-PORTDOCS= AUTHORS README
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+.ifndef(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-bashrc ${EXAMPLESDIR}
.endif
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/mpc-bashrc ${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${MAN1PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.post.mk>
diff --git a/audio/mpc/distinfo b/audio/mpc/distinfo
index 6dbe143c1697..d39a34221277 100644
--- a/audio/mpc/distinfo
+++ b/audio/mpc/distinfo
@@ -1,3 +1,3 @@
-MD5 (mpc-0.12.1.tar.bz2) = a93a390315aacfec061c8df89fb5e35f
-SHA256 (mpc-0.12.1.tar.bz2) = 76e151048a736cf490630ace4909f2d4b65f1afe2447c7fd794d270eb956e045
-SIZE (mpc-0.12.1.tar.bz2) = 93293
+MD5 (mpc-0.15.tar.bz2) = 48897aeb3a7ee5c64f30e56789f105a8
+SHA256 (mpc-0.15.tar.bz2) = 7b549ca4af77fc5b0472df1ecd9e76d2f8415258ddcfb63dfa64a55a04e1e590
+SIZE (mpc-0.15.tar.bz2) = 103505