Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2006 14:08:50 +0200 (CEST)
From:      Øyvind Møll <oyvind@moll.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        oyvind@moll.no
Subject:   ports/99883: audio/ripit: update to 3.5.1 [PATCH]
Message-ID:  <200607071208.k67C8oJj098181@tilt.idi.ntnu.no>
Resent-Message-ID: <200607071210.k67CANnq079863@freefall.freebsd.org>

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

>Number:         99883
>Category:       ports
>Synopsis:       audio/ripit: update to 3.5.1 [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 07 12:10:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Øyvind Møll <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:
>Unformatted:



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