From oyvindmo@tilt.idi.ntnu.no  Fri Jul  7 12:09:15 2006
Return-Path: <oyvindmo@tilt.idi.ntnu.no>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E262A16A4E6
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Jul 2006 12:09:15 +0000 (UTC)
	(envelope-from oyvindmo@tilt.idi.ntnu.no)
Received: from pil.idi.ntnu.no (pil.idi.ntnu.no [129.241.107.93])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1DD4843D46
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Jul 2006 12:09:14 +0000 (GMT)
	(envelope-from oyvindmo@tilt.idi.ntnu.no)
Received: from tilt.idi.ntnu.no (tilt.idi.ntnu.no [129.241.110.47])
	by pil.idi.ntnu.no (8.13.6/8.13.1) with ESMTP id k67C9C8g018905
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Fri, 7 Jul 2006 14:09:12 +0200 (MEST)
Received: (from oyvindmo@localhost)
	by tilt.idi.ntnu.no (8.13.6/8.13.6/Submit) id k67C8oJj098181;
	Fri, 7 Jul 2006 14:08:50 +0200 (CEST)
	(envelope-from oyvindmo)
Message-Id: <200607071208.k67C8oJj098181@tilt.idi.ntnu.no>
Date: Fri, 7 Jul 2006 14:08:50 +0200 (CEST)
From: yvind Mll <oyvind@moll.no>
Reply-To: yvind Mll <oyvind@moll.no>
To: FreeBSD-gnats-submit@freebsd.org
Cc: oyvind@moll.no
Subject: audio/ripit: update to 3.5.1 [PATCH]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99883
>Category:       ports
>Synopsis:       audio/ripit: update to 3.5.1 [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 07 12:10:23 GMT 2006
>Closed-Date:    Fri Jul 07 17:42:29 GMT 2006
>Last-Modified:  Fri Jul 07 17:42:29 GMT 2006
>Originator:     yvind Mll <oyvind@moll.no>
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD tilt.idi.ntnu.no 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun 2 10:29:08 CEST 2006 root@tilt.idi.ntnu.no:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
The attached patch updates audio/ripit from 3.4 to 3.5.1, and fixes an
unfetchable distfile error.

I've also removed Perl as a build dependency.

	
>How-To-Repeat:
	
>Fix:
Apply the patch to audio/ripit.
	

--- ripit.diff begins here ---
diff -uNr ripit.old/Makefile ripit/Makefile
--- ripit.old/Makefile	Fri Jul  7 14:01:40 2006
+++ ripit/Makefile	Fri Jul  7 13:50:38 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ripit
-PORTVERSION=	3.4
-PORTREVISION=	1
+PORTVERSION=	3.5.1
 CATEGORIES=	audio
 MASTER_SITES=	http://www.suwald.com/ripit/
 
@@ -21,18 +20,24 @@
 
 NO_BUILD=	yes
 PLIST_FILES=	bin/ripit.pl \
-		bin/ripit
-USE_PERL5=	yes
+		bin/ripit \
+		share/examples/ripit/config
+PLIST_DIRS=	share/examples/ripit
+MAN1=		ripit.1
+USE_PERL5_RUN=	yes
 USE_BZIP2=	yes
 
 post-patch:
-	@ ${PERL} -pi -ne "s|#!/usr/bin/perl|#!${PERL}|" ${WRKSRC}/ripit.pl
+	@ ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|" ${WRKSRC}/ripit
 
 do-install:
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/ripit ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
+	${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
 
 post-install:
-	@ ${LN} -s ${PREFIX}/bin/ripit.pl ${PREFIX}/bin/ripit
+	@ ${LN} -s ${PREFIX}/bin/ripit ${PREFIX}/bin/ripit.pl
 	@ ${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -uNr ripit.old/distinfo ripit/distinfo
--- ripit.old/distinfo	Tue Dec  6 15:28:32 2005
+++ ripit/distinfo	Fri Jul  7 13:02:20 2006
@@ -1,3 +1,3 @@
-MD5 (ripit-3.4.tar.bz2) = 12ae5ecdbb88dce00ccd10f2b51b2b4e
-SHA256 (ripit-3.4.tar.bz2) = 56857b13823c9eb507575b5c93486fe4b67a8ec04ea902017a7207a8af73b691
-SIZE (ripit-3.4.tar.bz2) = 44290
+MD5 (ripit-3.5.1.tar.bz2) = 56026c18dd8ddf985326fc1f37ffaa3f
+SHA256 (ripit-3.5.1.tar.bz2) = d24b6ceeccfd52038eaad9a20553adf039ad7dbf00f2a0289e2b0ba322f4dedb
+SIZE (ripit-3.5.1.tar.bz2) = 52715
--- ripit.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Fri Jul 7 17:29:45 UTC 2006 
Responsible-Changed-Why:  
Eat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99883 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Fri Jul 7 17:40:45 UTC 2006 
State-Changed-Why:  
Committed. Thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99883 
>Unformatted:
