pkgsrc-wip/ripit/Makefile
Johann Franz fa151dcd01 3.6.0 16/06/07 Fixed bug on special characters for tags during
submission of CDDB entries.
			Fixed unpleasent behaviour if Lame is not
			installed.
			Fixed semi-bug on deletion of wavs using remote
			machines.
			Added option --merge to merge tracks for gapless
			encoding.
			Added option --resume to continue a previously
			started session.
			Added option --ghost to split tracks with gaps
			into chunks of sound (at experimental stage).
			Added options --prepend and --extend to enlarge
			chunks of sound when splitted with option --ghost.
			Added option --ejectcmd to specify command used
			to control ejection/loading of CD.
			Added option --ejectopt to specify options and
			arguments for --ejectcmd.
			Added optons --dpermission and --fpermission to
			set directory and file permissions.
			Added option --md5sum to create MD5-sum files for
			each type of sound files.
			Added option --nicerip to set niceness of ripping
			process.
			Added option --core to allow several encoding
			processes on each machine.
			Enhanced output from encoding process not to
			interfer with output of ripper.
			Submission of CDDB entries uses sendmail, not
			mail or nail.
			Some fine-tuning on detection of hidden-tracks
			and ghost-songs.
			Enhanced detection of perl modules needed,
			Ripit depends not on CDDB_get 2.22 but 2.25 and
			newer, please update.
2007-07-23 13:12:53 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2007/07/23 13:12:53 netcap Exp $
#
DISTNAME= ripit-3.6.0
CATEGORIES= audio
MASTER_SITES= http://www.suwald.com/ripit/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jfranz@bsdprojects.net
HOMEPAGE= http://www.suwald.com/ripit/
COMMENT= Perl-script frontend for encoding audio CDs to OGG/MP3 files
NO_BUILD= yes
USE_TOOLS+= perl:run
REPLACE_PERL= ${WRKSRC}/ripit.pl
DEPENDS= p5-CDDB_get>=0:../../audio/p5-CDDB_get
DEPENDS+= p5-libwww>=0:../../www/p5-libwww
DEPENDS+= cdparanoia>=0:../../audio/cdparanoia
DEPENDS+= vorbis-tools>=0:../../audio/vorbis-tools
#DEPENDS+= lame>=0:../../audio/lame
#DEPENDS+= flac>=0:../../audio/flac
#DEPENDS+= faac>=0:../../audio/faac
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j
SUBST_CLASSES+= fix-dev
SUBST_STAGE.fix-dev= do-configure
SUBST_FILES.fix-dev= ripit.pl ripit.1
SUBST_SED.fix-dev= -e 's,/dev/cdrom,/dev/rcd0${RAWPART_cmd:sh},g'
.endif
do-configure:
${MV} ${WRKSRC}/ripit.pl ${WRKSRC}/ripit.pl.dist
${SED} -e 's,my @coder.*;,my @coder= \(1\);,1' ${WRKSRC}/ripit.pl.dist > ${WRKSRC}/ripit.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
${INSTALL_MAN} ${WRKSRC}/ripit.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ripit
${INSTALL_DATA} ${WRKSRC}/config ${PREFIX}/share/examples/ripit
.include "../../mk/bsd.pkg.mk"