ports/189658: [maintainer-update] Add staging support to audio/ogg2mp3

Tobias Rehbein tobias.rehbein at web.de
Sun May 11 12:00:00 UTC 2014


>Number:         189658
>Category:       ports
>Synopsis:       [maintainer-update] Add staging support to audio/ogg2mp3
>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:   Sun May 11 12:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Rehbein
>Release:        FreeBSD 10.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD oshi.local 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0: Thu May 1 06:51:20 CEST 2014 tobi at oshi.local:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	Add staging support to audio/ogg2mp3.

	While here fix some portlint warnings:
	* Fix WWW: line
	* Add LICENSE

	
>How-To-Repeat:
	
>Fix:

	

--- audio_ogg2mp3_stage.diff begins here ---
diff -ruN audio/ogg2mp3.orig/Makefile audio/ogg2mp3/Makefile
--- audio/ogg2mp3.orig/Makefile	2014-05-11 09:36:21.365491732 +0200
+++ audio/ogg2mp3/Makefile	2014-05-11 09:46:35.905273115 +0200
@@ -10,13 +10,14 @@
 MAINTAINER=	tobias.rehbein at web.de
 COMMENT=	Perl script that converts Ogg Vorbis files to MP3 format
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame \
 		p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote \
 		ogginfo:${PORTSDIR}/audio/vorbis-tools
 
 NO_BUILD=	yes
 USE_BZIP2=	yes
-NO_STAGE=	yes
 USES=		perl5
 
 PLIST_FILES=	bin/ogg2mp3
@@ -25,6 +26,6 @@
 	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/ogg2mp3
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/ogg2mp3 ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/ogg2mp3 ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -ruN audio/ogg2mp3.orig/pkg-descr audio/ogg2mp3/pkg-descr
--- audio/ogg2mp3.orig/pkg-descr	2014-05-11 09:36:21.366311604 +0200
+++ audio/ogg2mp3/pkg-descr	2014-05-11 09:41:44.459289422 +0200
@@ -1,3 +1,3 @@
 ogg2mp3 is a perl script that converts Ogg Vorbis files into MP3 format.
 
-WWW:	http://gitorious.org/ogg2mp3/pages/Home 
+WWW: http://gitorious.org/ogg2mp3/pages/Home 
--- audio_ogg2mp3_stage.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list