Skip site navigation (1)Skip section navigation (2)
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:   ports/179234: [PATCH] audio/mpc: update to 0.22, Remove EXAMPLES DOCS Options, add license
Message-ID:  <20130602221842.685581E6@hub.freebsd.org>
Resent-Message-ID: <201306022220.r52MK2a9052253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 22:20:02 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130602221842.685581E6>