From nemysis@gmx.ch  Sun Jun  2 22:18:42 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 685581E6
	for <freebsd-gnats-submit@freebsd.org>; Sun,  2 Jun 2013 22:18:42 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18])
	by mx1.freebsd.org (Postfix) with ESMTP id 151D11AE5
	for <freebsd-gnats-submit@freebsd.org>; Sun,  2 Jun 2013 22:18:42 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.1]) by mrigmx.server.lan
 (mrigmx001) with ESMTP (Nemesis) id 0Ltkst-1UJWBC0Zoz-011DKF for
 <FreeBSD-gnats-submit@freebsd.org>; Mon, 03 Jun 2013 00:18:35 +0200
Received: (qmail invoked by alias); 02 Jun 2013 22:18:34 -0000
Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5]
  by mail.gmx.net (mp001) with SMTP; 03 Jun 2013 00:18:34 +0200
Received: by something.email.com (sSMTP sendmail emulation); Mon, 03 Jun 2013 00:18:34 +0200
Message-Id: <20130602221842.685581E6@hub.freebsd.org>
Date: Mon, 03 Jun 2013 00:18:34 +0200
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@mark.reidel.info
Subject: [PATCH] audio/mpc: update to 0.22, Remove EXAMPLES DOCS Options, add license
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ports@mark.reidel.info

>Number:         179234
>Category:       ports
>Synopsis:       [PATCH] audio/mpc: update to 0.22, Remove EXAMPLES DOCS Options, add license
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 22:20:02 UTC 2013
>Closed-Date:    Mon Jun 17 14:37:31 UTC 2013
>Last-Modified:  Mon Jun 17 14:40:00 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Update to 0.22
- Add license
- Remove EXAMPLES DOCS Options
- Fix examples
- Cleanup Makefile
- Trim pkg-descr

Port maintainer (ports@mark.reidel.info) is cc'd.

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130602193101-63526/

>Fix:

--- mpc-0.22.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/mpc/Makefile ./Makefile
--- /usr/ports/audio/mpc/Makefile	2013-06-02 19:00:28.000000000 +0200
+++ ./Makefile	2013-06-03 00:08:05.000000000 +0200
@@ -2,16 +2,18 @@
 # $FreeBSD: head/audio/mpc/Makefile 316654 2013-04-27 08:50:46Z mva $
 
 PORTNAME=	mpc
-PORTVERSION=	0.21
+PORTVERSION=	0.22
 CATEGORIES=	audio ipv6
-MASTER_SITES=	SF/musicpd/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF/musicpd/${PORTNAME}/${PORTVERSION}/
 
 MAINTAINER=	ports@mark.reidel.info
 COMMENT=	Command line client for the musicpd
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	mpdclient:${PORTSDIR}/audio/libmpdclient
 
-OPTIONS_DEFINE=	EXAMPLES DOCS ICONV
+OPTIONS_DEFINE=	ICONV
 OPTIONS_DEFAULT=	ICONV
 ICONV_DESC=	Support for international characters
 
@@ -21,22 +23,17 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CFLAGS+=	-I${LOCALBASE}/include
 
+MAN1=		${PORTNAME}.1
+
 PORTDOCS=	AUTHORS README NEWS
+PORTEXAMPLES=	*
 
-PLIST_FILES=	bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-completion.bash
+PLIST_FILES=	bin/${PORTNAME}
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRS=	%%EXAMPLESDIR%%
-.endif
-
-.ifndef(NO_INSTALL_MANPAGES)
-MAN1=		${PORTNAME}.1
-.endif
-
 .if ${PORT_OPTIONS:MICONV}
-USES=	iconv
+USES=		iconv
 .else
 CONFIGURE_ARGS+=--disable-iconv
 .endif
@@ -45,19 +42,18 @@
 	@${REINPLACE_CMD} -e 's|-lintl|-liconv|g' ${WRKSRC}/configure
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
+
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-completion.bash ${EXAMPLESDIR}
 .endif
-.ifndef(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
-.endif
+
+	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/audio/mpc/distinfo ./distinfo
--- /usr/ports/audio/mpc/distinfo	2013-06-02 19:00:28.000000000 +0200
+++ ./distinfo	2013-06-03 00:11:29.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (mpc-0.21.tar.bz2) = 2fd743c42a52e5de376e774dd968541f6b6273ec782c66600b75d740f8b47cc2
-SIZE (mpc-0.21.tar.bz2) = 99936
+SHA256 (mpc-0.22.tar.bz2) = cc42811d7ed8e65d50a0aaf1edf29597e3e264b06026b40da88a8a763a2dd334
+SIZE (mpc-0.22.tar.bz2) = 102296
diff -ruN --exclude=CVS /usr/ports/audio/mpc/pkg-descr ./pkg-descr
--- /usr/ports/audio/mpc/pkg-descr	2013-06-02 19:00:28.000000000 +0200
+++ ./pkg-descr	2013-06-03 00:11:20.000000000 +0200
@@ -2,4 +2,4 @@
 mpc connects to a MPD running on a machine via a network.
 Read more about MPD on http://www.musicpd.org
 
-WWW:	http://www.musicpd.org
+WWW: http://www.musicpd.org
--- mpc-0.22.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 2 22:20:26 UTC 2013 
Responsible-Changed-Why:  
beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179234 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jun 2 22:20:27 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179234 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: ports@mark.reidel.info
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/179234: [PATCH] audio/mpc: update to 0.22, Remove EXAMPLES DOCS Options, add license
Date: Sun, 2 Jun 2013 22:20:27 UT

 Maintainer of audio/mpc,
 
 Please note that PR ports/179234 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179234
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Mark Reidel <ports@mark.reidel.info>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179234: [PATCH] audio/mpc: update to 0.22, Remove EXAMPLES
 DOCS Options, add license
Date: Mon, 03 Jun 2013 06:14:05 +0200

 I approve this patch :o)
Responsible-Changed-From-To: beech->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Mon Jun 17 14:22:04 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179234 
State-Changed-From-To: feedback->closed 
State-Changed-By: wg 
State-Changed-When: Mon Jun 17 14:37:31 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179234 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179234: commit references a PR
Date: Mon, 17 Jun 2013 14:37:28 +0000 (UTC)

 Author: wg
 Date: Mon Jun 17 14:37:20 2013
 New Revision: 321115
 URL: http://svnweb.freebsd.org/changeset/ports/321115
 
 Log:
   audio/mpc: update to 0.22
   
   - Update to 0.22
   - Add LICENSE (GPLv2)
   - Remove spaces from WWW in pkg-descr
   - New form for pkgconfig
   
   PR:		ports/179234
   Submitted by:	nemysis <nemysis@gmx.ch>
   Approved by:	culot / jpaetzel (mentors, implicit), maintainer
 
 Modified:
   head/audio/mpc/Makefile
   head/audio/mpc/distinfo
   head/audio/mpc/pkg-descr
 
 Modified: head/audio/mpc/Makefile
 ==============================================================================
 --- head/audio/mpc/Makefile	Mon Jun 17 14:36:27 2013	(r321114)
 +++ head/audio/mpc/Makefile	Mon Jun 17 14:37:20 2013	(r321115)
 @@ -2,41 +2,37 @@
  # $FreeBSD$
  
  PORTNAME=	mpc
 -PORTVERSION=	0.21
 +PORTVERSION=	0.22
  CATEGORIES=	audio ipv6
 -MASTER_SITES=	SF/musicpd/${PORTNAME}/${PORTVERSION}
 +MASTER_SITES=	SF/musicpd/${PORTNAME}/${PORTVERSION}/
  
  MAINTAINER=	ports@mark.reidel.info
  COMMENT=	Command line client for the musicpd
  
 +LICENSE=	GPLv2
 +
  LIB_DEPENDS=	mpdclient:${PORTSDIR}/audio/libmpdclient
  
  OPTIONS_DEFINE=	EXAMPLES DOCS ICONV
  OPTIONS_DEFAULT=	ICONV
 -ICONV_DESC=	Support for international characters
  
 +USES=		pkgconfig
  USE_BZIP2=	yes
  GNU_CONFIGURE=	yes
 -USE_GNOME=	pkgconfig
  LDFLAGS+=	-L${LOCALBASE}/lib
  CFLAGS+=	-I${LOCALBASE}/include
  
 +MAN1=		${PORTNAME}.1
 +
  PORTDOCS=	AUTHORS README NEWS
 +PORTEXAMPLES=	*
  
 -PLIST_FILES=	bin/${PORTNAME} %%PORTEXAMPLES%%%%EXAMPLESDIR%%/${PORTNAME}-completion.bash
 +PLIST_FILES=	bin/${PORTNAME}
  
  .include <bsd.port.options.mk>
  
 -.if ${PORT_OPTIONS:MEXAMPLES}
 -PLIST_DIRS=	%%EXAMPLESDIR%%
 -.endif
 -
 -.ifndef(NO_INSTALL_MANPAGES)
 -MAN1=		${PORTNAME}.1
 -.endif
 -
  .if ${PORT_OPTIONS:MICONV}
 -USES=	iconv
 +USES+=		iconv
  .else
  CONFIGURE_ARGS+=--disable-iconv
  .endif
 @@ -45,19 +41,18 @@ post-patch:
  	@${REINPLACE_CMD} -e 's|-lintl|-liconv|g' ${WRKSRC}/configure
  
  do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
 +	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
 +
  .if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
 -.for i in ${PORTDOCS}
 -	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 -.endfor
 +	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
  .endif
 +
  .if ${PORT_OPTIONS:MEXAMPLES}
  	@${MKDIR} ${EXAMPLESDIR}
  	${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}-completion.bash ${EXAMPLESDIR}
  .endif
 -.ifndef(NO_INSTALL_MANPAGES)
 -	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
 -.endif
 +
 +	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
  
  .include <bsd.port.mk>
 
 Modified: head/audio/mpc/distinfo
 ==============================================================================
 --- head/audio/mpc/distinfo	Mon Jun 17 14:36:27 2013	(r321114)
 +++ head/audio/mpc/distinfo	Mon Jun 17 14:37:20 2013	(r321115)
 @@ -1,2 +1,2 @@
 -SHA256 (mpc-0.21.tar.bz2) = 2fd743c42a52e5de376e774dd968541f6b6273ec782c66600b75d740f8b47cc2
 -SIZE (mpc-0.21.tar.bz2) = 99936
 +SHA256 (mpc-0.22.tar.bz2) = cc42811d7ed8e65d50a0aaf1edf29597e3e264b06026b40da88a8a763a2dd334
 +SIZE (mpc-0.22.tar.bz2) = 102296
 
 Modified: head/audio/mpc/pkg-descr
 ==============================================================================
 --- head/audio/mpc/pkg-descr	Mon Jun 17 14:36:27 2013	(r321114)
 +++ head/audio/mpc/pkg-descr	Mon Jun 17 14:37:20 2013	(r321115)
 @@ -2,4 +2,4 @@ A client for MPD, the Music Player Daemo
  mpc connects to a MPD running on a machine via a network.
  Read more about MPD on http://www.musicpd.org
  
 -WWW:	http://www.musicpd.org
 +WWW: http://www.musicpd.org
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
