Bug 189657 - [maintainer-update] add staging support to audio/ripit
Summary: [maintainer-update] add staging support to audio/ripit
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 12:50 UTC by Tobias Rehbein
Modified: 2014-05-12 02:10 UTC (History)
0 users

See Also:


Attachments
audio_ripit_stage.diff (1.78 KB, patch)
2014-05-11 12:50 UTC, Tobias Rehbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Rehbein 2014-05-11 12:50:00 UTC
	Add staging support to audio/ripit.

	While here fix some portlint warnings:
	* Add LICENSE
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-12 00:12:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-12 02:08:26 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-12 02:08:30 UTC
Author: amdmi3
Date: Mon May 12 01:08:26 2014
New Revision: 353756
URL: http://svnweb.freebsd.org/changeset/ports/353756
QAT: https://qat.redports.org/buildarchive/r353756/

Log:
  - Support staging
  - Add LICENSE
  - Convert USE_BZIP2 to USES
  
  PR:		189657
  Submitted by:	Tobias Rehbein <tobias.rehbein@web.de> (maintainer)

Added:
  head/audio/ripit/pkg-plist   (contents, props changed)
Modified:
  head/audio/ripit/Makefile

Modified: head/audio/ripit/Makefile
==============================================================================
--- head/audio/ripit/Makefile	Mon May 12 01:05:43 2014	(r353755)
+++ head/audio/ripit/Makefile	Mon May 12 01:08:26 2014	(r353756)
@@ -10,38 +10,28 @@ MASTER_SITES=	http://www.suwald.com/ripi
 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
+USES=		perl5 shebangfix tar:bzip2
 NO_BUILD=	yes
-PLIST_FILES=	bin/ripit
-MAN1=		ripit.1
-PORTEXAMPLES=	config
 USE_PERL5=	run
-USE_BZIP2=	yes
 SHEBANG_FILES=	ripit.pl
 perl_OLD_CMD=	/usr/bin/env perl
 
 OPTIONS_DEFINE=	EXAMPLES
 
-.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>

Added: head/audio/ripit/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ripit/pkg-plist	Mon May 12 01:08:26 2014	(r353756)
@@ -0,0 +1,4 @@
+bin/ripit
+man/man1/ripit.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"