Skip site navigation (1)Skip section navigation (2)
Date:      18 Jun 2004 08:00:27 -0000
From:      Mark Daniel Reidel <ports@mark.reidel.info>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68071: [MAINTAINER] audio/mpc: update to 0.11.0
Message-ID:  <20040618080027.61172.qmail@karm.dyndns.org>
Resent-Message-ID: <200406180810.i5I8AErx070229@freefall.freebsd.org>

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

>Number:         68071
>Category:       ports
>Synopsis:       [MAINTAINER] audio/mpc: update to 0.11.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 18 08:10:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark Daniel Reidel
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD alu.reidel.info 5.2-CURRENT FreeBSD 5.2-CURRENT #11: Thu Jun 10 23:59:27 CEST 2004
>Description:
- Update to 0.11.0
- Iconv-support now switchable
- Honors NOPORTDOCS

>How-To-Repeat:
>Fix:

--- mpc-0.11.0.patch begins here ---
diff -ruN --exclude=CVS /tmp/portbk/audio/mpc/Makefile /usr/ports/audio/mpc/Makefile
--- /tmp/portbk/audio/mpc/Makefile	Fri Jun 18 09:57:49 2004
+++ /usr/ports/audio/mpc/Makefile	Fri Jun 18 09:09:18 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mpc
-PORTVERSION=	0.10.2
+PORTVERSION=	0.11.0
 CATEGORIES=	audio ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	musicpd
@@ -15,12 +15,33 @@
 COMMENT=	Command line client for the musicpd
 
 GNU_CONFIGURE=	yes
+OPTIONS=	ICONV "Support for international characters" on \
+
+CFLAGS+=	-I${PREFIX}/include
+
+MAN1=		mpc.1
+
+.include <bsd.port.pre.mk>
+
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib" \
 
-CFLAGS+=	-I${PREFIX}/include
+.ifdef(WITHOUT_ICONV)
+CONFIGURE_ARGS+=--disable-iconv
+.else
+USE_ICONV=	yes
+.endif
 
-MAN1=		mpc.1
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin/
+.ifndef(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+	${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/mpc-bashrc ${EXAMPLESDIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${MAN1PREFIX}/man/man1/
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /tmp/portbk/audio/mpc/distinfo /usr/ports/audio/mpc/distinfo
--- /tmp/portbk/audio/mpc/distinfo	Fri Jun 18 09:57:49 2004
+++ /usr/ports/audio/mpc/distinfo	Fri Jun 18 08:36:20 2004
@@ -1,2 +1,2 @@
-MD5 (mpc-0.10.2.tar.gz) = 3ca8b537d164897a376fd1abcd5514d1
-SIZE (mpc-0.10.2.tar.gz) = 209538
+MD5 (mpc-0.11.0.tar.gz) = 7b58088f3ceba47b6466d1226993ad99
+SIZE (mpc-0.11.0.tar.gz) = 163502
diff -ruN --exclude=CVS /tmp/portbk/audio/mpc/pkg-plist /usr/ports/audio/mpc/pkg-plist
--- /tmp/portbk/audio/mpc/pkg-plist	Fri Jun 18 09:57:49 2004
+++ /usr/ports/audio/mpc/pkg-plist	Fri Jun 18 09:08:48 2004
@@ -1,5 +1,6 @@
 bin/mpc
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/mpc-bashrc
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/mpc-bashrc
+@dirrm %%EXAMPLESDIR%%
--- mpc-0.11.0.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?20040618080027.61172.qmail>