- Update to 0.19

PR:		ports/149931
Submitted by:	David Demelier <markand at malikania.fr>
Approved by:	maintainer timeout
This commit is contained in:
Alexander Logvinov 2010-09-12 01:25:48 +00:00
parent 901b86a525
commit 6317087f5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261004
2 changed files with 20 additions and 7 deletions

View file

@ -6,17 +6,20 @@
#
PORTNAME= mpc
PORTVERSION= 0.17
PORTVERSION= 0.19
CATEGORIES= audio ipv6
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@mark.reidel.info
COMMENT= Command line client for the musicpd
LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient
OPTIONS= ICONV "Support for international characters" on
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
@ -24,10 +27,15 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
PORTDOCS= AUTHORS README NEWS
PLIST_FILES= bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-bashrc
PLIST_DIRS= %%PORTEXAMPLES%%%%EXAMPLESDIR%%
PLIST_FILES= bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-completion.bash
.ifndef(NOPORTEXAMPLES)
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
.ifndef(NO_INSTALL_MANPAGES)
MAN1= ${PORTNAME}.1
.endif
.include <bsd.port.pre.mk>
@ -37,6 +45,9 @@ CONFIGURE_ARGS+=--disable-iconv
USE_ICONV= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lintl|-liconv|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
.ifndef(NOPORTDOCS)
@ -47,8 +58,10 @@ do-install:
.endif
.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-bashrc ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-completion.bash ${EXAMPLESDIR}
.endif
.ifndef(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (mpc-0.17.tar.bz2) = 3f642c2c2ad7a57a9be7a03351c8c558
SHA256 (mpc-0.17.tar.bz2) = 24e9ef0f0fcfb776cfe802aa2b49469c552018516062c17620cf0af2687911a7
SIZE (mpc-0.17.tar.bz2) = 104465
MD5 (mpc-0.19.tar.bz2) = 9ab2967d9ec719b06a86f3b4121be654
SHA256 (mpc-0.19.tar.bz2) = 8fe9e1ce16f5a66653fa85706d22ceb9472827c28a56e2f7cf4c41a0a4931d17
SIZE (mpc-0.19.tar.bz2) = 98036