Bug 189656 - [patch] sysutils/bashburn update to 3.1.0, stage support
Summary: [patch] sysutils/bashburn update to 3.1.0, stage support
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: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 12:40 UTC by Zsolt Udvari
Modified: 2014-05-11 23:50 UTC (History)
1 user (show)

See Also:


Attachments
bashburn.diff (11.85 KB, patch)
2014-05-11 12:40 UTC, Zsolt Udvari
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Udvari freebsd_committer freebsd_triage 2014-05-11 12:40:00 UTC
sysutils/bashburn updated to 3.1.0
staging support
use option helpers

files/* are unneeded!
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-11 12:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-11 23:47:43 UTC
Author: bapt
Date: Sun May 11 22:47:38 2014
New Revision: 353743
URL: http://svnweb.freebsd.org/changeset/ports/353743
QAT: https://qat.redports.org/buildarchive/r353743/

Log:
  sysutils/bashburn updated to 3.1.0
  staging support
  use option helpers
  
  files/* are unneeded!
  
  PR:		ports/189656
  Submitted by:	Zsolt Udvari <udvzsolt@gmail.com>

Deleted:
  head/sysutils/bashburn/files/
Modified:
  head/sysutils/bashburn/Makefile
  head/sysutils/bashburn/distinfo
  head/sysutils/bashburn/pkg-descr
  head/sysutils/bashburn/pkg-plist

Modified: head/sysutils/bashburn/Makefile
==============================================================================
--- head/sysutils/bashburn/Makefile	Sun May 11 22:45:52 2014	(r353742)
+++ head/sysutils/bashburn/Makefile	Sun May 11 22:47:38 2014	(r353743)
@@ -2,20 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	bashburn
-PORTVERSION=	2.1.2
-PORTREVISION=	3
+PORTVERSION=	3.1.0
 CATEGORIES=	sysutils
-MASTER_SITES=	SF
-DISTNAME=	BashBurn-${PORTVERSION}
+MASTER_SITES=	http://bashburn.dose.se/
+DISTNAME=	'index.php?s=file_download&id=25'
+EXTRACT_SUFX=
+DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	sylvio@FreeBSD.org
 COMMENT=	CD burning bash script
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
 		cdrecord:${PORTSDIR}/sysutils/cdrtools
 
+WRKSRC=		${WRKDIR}/BashBurn-${PORTVERSION}
+
 NO_BUILD=	yes
 
+USES=		shebangfix
+SHEBANG_FILES=	BashBurn.sh
+
 OPTIONS_DEFINE=	CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
 OPTIONS_DEFAULT=	CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS
 CDRDAO_DESC=	Disk-At-Once Recording
@@ -24,50 +32,26 @@ EJECT_DESC=	Ejecting the CD/DVD drive
 NORMALIZE_DESC=	An audio file volume normalizer
 SUDO_DESC=	To allow non-privileged users to burn CD's
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCDRDAO}
-RUN_DEPENDS+=	${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao
-.endif
-.if ${PORT_OPTIONS:MDVDTOOLS}
-RUN_DEPENDS+=	${LOCALBASE}/bin/dvd+rw-mediainfo:${PORTSDIR}/sysutils/dvd+rw-tools
-.endif
-.if ${PORT_OPTIONS:MEJECT}
-RUN_DEPENDS+=	${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject
-.endif
-.if ${PORT_OPTIONS:MFLAC}
-RUN_DEPENDS+=	${LOCALBASE}/bin/flac:${PORTSDIR}/audio/flac
-.endif
-.if ${PORT_OPTIONS:MLAME}
-RUN_DEPENDS+=	${LOCALBASE}/bin/lame:${PORTSDIR}/audio/lame
-.endif
-.if ${PORT_OPTIONS:MMPG123}
-RUN_DEPENDS+=	${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123
-.endif
-.if ${PORT_OPTIONS:MNORMALIZE}
-RUN_DEPENDS+=	${LOCALBASE}/bin/normalize:${PORTSDIR}/audio/normalize
-.endif
-.if ${PORT_OPTIONS:MSUDO}
-RUN_DEPENDS+=	${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo
-.endif
-.if ${PORT_OPTIONS:MVORBIS}
-RUN_DEPENDS+=	${LOCALBASE}/bin/ogg123:${PORTSDIR}/audio/vorbis-tools
-.endif
+CDRDAO_RUN_DEPENDS=	cdrdao:${PORTSDIR}/sysutils/cdrdao
+DVDTOOLS_RUN_DEPENDS=	dvd+rw-mediainfo:${PORTSDIR}/sysutils/dvd+rw-tools
+EJECT_RUN_DEPENDS=	eject:${PORTSDIR}/sysutils/eject
+FLAC_RUN_DEPENDS=	flac:${PORTSDIR}/audio/flac
+LAME_RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame
+MPG123_RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
+NORMALIZE_RUN_DEPENDS=	normalize:${PORTSDIR}/audio/normalize
+SUDO_RUN_DEPENDS=	sudo:${PORTSDIR}/security/sudo
+VORBIS_RUN_DEPENDS=	ogg123:${PORTSDIR}/audio/vorbis-tools
 
 post-patch:
-	@${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|' \
+	@${REINPLACE_CMD} 's|@@BBROOTDIR@@|${DATADIR}|' \
 		${WRKSRC}/BashBurn.sh
-	@${REINPLACE_CMD} 's|/usr/local/BashBurn|${DATADIR}|' \
-		${WRKSRC}/bashburnrc
 
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_SCRIPT} ${WRKSRC}/BashBurn.sh ${PREFIX}/bin/bashburn
-	${INSTALL_DATA} ${WRKSRC}/bashburnrc ${PREFIX}/etc/bashburnrc.sample
-	cd ${WRKSRC} && ${CP} -Rfp \
-		burning config convert lang menus misc func ${DATADIR}
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
-	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
+	${INSTALL_SCRIPT} ${WRKSRC}/BashBurn.sh ${STAGEDIR}${PREFIX}/bin/bashburn
+.for dir in burning config convert func lang menus misc
+	@cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${dir}
+.endfor
+	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name COPYING"
+	${INSTALL_MAN} ${WRKSRC}/bashburn_man/bashburn.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/sysutils/bashburn/distinfo
==============================================================================
--- head/sysutils/bashburn/distinfo	Sun May 11 22:45:52 2014	(r353742)
+++ head/sysutils/bashburn/distinfo	Sun May 11 22:47:38 2014	(r353743)
@@ -1,2 +1,2 @@
-SHA256 (BashBurn-2.1.2.tar.gz) = 5eb0fdb8bca0ee73b9fffb23f0b09f9ee428efede38d8bb725165c13316fac44
-SIZE (BashBurn-2.1.2.tar.gz) = 77517
+SHA256 (bashburn/index.php?s=file_download&id=25) = b78d5de1ee1b6e19aeee5b2f37a12aa6d02c665fd7645cad626ae7267351bb3c
+SIZE (bashburn/index.php?s=file_download&id=25) = 91295

Modified: head/sysutils/bashburn/pkg-descr
==============================================================================
--- head/sysutils/bashburn/pkg-descr	Sun May 11 22:45:52 2014	(r353742)
+++ head/sysutils/bashburn/pkg-descr	Sun May 11 22:47:38 2014	(r353743)
@@ -7,4 +7,4 @@ not the best looking CD-burning applicat
 what you want it to do. (And if not then probably didn't want to do it
 anyway)
 
-WWW: http://bashburn.sourceforge.net/
+WWW: http://bashburn.dose.se/

Modified: head/sysutils/bashburn/pkg-plist
==============================================================================
--- head/sysutils/bashburn/pkg-plist	Sun May 11 22:45:52 2014	(r353742)
+++ head/sysutils/bashburn/pkg-plist	Sun May 11 22:47:38 2014	(r353743)
@@ -1,111 +1,109 @@
 bin/bashburn
-%%ETCDIR%%rc.sample
-%%DATADIR%%/lang/Swedish/convert_flacs.lang
-%%DATADIR%%/lang/Swedish/datadefine.lang
-%%DATADIR%%/lang/Swedish/loopback.lang
-%%DATADIR%%/lang/Swedish/README
-%%DATADIR%%/lang/Swedish/check_path.lang
-%%DATADIR%%/lang/Swedish/convert_mp3s.lang
-%%DATADIR%%/lang/Swedish/convert_oggs.lang
-%%DATADIR%%/lang/Swedish/commonfunctions.lang
-%%DATADIR%%/lang/Swedish/data_menu.lang
-%%DATADIR%%/lang/Swedish/bincue.lang
-%%DATADIR%%/lang/Swedish/configure.lang
-%%DATADIR%%/lang/Swedish/mount.lang
-%%DATADIR%%/lang/Swedish/iso_menu.lang
-%%DATADIR%%/lang/Swedish/multi.lang
-%%DATADIR%%/lang/Swedish/burning.lang
-%%DATADIR%%/lang/Swedish/audio_menu.lang
-%%DATADIR%%/lang/Swedish/BashBurn.lang
-%%DATADIR%%/lang/Spanish/convert_flacs.lang
-%%DATADIR%%/lang/Spanish/datadefine.lang
-%%DATADIR%%/lang/Spanish/loopback.lang
-%%DATADIR%%/lang/Spanish/README
-%%DATADIR%%/lang/Spanish/check_path.lang
-%%DATADIR%%/lang/Spanish/convert_mp3s.lang
-%%DATADIR%%/lang/Spanish/convert_oggs.lang
-%%DATADIR%%/lang/Spanish/commonfunctions.lang
-%%DATADIR%%/lang/Spanish/data_menu.lang
-%%DATADIR%%/lang/Spanish/bincue.lang
-%%DATADIR%%/lang/Spanish/configure.lang
-%%DATADIR%%/lang/Spanish/mount.lang
-%%DATADIR%%/lang/Spanish/iso_menu.lang
-%%DATADIR%%/lang/Spanish/multi.lang
-%%DATADIR%%/lang/Spanish/burning.lang
-%%DATADIR%%/lang/Spanish/audio_menu.lang
-%%DATADIR%%/lang/Spanish/BashBurn.lang
-%%DATADIR%%/lang/English/convert_flacs.lang
-%%DATADIR%%/lang/English/datadefine.lang
-%%DATADIR%%/lang/English/loopback.lang
+man/man1/bashburn.1.gz
+%%DATADIR%%/burning/bincue.sh
+%%DATADIR%%/burning/burning.sh
+%%DATADIR%%/burning/multi.sh
+%%DATADIR%%/config/apply_options.sh
+%%DATADIR%%/convert/convert_audio.sh
+%%DATADIR%%/convert/convert_images.sh
+%%DATADIR%%/func/advancedfunc.sh
+%%DATADIR%%/func/audiofunc.sh
+%%DATADIR%%/func/bincuefunc.sh
+%%DATADIR%%/func/configfunc.sh
+%%DATADIR%%/func/datafunc.sh
+%%DATADIR%%/func/definefunc.sh
+%%DATADIR%%/func/isofunc.sh
+%%DATADIR%%/func/mountfunc.sh
+%%DATADIR%%/func/multifunc.sh
+%%DATADIR%%/lang/English/#advanced.lang#
+%%DATADIR%%/lang/English/#convert_audio.lang#
+%%DATADIR%%/lang/English/BashBurn.lang
 %%DATADIR%%/lang/English/README
+%%DATADIR%%/lang/English/advanced.lang
+%%DATADIR%%/lang/English/audio_menu.lang
+%%DATADIR%%/lang/English/bincue.lang
+%%DATADIR%%/lang/English/burning.lang
 %%DATADIR%%/lang/English/check_path.lang
-%%DATADIR%%/lang/English/convert_mp3s.lang
-%%DATADIR%%/lang/English/convert_oggs.lang
 %%DATADIR%%/lang/English/commonfunctions.lang
-%%DATADIR%%/lang/English/data_menu.lang
-%%DATADIR%%/lang/English/bincue.lang
 %%DATADIR%%/lang/English/configure.lang
-%%DATADIR%%/lang/English/mount.lang
+%%DATADIR%%/lang/English/convert_audio.lang
+%%DATADIR%%/lang/English/convert_images.lang
+%%DATADIR%%/lang/English/data_menu.lang
+%%DATADIR%%/lang/English/datadefine.lang
+%%DATADIR%%/lang/English/image_menu.lang
 %%DATADIR%%/lang/English/iso_menu.lang
+%%DATADIR%%/lang/English/loopback.lang
+%%DATADIR%%/lang/English/mount.lang
 %%DATADIR%%/lang/English/multi.lang
-%%DATADIR%%/lang/English/burning.lang
-%%DATADIR%%/lang/English/audio_menu.lang
-%%DATADIR%%/lang/English/BashBurn.lang
-%%DATADIR%%/lang/German/convert_flacs.lang
-%%DATADIR%%/lang/German/datadefine.lang
-%%DATADIR%%/lang/German/loopback.lang
+%%DATADIR%%/lang/German/BashBurn.lang
 %%DATADIR%%/lang/German/README
+%%DATADIR%%/lang/German/advanced.lang
+%%DATADIR%%/lang/German/audio_menu.lang
+%%DATADIR%%/lang/German/bincue.lang
+%%DATADIR%%/lang/German/burning.lang
 %%DATADIR%%/lang/German/check_path.lang
-%%DATADIR%%/lang/German/convert_mp3s.lang
-%%DATADIR%%/lang/German/convert_oggs.lang
 %%DATADIR%%/lang/German/commonfunctions.lang
-%%DATADIR%%/lang/German/data_menu.lang
-%%DATADIR%%/lang/German/bincue.lang
 %%DATADIR%%/lang/German/configure.lang
-%%DATADIR%%/lang/German/mount.lang
+%%DATADIR%%/lang/German/convert_audio.lang
+%%DATADIR%%/lang/German/convert_images.lang
+%%DATADIR%%/lang/German/data_menu.lang
+%%DATADIR%%/lang/German/datadefine.lang
+%%DATADIR%%/lang/German/image_menu.lang
 %%DATADIR%%/lang/German/iso_menu.lang
+%%DATADIR%%/lang/German/loopback.lang
+%%DATADIR%%/lang/German/mount.lang
 %%DATADIR%%/lang/German/multi.lang
-%%DATADIR%%/lang/German/burning.lang
-%%DATADIR%%/lang/German/audio_menu.lang
-%%DATADIR%%/lang/German/BashBurn.lang
-%%DATADIR%%/misc/commands.idx
-%%DATADIR%%/misc/datadefine.sh
-%%DATADIR%%/misc/variables.idx
-%%DATADIR%%/misc/mount.sh
-%%DATADIR%%/misc/xmmsread.sh
+%%DATADIR%%/lang/Swedish/BashBurn.lang
+%%DATADIR%%/lang/Swedish/README
+%%DATADIR%%/lang/Swedish/advanced.lang
+%%DATADIR%%/lang/Swedish/audio_menu.lang
+%%DATADIR%%/lang/Swedish/bincue.lang
+%%DATADIR%%/lang/Swedish/burning.lang
+%%DATADIR%%/lang/Swedish/check_path.lang
+%%DATADIR%%/lang/Swedish/commonfunctions.lang
+%%DATADIR%%/lang/Swedish/configure.lang
+%%DATADIR%%/lang/Swedish/convert_audio.lang
+%%DATADIR%%/lang/Swedish/convert_images.lang
+%%DATADIR%%/lang/Swedish/data_menu.lang
+%%DATADIR%%/lang/Swedish/datadefine.lang
+%%DATADIR%%/lang/Swedish/image_menu.lang
+%%DATADIR%%/lang/Swedish/iso_menu.lang
+%%DATADIR%%/lang/Swedish/loopback.lang
+%%DATADIR%%/lang/Swedish/mount.lang
+%%DATADIR%%/lang/Swedish/multi.lang
+%%DATADIR%%/menus/advanced.sh
+%%DATADIR%%/menus/audio_menu.sh
+%%DATADIR%%/menus/bbmenu.sh
+%%DATADIR%%/menus/configure.sh
+%%DATADIR%%/menus/data_menu.sh
+%%DATADIR%%/menus/datadefine.sh
+%%DATADIR%%/menus/image_menu.sh
+%%DATADIR%%/menus/iso_menu.sh
+%%DATADIR%%/menus/mount.sh
 %%DATADIR%%/misc/check_path.sh
-%%DATADIR%%/misc/commonfunctions.sh
 %%DATADIR%%/misc/colors.idx
+%%DATADIR%%/misc/commands.idx
+%%DATADIR%%/misc/commonfunctions.sh
+%%DATADIR%%/misc/configure_temp_help.lang
 %%DATADIR%%/misc/loopback.sh
-%%DATADIR%%/menus/data_menu.sh
-%%DATADIR%%/menus/iso_menu.sh
-%%DATADIR%%/menus/audio_menu.sh
-%%DATADIR%%/func/isofunc.sh
-%%DATADIR%%/func/definefunc.sh
-%%DATADIR%%/func/configfunc.sh
-%%DATADIR%%/func/multifunc.sh
-%%DATADIR%%/func/bincuefunc.sh
-%%DATADIR%%/func/datafunc.sh
-%%DATADIR%%/func/audiofunc.sh
-%%DATADIR%%/func/mountfunc.sh
-%%DATADIR%%/convert/convert_mp3s.sh
-%%DATADIR%%/convert/convert_oggs.sh
-%%DATADIR%%/convert/convert_flacs.sh
-%%DATADIR%%/config/configure.sh
-%%DATADIR%%/config/reset_options.sh
-%%DATADIR%%/config/apply_options.sh
-%%DATADIR%%/burning/bincue.sh
-%%DATADIR%%/burning/multi.sh
-%%DATADIR%%/burning/burning.sh
+%%DATADIR%%/misc/m3u_read.sh
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/HOWTO
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/TRANSLATION_RULE
 @dirrm %%DATADIR%%/burning
 @dirrm %%DATADIR%%/config
 @dirrm %%DATADIR%%/convert
 @dirrm %%DATADIR%%/func
-@dirrm %%DATADIR%%/menus
-@dirrm %%DATADIR%%/misc
-@dirrm %%DATADIR%%/lang/German
 @dirrm %%DATADIR%%/lang/English
-@dirrm %%DATADIR%%/lang/Spanish
+@dirrm %%DATADIR%%/lang/German
 @dirrm %%DATADIR%%/lang/Swedish
 @dirrm %%DATADIR%%/lang
+@dirrm %%DATADIR%%/menus
+@dirrm %%DATADIR%%/misc
 @dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
_______________________________________________
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"
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-05-11 23:48:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!