Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 13:48:33 +0200 (CEST)
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189657: [maintainer-update] add staging support to audio/ripit
Message-ID:  <201405111148.s4BBmXPZ074629@oshi.local>
Resent-Message-ID: <201405111150.s4BBo0TV047495@freefall.freebsd.org>

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

>Number:         189657
>Category:       ports
>Synopsis:       [maintainer-update] add staging support to audio/ripit
>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 11:50: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@oshi.local:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	Add staging support to audio/ripit.

	While here fix some portlint warnings:
	* Add LICENSE

	
>How-To-Repeat:
	
>Fix:

	

--- audio_ripit_stage.diff begins here ---
diff -urN audio/ripit.orig/Makefile audio/ripit/Makefile
--- audio/ripit.orig/Makefile	2014-02-21 14:35:10.000000000 +0100
+++ audio/ripit/Makefile	2014-05-11 12:32:17.483584851 +0200
@@ -10,20 +10,18 @@
 MAINTAINER=	tobias.rehbein@web.de
 COMMENT=	Command line audio CD ripper
 
+LICENSE=	GPLv2
+
 # See pkg-message about other dependencies.
 RUN_DEPENDS=	p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
 	p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
 	p5-WebService-MusicBrainz>=0:${PORTSDIR}/www/p5-WebService-MusicBrainz \
 	p5-MusicBrainz-DiscID>=0:${PORTSDIR}/audio/p5-MusicBrainz-DiscID \
 	lame:${PORTSDIR}/audio/lame \
-	cdparanoia:${PORTSDIR}/audio/cdparanoia \
+	cdparanoia:${PORTSDIR}/audio/cdparanoia
 
 USES=		perl5 shebangfix
-NO_STAGE=	yes
 NO_BUILD=	yes
-PLIST_FILES=	bin/ripit
-MAN1=		ripit.1
-PORTEXAMPLES=	config
 USE_PERL5=	run
 USE_BZIP2=	yes
 SHEBANG_FILES=	ripit.pl
@@ -34,14 +32,9 @@
 .include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
-	${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}/
-	${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${STAGEDIR}${PREFIX}/bin/ripit
+	${INSTALL_MAN} ${WRKSRC}/ripit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR}/config
 
 .include <bsd.port.mk>
diff -urN audio/ripit.orig/pkg-plist audio/ripit/pkg-plist
--- audio/ripit.orig/pkg-plist	1970-01-01 01:00:00.000000000 +0100
+++ audio/ripit/pkg-plist	2014-05-11 12:09:46.236677000 +0200
@@ -0,0 +1,4 @@
+bin/ripit
+man/man1/ripit.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
--- audio_ripit_stage.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?201405111148.s4BBmXPZ074629>