diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-09-14 12:26:27 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-09-14 12:26:27 +0800 |
commit | 16331ba92d6da05910492582e5d11a9333a792a3 (patch) | |
tree | fb61bfd3e3bbc09ddbaf259c495195090a030ac3 /sysutils/bashburn | |
parent | a8e225608ce3299c56289a6b4cb58e28597bfe30 (diff) | |
download | freebsd-ports-gnome-16331ba92d6da05910492582e5d11a9333a792a3.tar.gz freebsd-ports-gnome-16331ba92d6da05910492582e5d11a9333a792a3.tar.zst freebsd-ports-gnome-16331ba92d6da05910492582e5d11a9333a792a3.zip |
Sick of all those fancy CD-burning apps not working for you? You need
something that just gets the work done? Welcome to BashBurn - It just
works!
BashBurn is the new name for the cd burning shell script Magma. It's
not the best looking CD-burning application out there, but it does
what you want it to do. (And if not then probably didn't want to do it
anyway)
WWW: http://bashburn.sourceforge.net/
PR: ports/115846
Submitted by: Martin Tournoij <carpetsmoker at xs4all.nl>
Diffstat (limited to 'sysutils/bashburn')
-rw-r--r-- | sysutils/bashburn/Makefile | 77 | ||||
-rw-r--r-- | sysutils/bashburn/distinfo | 3 | ||||
-rw-r--r-- | sysutils/bashburn/files/patch-BashBurn.sh | 24 | ||||
-rw-r--r-- | sysutils/bashburn/pkg-descr | 10 | ||||
-rw-r--r-- | sysutils/bashburn/pkg-message | 12 | ||||
-rw-r--r-- | sysutils/bashburn/pkg-plist | 177 |
6 files changed, 303 insertions, 0 deletions
diff --git a/sysutils/bashburn/Makefile b/sysutils/bashburn/Makefile new file mode 100644 index 000000000000..b9356ba6287f --- /dev/null +++ b/sysutils/bashburn/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: sysutils/bashburn +# Date created: 24 august 2007 +# Whom: Martin Tournoij <carpetsmoker@xs4all.nl> +# +# $FreeBSD$ +# + +PORTNAME= bashburn +PORTVERSION= 2.1.1 +CATEGORIES= sysutils +MASTER_SITES= SF +DISTNAME= BashBurn-${PORTVERSION} + +MAINTAINER= carpetsmoker@xs4all.nl +COMMENT= CD burning bash script + +RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash + +NO_BUILD= yes +USE_CDRTOOLS= yes + +OPTIONS= CDRDAO "Disk-At-Once Recording" on \ + DVDTOOLS "Frontend to master DVD media" on \ + EJECT "Ejecting the CD/DVD drive" on \ + FLAC "Free Lossless Audio Codec" on \ + LAME "LGPL MP3 encoder" on \ + MPG123 "Mpg audio player (for MP3-decompression)" on \ + NORMALIZE "An audio file volume normalizer" on \ + SUDO "To allow non-privileged users to burn CD's" on \ + VORBIS "ogg/vorbis audio encoding/decoding" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_CDRDAO) +RUN_DEPENDS+= ${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao +.endif +.if !defined(WITHOUT_DVDTOOLS) +RUN_DEPENDS+= ${LOCALBASE}/bin/dvd+rw-mediainfo:${PORTSDIR}/sysutils/dvd+rw-tools +.endif +.if !defined(WITHOUT_EJECT) +RUN_DEPENDS+= ${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject +.endif +.if !defined(WITHOUT_FLAC) +RUN_DEPENDS+= ${LOCALBASE}/bin/flac:${PORTSDIR}/audio/flac +.endif +.if !defined(WITHOUT_LAME) +RUN_DEPENDS+= ${LOCALBASE}/bin/lame:${PORTSDIR}/audio/lame +.endif +.if !defined(WITHOUT_MPG123) +RUN_DEPENDS+= ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123 +.endif +.if !defined(WITHOUT_NORMALIZE) +RUN_DEPENDS+= ${LOCALBASE}/bin/normalize:${PORTSDIR}/audio/normalize +.endif +.if !defined(WITHOUT_SUDO) +RUN_DEPENDS+= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo +.endif +.if !defined(WITHOUT_VORBIS) +RUN_DEPENDS+= ${LOCALBASE}/bin/ogg123:${PORTSDIR}/audio/vorbis-tools +.endif + +post-patch: + @${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|' \ + ${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} + +.include <bsd.port.post.mk> diff --git a/sysutils/bashburn/distinfo b/sysutils/bashburn/distinfo new file mode 100644 index 000000000000..8f351571973a --- /dev/null +++ b/sysutils/bashburn/distinfo @@ -0,0 +1,3 @@ +MD5 (BashBurn-2.1.1.tar.gz) = bc67340aa00ffe27b51b13d20cbbfe17 +SHA256 (BashBurn-2.1.1.tar.gz) = fcdbff0d38652df283d0b3f774b8efefc301ec2067d33a17dd67ea23d9c5102f +SIZE (BashBurn-2.1.1.tar.gz) = 103937 diff --git a/sysutils/bashburn/files/patch-BashBurn.sh b/sysutils/bashburn/files/patch-BashBurn.sh new file mode 100644 index 000000000000..9d2314746086 --- /dev/null +++ b/sysutils/bashburn/files/patch-BashBurn.sh @@ -0,0 +1,24 @@ +--- BashBurn.sh.orig 2007-07-18 21:48:55.000000000 +0200 ++++ BashBurn.sh 2007-08-24 14:58:30.000000000 +0200 +@@ -31,18 +31,13 @@ + # This is run at first + init_bashburn() + { +- if [[ -r "${BBCONFFILE}" ]]; then # If /etc/bashburnrc exists, read in the vars. ++ if [[ ! -r "${BBCONFFILE}" ]]; then ++ cp ${BBCONFFILE}.sample ${BBCONFFILE} ++ fi + export BBROOTDIR="$( cat $BBCONFFILE | grep -v '^#' | grep BBROOTDIR: | cut -d ":" -f 2- | sed -e "s/^[[:blank:]]//g")" + source ${BBROOTDIR}/misc/commands.idx + source ${BBROOTDIR}/misc/variables.idx + export BBTEMPMOUNTDIR="${BBBURNDIR}/mnt" +- else +- echo "There is no '${BBCONFFILE}'" 1>&2 +- echo "That is the file where BashBurn stores its settings." +- echo "You must run the BashBurn installation script first as root to install" +- echo "all needed files. Do that now and then start 'bashburn' again." +- exit 1 +- fi + + # Read in the language file + source ${BBROOTDIR}/lang/${BBLANG}/BashBurn.lang diff --git a/sysutils/bashburn/pkg-descr b/sysutils/bashburn/pkg-descr new file mode 100644 index 000000000000..fec3f869ede3 --- /dev/null +++ b/sysutils/bashburn/pkg-descr @@ -0,0 +1,10 @@ +Sick of all those fancy CD-burning apps not working for you? You need +something that just gets the work done? Welcome to BashBurn - It just +works! + +BashBurn is the new name for the cd burning shell script Magma. It's +not the best looking CD-burning application out there, but it does +what you want it to do. (And if not then probably didn't want to do it +anyway) + +WWW: http://bashburn.sourceforge.net/ diff --git a/sysutils/bashburn/pkg-message b/sysutils/bashburn/pkg-message new file mode 100644 index 000000000000..7c16c3420ac0 --- /dev/null +++ b/sysutils/bashburn/pkg-message @@ -0,0 +1,12 @@ +===================================================================== + +The FreeBSD cdrtools (To which BashBurn is a front-end) port supports +SCSI drives only. If you have an ATA CD/DVD drive, use them through +the cam system. See Chapter 12.5.9 of the handbook: + +http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM + +ATA devices have to be accessed through their atapicam device, i.e. +/dev/cd0 instead of /dev/acd0. + +===================================================================== diff --git a/sysutils/bashburn/pkg-plist b/sysutils/bashburn/pkg-plist new file mode 100644 index 000000000000..701b62872e3b --- /dev/null +++ b/sysutils/bashburn/pkg-plist @@ -0,0 +1,177 @@ +bin/bashburn +etc/bashburnrc.sample +%%DATADIR%%/burning/bincue.sh +%%DATADIR%%/burning/burning.sh +%%DATADIR%%/burning/multi.sh +%%DATADIR%%/config/apply_options.sh +%%DATADIR%%/config/configure.sh +%%DATADIR%%/config/reset_options.sh +%%DATADIR%%/convert/convert_flacs.sh +%%DATADIR%%/convert/convert_mp3s.sh +%%DATADIR%%/convert/convert_oggs.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/Czech/BashBurn.lang +%%DATADIR%%/lang/Czech/README +%%DATADIR%%/lang/Czech/audio_menu.lang +%%DATADIR%%/lang/Czech/bincue.lang +%%DATADIR%%/lang/Czech/burning.lang +%%DATADIR%%/lang/Czech/check_path.lang +%%DATADIR%%/lang/Czech/configure.lang +%%DATADIR%%/lang/Czech/convert_flacs.lang +%%DATADIR%%/lang/Czech/convert_mp3s.lang +%%DATADIR%%/lang/Czech/convert_oggs.lang +%%DATADIR%%/lang/Czech/data_menu.lang +%%DATADIR%%/lang/Czech/datadefine.lang +%%DATADIR%%/lang/Czech/iso_menu.lang +%%DATADIR%%/lang/Czech/mount.lang +%%DATADIR%%/lang/Czech/multi.lang +%%DATADIR%%/lang/English/BashBurn.lang +%%DATADIR%%/lang/English/README +%%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/commonfunctions.lang +%%DATADIR%%/lang/English/configure.lang +%%DATADIR%%/lang/English/convert_flacs.lang +%%DATADIR%%/lang/English/convert_mp3s.lang +%%DATADIR%%/lang/English/convert_oggs.lang +%%DATADIR%%/lang/English/data_menu.lang +%%DATADIR%%/lang/English/datadefine.lang +%%DATADIR%%/lang/English/iso_menu.lang +%%DATADIR%%/lang/English/loopback.lang +%%DATADIR%%/lang/English/mount.lang +%%DATADIR%%/lang/English/multi.lang +%%DATADIR%%/lang/German/BashBurn.lang +%%DATADIR%%/lang/German/README +%%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/commonfunctions.lang +%%DATADIR%%/lang/German/configure.lang +%%DATADIR%%/lang/German/convert_flacs.lang +%%DATADIR%%/lang/German/convert_mp3s.lang +%%DATADIR%%/lang/German/convert_oggs.lang +%%DATADIR%%/lang/German/data_menu.lang +%%DATADIR%%/lang/German/datadefine.lang +%%DATADIR%%/lang/German/iso_menu.lang +%%DATADIR%%/lang/German/mount.lang +%%DATADIR%%/lang/German/multi.lang +%%DATADIR%%/lang/Italian/BashBurn.lang +%%DATADIR%%/lang/Italian/README +%%DATADIR%%/lang/Italian/audio_menu.lang +%%DATADIR%%/lang/Italian/bincue.lang +%%DATADIR%%/lang/Italian/burning.lang +%%DATADIR%%/lang/Italian/check_path.lang +%%DATADIR%%/lang/Italian/commonfunctions.lang +%%DATADIR%%/lang/Italian/configure.lang +%%DATADIR%%/lang/Italian/convert_flacs.lang +%%DATADIR%%/lang/Italian/convert_mp3s.lang +%%DATADIR%%/lang/Italian/convert_oggs.lang +%%DATADIR%%/lang/Italian/data_menu.lang +%%DATADIR%%/lang/Italian/datadefine.lang +%%DATADIR%%/lang/Italian/iso_menu.lang +%%DATADIR%%/lang/Italian/loopback.lang +%%DATADIR%%/lang/Italian/mount.lang +%%DATADIR%%/lang/Italian/multi.lang +%%DATADIR%%/lang/Norwegian/BashBurn.lang +%%DATADIR%%/lang/Norwegian/audio_menu.lang +%%DATADIR%%/lang/Norwegian/bincue.lang +%%DATADIR%%/lang/Norwegian/burning.lang +%%DATADIR%%/lang/Norwegian/check_path.lang +%%DATADIR%%/lang/Norwegian/configure.lang +%%DATADIR%%/lang/Norwegian/convert_flacs.lang +%%DATADIR%%/lang/Norwegian/convert_mp3s.lang +%%DATADIR%%/lang/Norwegian/convert_oggs.lang +%%DATADIR%%/lang/Norwegian/data_menu.lang +%%DATADIR%%/lang/Norwegian/datadefine.lang +%%DATADIR%%/lang/Norwegian/iso_menu.lang +%%DATADIR%%/lang/Norwegian/mount.lang +%%DATADIR%%/lang/Norwegian/multi.lang +%%DATADIR%%/lang/Polish/BashBurn.lang +%%DATADIR%%/lang/Polish/README +%%DATADIR%%/lang/Polish/audio_menu.lang +%%DATADIR%%/lang/Polish/bincue.lang +%%DATADIR%%/lang/Polish/burning.lang +%%DATADIR%%/lang/Polish/check_path.lang +%%DATADIR%%/lang/Polish/commonfunctions.lang +%%DATADIR%%/lang/Polish/configure.lang +%%DATADIR%%/lang/Polish/convert_flacs.lang +%%DATADIR%%/lang/Polish/convert_mp3s.lang +%%DATADIR%%/lang/Polish/convert_oggs.lang +%%DATADIR%%/lang/Polish/data_menu.lang +%%DATADIR%%/lang/Polish/datadefine.lang +%%DATADIR%%/lang/Polish/iso_menu.lang +%%DATADIR%%/lang/Polish/loopback.lang +%%DATADIR%%/lang/Polish/mount.lang +%%DATADIR%%/lang/Polish/multi.lang +%%DATADIR%%/lang/Spanish/BashBurn.lang +%%DATADIR%%/lang/Spanish/README +%%DATADIR%%/lang/Spanish/audio_menu.lang +%%DATADIR%%/lang/Spanish/bincue.lang +%%DATADIR%%/lang/Spanish/burning.lang +%%DATADIR%%/lang/Spanish/check_path.lang +%%DATADIR%%/lang/Spanish/commonfunctions.lang +%%DATADIR%%/lang/Spanish/configure.lang +%%DATADIR%%/lang/Spanish/convert_flacs.lang +%%DATADIR%%/lang/Spanish/convert_mp3s.lang +%%DATADIR%%/lang/Spanish/convert_oggs.lang +%%DATADIR%%/lang/Spanish/data_menu.lang +%%DATADIR%%/lang/Spanish/datadefine.lang +%%DATADIR%%/lang/Spanish/iso_menu.lang +%%DATADIR%%/lang/Spanish/loopback.lang +%%DATADIR%%/lang/Spanish/mount.lang +%%DATADIR%%/lang/Spanish/multi.lang +%%DATADIR%%/lang/Swedish/BashBurn.lang +%%DATADIR%%/lang/Swedish/README +%%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_flacs.lang +%%DATADIR%%/lang/Swedish/convert_mp3s.lang +%%DATADIR%%/lang/Swedish/convert_oggs.lang +%%DATADIR%%/lang/Swedish/data_menu.lang +%%DATADIR%%/lang/Swedish/datadefine.lang +%%DATADIR%%/lang/Swedish/iso_menu.lang +%%DATADIR%%/lang/Swedish/loopback.lang +%%DATADIR%%/lang/Swedish/mount.lang +%%DATADIR%%/lang/Swedish/multi.lang +%%DATADIR%%/menus/audio_menu.sh +%%DATADIR%%/menus/data_menu.sh +%%DATADIR%%/menus/iso_menu.sh +%%DATADIR%%/misc/check_path.sh +%%DATADIR%%/misc/colors.idx +%%DATADIR%%/misc/commands.idx +%%DATADIR%%/misc/commonfunctions.sh +%%DATADIR%%/misc/datadefine.sh +%%DATADIR%%/misc/loopback.sh +%%DATADIR%%/misc/mount.sh +%%DATADIR%%/misc/variables.idx +%%DATADIR%%/misc/xmmsread.sh +@dirrm %%DATADIR%%/burning +@dirrm %%DATADIR%%/config +@dirrm %%DATADIR%%/convert +@dirrm %%DATADIR%%/func +@dirrm %%DATADIR%%/lang/Czech +@dirrm %%DATADIR%%/lang/English +@dirrm %%DATADIR%%/lang/German +@dirrm %%DATADIR%%/lang/Italian +@dirrm %%DATADIR%%/lang/Norwegian +@dirrm %%DATADIR%%/lang/Polish +@dirrm %%DATADIR%%/lang/Spanish +@dirrm %%DATADIR%%/lang/Swedish +@dirrm %%DATADIR%%/lang +@dirrm %%DATADIR%%/menus +@dirrm %%DATADIR%%/misc +@dirrm %%DATADIR%% |