diff options
author | Alexander Logvinov <avl@FreeBSD.org> | 2010-09-12 01:25:48 +0000 |
---|---|---|
committer | Alexander Logvinov <avl@FreeBSD.org> | 2010-09-12 01:25:48 +0000 |
commit | 6317087f5facacf5f9db0006dbbb0f688be78e4f (patch) | |
tree | e4bb9600db29dfedb0beff37575179ec3f8b2438 /audio/mpc | |
parent | 901b86a525efb59cec6bc8ceda24f447e43f982f (diff) | |
download | ports-6317087f5facacf5f9db0006dbbb0f688be78e4f.tar.gz ports-6317087f5facacf5f9db0006dbbb0f688be78e4f.zip |
Notes
Diffstat (limited to 'audio/mpc')
-rw-r--r-- | audio/mpc/Makefile | 21 | ||||
-rw-r--r-- | audio/mpc/distinfo | 6 |
2 files changed, 20 insertions, 7 deletions
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile index 8bfe97718a74..f5557b2c1a8c 100644 --- a/audio/mpc/Makefile +++ b/audio/mpc/Makefile @@ -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> diff --git a/audio/mpc/distinfo b/audio/mpc/distinfo index 90af47a0130b..a32de893e00c 100644 --- a/audio/mpc/distinfo +++ b/audio/mpc/distinfo @@ -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 |