ports/119959: [NEW PORT] sysutils/mybashburn ncurses CD burning bash script

Martin Tournoij carpetsmoker at xs4all.nl
Fri Jan 25 02:10:04 UTC 2008


>Number:         119959
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/mybashburn ncurses CD burning bash script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 02:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD phong.rwxrwxrwx.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 19 15:02:36 UTC 2007 carpetsmoker at slash.rwxrwxrwx.net:/mnt/ad0s1a/usr/obj/mnt/ad0s1a/usr/src/sys/PHONG i386
>Description:
ncurses CD burning bash script

>How-To-Repeat:

>Fix:

--- mybashburn.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sysutils/mybashburn/Makefile
#	sysutils/mybashburn/distinfo
#	sysutils/mybashburn/pkg-descr
#	sysutils/mybashburn/pkg-plist
#
echo x - sysutils/mybashburn/Makefile
sed 's/^X//' >sysutils/mybashburn/Makefile << 'END-of-sysutils/mybashburn/Makefile'
X# New ports collection makefile for:	sysutils/mybashburn
X# Date created:				24 jan 2008
X# Whom:					Martin Tournoij <carpetsmoker at xs4all.nl>
X#
X# $Carpetsmoker: ports/sysutils/mybashburn/Makefile,v 1.1 2008/01/25 01:58:03 carpetsmoker Exp $
X# $FreeBSD$
X#
X
XPORTNAME=	mybashburn
XPORTVERSION=	1.0.2
XCATEGORIES=	sysutils
XMASTER_SITES=	SOURCEFORGE
X
XMAINTAINER=	carpetsmoker at xs4all.nl
XCOMMENT=	ncurses CD burning bash script
X
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		cdialog:${PORTSDIR}/devel/cdialog
X
XNO_BUILD=	yes
XUSE_CDRTOOLS=	yes
XMAN1=		mybashburn.1
XMANCOMPRESSED=	yes
XPORTDOCS=	COPYING CREDITS ChangeLog FAQ FILES HOWTO INSTALL README TODO
X
XOPTIONS=	CDRDAO "Disk-At-Once Recording" on \
X		DVDTOOLS "Frontend to master DVD media" on \
X		EJECT "Ejecting the CD/DVD drive" on \
X		FLAC "Free Lossless Audio Codec" on \
X		LAME "LGPL MP3 encoder" on \
X		MPG123 "Mpg audio player (for MP3-decompression)" on \
X		NORMALIZE "An audio file volume normalizer" on \
X		SUDO "To allow non-privileged users to burn CD's" on \
X		VORBIS "ogg/vorbis audio encoding/decoding" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_CDRDAO)
XRUN_DEPENDS+=	cdrdao:${PORTSDIR}/sysutils/cdrdao
X.endif
X.if !defined(WITHOUT_DVDTOOLS)
XRUN_DEPENDS+=	dvd+rw-mediainfo:${PORTSDIR}/sysutils/dvd+rw-tools
X.endif
X.if !defined(WITHOUT_EJECT)
XRUN_DEPENDS+=	eject:${PORTSDIR}/sysutils/eject
X.endif
X.if !defined(WITHOUT_FLAC)
XRUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
X.endif
X.if !defined(WITHOUT_LAME)
XRUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
X.endif
X.if !defined(WITHOUT_MPG123)
XRUN_DEPENDS+=	mpg123:${PORTSDIR}/audio/mpg123
X.endif
X.if !defined(WITHOUT_NORMALIZE)
XRUN_DEPENDS+=	normalize:${PORTSDIR}/audio/normalize
X.endif
X.if !defined(WITH_SUDO)
XRUN_DEPENDS+=	sudo:${PORTSDIR}/security/sudo
X.endif
X.if !defined(WITHOUT_VORBIS)
XRUN_DEPENDS+=	ogg123:${PORTSDIR}/audio/vorbis-tools
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|; \
X		s|/usr/share|${PREFIX}/share|; \
X		s|dialog|cdialog|g;' \
X		${WRKSRC}/MyBashBurn.sh ${WRKSRC}/etc/mybashburnrc
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_MAN} ${WRKSRC}/man/mybashburn.1.gz ${PREFIX}/man/man1/
X	${INSTALL_SCRIPT} ${WRKSRC}/MyBashBurn.sh ${PREFIX}/bin/mybashburn
X	${INSTALL_DATA} ${WRKSRC}/etc/mybashburnrc ${PREFIX}/etc/mybashburnrc.sample
X	cd ${WRKSRC} && \
X		${CP} -Rfp burning config convert lang menus misc ${DATADIR}
X	${CHOWN} -R root:wheel ${DATADIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for d in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-sysutils/mybashburn/Makefile
echo x - sysutils/mybashburn/distinfo
sed 's/^X//' >sysutils/mybashburn/distinfo << 'END-of-sysutils/mybashburn/distinfo'
XMD5 (mybashburn-1.0.2.tar.gz) = db8d592841c4d950af2d7ce87ce6aff4
XSHA256 (mybashburn-1.0.2.tar.gz) = 2d74b3a1ffd9838d55d2c7b15526bc7bf5e8aea27fc335f7107d9dc5cf10213b
XSIZE (mybashburn-1.0.2.tar.gz) = 90301
END-of-sysutils/mybashburn/distinfo
echo x - sysutils/mybashburn/pkg-descr
sed 's/^X//' >sysutils/mybashburn/pkg-descr << 'END-of-sysutils/mybashburn/pkg-descr'
XWhat's MyBashBurn?
XBasically, it is no more than a Terminal User Interface (TUI) frontend based of
Xthe CD burning shell script called BashBurn for GNU/Linux; this originally does
Xnot have the best eye-candy CD-burning UI, nevertheless, MyBashBurn uses dialog
Xboxes/functions which draws (using ncurses) windows onto the screen. MyBashBurn
Xdialog boxes offer good functionality, and has very good capabilities of
Xautomatically finding dependencies and auto detecting devices CD/DVD RW. In
Xshort, do not reinvent the wheel - just let MyBashBurn do what you want it to
Xdo.
X
XMyBashBurn can burn data Cd's, music Cd's, multisession Cd's. It can burn and
Xcreate ISO files. It can burn bin/cue files, create mp3s, oggs and flac files.
XSupports burning DVD-images and data DVDs, and other funny options. Also makes
Xuse of advanced and extensive regular expressions for the control of the
Xcapabilities of backend applications to burn and create audio files. MyBashBurn
Xdepends on cdrecord and other backend applications, so basically if your
Xwriting device works with it, MyBashBurn will work flawlessly.
END-of-sysutils/mybashburn/pkg-descr
echo x - sysutils/mybashburn/pkg-plist
sed 's/^X//' >sysutils/mybashburn/pkg-plist << 'END-of-sysutils/mybashburn/pkg-plist'
Xbin/mybashburn
X%%ETCDIR%%/mybashburnrc.sample
X%%DATADIR%%/misc/variables.idx
X%%DATADIR%%/misc/mount.sh
X%%DATADIR%%/misc/commonfunctions.sh
X%%DATADIR%%/misc/datadefine.sh
X%%DATADIR%%/misc/xmmsread.sh
X%%DATADIR%%/misc/check_path.sh
X%%DATADIR%%/misc/colors.idx
X%%DATADIR%%/misc/commands.idx
X%%DATADIR%%/menus/data_menu.sh
X%%DATADIR%%/menus/audio_menu.sh
X%%DATADIR%%/menus/iso_menu.sh
X%%DATADIR%%/lang/German/commonfunctions.lang
X%%DATADIR%%/lang/German/bincue.lang
X%%DATADIR%%/lang/German/datadefine.lang
X%%DATADIR%%/lang/German/iso_menu.lang
X%%DATADIR%%/lang/German/convert_mp3s.lang
X%%DATADIR%%/lang/German/configure.lang
X%%DATADIR%%/lang/German/audio_menu.lang
X%%DATADIR%%/lang/German/convert_oggs.lang
X%%DATADIR%%/lang/German/data_menu.lang
X%%DATADIR%%/lang/German/mount.lang
X%%DATADIR%%/lang/German/MyBashBurn.lang
X%%DATADIR%%/lang/German/check_path.lang
X%%DATADIR%%/lang/German/burning.lang
X%%DATADIR%%/lang/German/multi.lang
X%%DATADIR%%/lang/German/convert_flacs.lang
X%%DATADIR%%/lang/Polish/commonfunctions.lang
X%%DATADIR%%/lang/Polish/bincue.lang
X%%DATADIR%%/lang/Polish/datadefine.lang
X%%DATADIR%%/lang/Polish/iso_menu.lang
X%%DATADIR%%/lang/Polish/convert_mp3s.lang
X%%DATADIR%%/lang/Polish/configure.lang
X%%DATADIR%%/lang/Polish/audio_menu.lang
X%%DATADIR%%/lang/Polish/convert_oggs.lang
X%%DATADIR%%/lang/Polish/data_menu.lang
X%%DATADIR%%/lang/Polish/mount.lang
X%%DATADIR%%/lang/Polish/MyBashBurn.lang
X%%DATADIR%%/lang/Polish/check_path.lang
X%%DATADIR%%/lang/Polish/burning.lang
X%%DATADIR%%/lang/Polish/multi.lang
X%%DATADIR%%/lang/Polish/convert_flacs.lang
X%%DATADIR%%/lang/Swedish/commonfunctions.lang
X%%DATADIR%%/lang/Swedish/bincue.lang
X%%DATADIR%%/lang/Swedish/datadefine.lang
X%%DATADIR%%/lang/Swedish/iso_menu.lang
X%%DATADIR%%/lang/Swedish/convert_mp3s.lang
X%%DATADIR%%/lang/Swedish/configure.lang
X%%DATADIR%%/lang/Swedish/audio_menu.lang
X%%DATADIR%%/lang/Swedish/convert_oggs.lang
X%%DATADIR%%/lang/Swedish/data_menu.lang
X%%DATADIR%%/lang/Swedish/mount.lang
X%%DATADIR%%/lang/Swedish/MyBashBurn.lang
X%%DATADIR%%/lang/Swedish/check_path.lang
X%%DATADIR%%/lang/Swedish/burning.lang
X%%DATADIR%%/lang/Swedish/multi.lang
X%%DATADIR%%/lang/Swedish/convert_flacs.lang
X%%DATADIR%%/lang/English/commonfunctions.lang
X%%DATADIR%%/lang/English/bincue.lang
X%%DATADIR%%/lang/English/datadefine.lang
X%%DATADIR%%/lang/English/iso_menu.lang
X%%DATADIR%%/lang/English/convert_mp3s.lang
X%%DATADIR%%/lang/English/configure.lang
X%%DATADIR%%/lang/English/audio_menu.lang
X%%DATADIR%%/lang/English/convert_oggs.lang
X%%DATADIR%%/lang/English/data_menu.lang
X%%DATADIR%%/lang/English/mount.lang
X%%DATADIR%%/lang/English/MyBashBurn.lang
X%%DATADIR%%/lang/English/check_path.lang
X%%DATADIR%%/lang/English/xmmsread.lang
X%%DATADIR%%/lang/English/burning.lang
X%%DATADIR%%/lang/English/multi.lang
X%%DATADIR%%/lang/English/convert_flacs.lang
X%%DATADIR%%/lang/Czech/multi.lang
X%%DATADIR%%/lang/Czech/bincue.lang
X%%DATADIR%%/lang/Czech/datadefine.lang
X%%DATADIR%%/lang/Czech/iso_menu.lang
X%%DATADIR%%/lang/Czech/convert_mp3s.lang
X%%DATADIR%%/lang/Czech/configure.lang
X%%DATADIR%%/lang/Czech/audio_menu.lang
X%%DATADIR%%/lang/Czech/convert_oggs.lang
X%%DATADIR%%/lang/Czech/data_menu.lang
X%%DATADIR%%/lang/Czech/mount.lang
X%%DATADIR%%/lang/Czech/MyBashBurn.lang
X%%DATADIR%%/lang/Czech/check_path.lang
X%%DATADIR%%/lang/Czech/burning.lang
X%%DATADIR%%/lang/Czech/convert_flacs.lang
X%%DATADIR%%/lang/Spanish/commonfunctions.lang
X%%DATADIR%%/lang/Spanish/bincue.lang
X%%DATADIR%%/lang/Spanish/datadefine.lang
X%%DATADIR%%/lang/Spanish/iso_menu.lang
X%%DATADIR%%/lang/Spanish/convert_mp3s.lang
X%%DATADIR%%/lang/Spanish/configure.lang
X%%DATADIR%%/lang/Spanish/audio_menu.lang
X%%DATADIR%%/lang/Spanish/convert_oggs.lang
X%%DATADIR%%/lang/Spanish/data_menu.lang
X%%DATADIR%%/lang/Spanish/mount.lang
X%%DATADIR%%/lang/Spanish/MyBashBurn.lang
X%%DATADIR%%/lang/Spanish/check_path.lang
X%%DATADIR%%/lang/Spanish/xmmsread.lang
X%%DATADIR%%/lang/Spanish/burning.lang
X%%DATADIR%%/lang/Spanish/multi.lang
X%%DATADIR%%/lang/Spanish/convert_flacs.lang
X%%DATADIR%%/lang/Norwegian/multi.lang
X%%DATADIR%%/lang/Norwegian/bincue.lang
X%%DATADIR%%/lang/Norwegian/datadefine.lang
X%%DATADIR%%/lang/Norwegian/iso_menu.lang
X%%DATADIR%%/lang/Norwegian/convert_mp3s.lang
X%%DATADIR%%/lang/Norwegian/configure.lang
X%%DATADIR%%/lang/Norwegian/audio_menu.lang
X%%DATADIR%%/lang/Norwegian/convert_oggs.lang
X%%DATADIR%%/lang/Norwegian/data_menu.lang
X%%DATADIR%%/lang/Norwegian/mount.lang
X%%DATADIR%%/lang/Norwegian/MyBashBurn.lang
X%%DATADIR%%/lang/Norwegian/check_path.lang
X%%DATADIR%%/lang/Norwegian/burning.lang
X%%DATADIR%%/lang/Norwegian/convert_flacs.lang
X%%DATADIR%%/convert/convert_oggs.sh
X%%DATADIR%%/convert/convert_flacs.sh
X%%DATADIR%%/convert/convert_mp3s.sh
X%%DATADIR%%/config/reset_options.sh
X%%DATADIR%%/config/apply_options.sh
X%%DATADIR%%/config/configure.sh
X%%DATADIR%%/burning/bincue.sh
X%%DATADIR%%/burning/multi.sh
X%%DATADIR%%/burning/burning.sh
X at dirrm %%DATADIR%%/burning
X at dirrm %%DATADIR%%/config
X at dirrm %%DATADIR%%/convert
X at dirrm %%DATADIR%%/lang/Norwegian
X at dirrm %%DATADIR%%/lang/Spanish
X at dirrm %%DATADIR%%/lang/Czech
X at dirrm %%DATADIR%%/lang/English
X at dirrm %%DATADIR%%/lang/Swedish
X at dirrm %%DATADIR%%/lang/Polish
X at dirrm %%DATADIR%%/lang/German
X at dirrm %%DATADIR%%/lang
X at dirrm %%DATADIR%%/menus
X at dirrm %%DATADIR%%/misc
X at dirrm %%DATADIR%%
END-of-sysutils/mybashburn/pkg-plist
exit
--- mybashburn.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list