ports/131815: [PATCH] audio/mpc: update to 0.15

Alexander Logvinov ports at logvinov.com
Wed Feb 18 14:10:06 UTC 2009


>Number:         131815
>Category:       ports
>Synopsis:       [PATCH] audio/mpc: update to 0.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 18 14:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.4-RELEASE i386
>Organization:
>Environment:

>Description:

  Update to 0.15.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/mpc/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	21 Aug 2008 06:16:17 -0000	1.14
+++ Makefile	18 Feb 2009 02:39:50 -0000
@@ -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 at 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 @@
 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>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/audio/mpc/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	20 Apr 2007 21:08:07 -0000	1.9
+++ distinfo	18 Feb 2009 02:22:48 -0000
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list