Disc-Cover creates front and back covers for audio CDs. The CD has to be present in the CD-ROM drive, or alternatively a valid CDDB file can be used. Disc-Cover searches the CDDB database for an entry corresponding to the CD's CDDB ID. It starts by looking for a local CDDB entry in ~/.cddb (or another directory pointed to by your cddb installation). If no local CDDB entry matches the CD, disc-cover continues to search the online CDDB databases or CDINDEX databases as configured in the AudioCD library. It then formats the entry to produce a Latex, Dvi, Postscript or PDF file, which contains the front and back covers on a single page. Other formats supported include a simple text output, a CDDB compatible format, HTML and an output format that can be used with cdlabelgen (http://www.red-bean.com/~bwf/software/cdlabelgen/), another cover builder. WWW: http://www.liacs.nl/~jvhemert/disc-cover MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
36 lines
909 B
Makefile
36 lines
909 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/16 21:56:35 pvalchev Exp $
|
|
|
|
COMMENT= "creates cover for audio cds using cddb and latex"
|
|
|
|
DISTNAME= disc-cover-1.2.2
|
|
CATEGORIES= audio
|
|
NEED_VERSION= 1.438
|
|
|
|
HOMEPAGE= http://www.liacs.nl/~jvhemert/disc-cover
|
|
|
|
MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/unstable/
|
|
|
|
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
|
|
RUN_DEPENDS= latex::print/teTeX/base \
|
|
convert::graphics/ImageMagick \
|
|
${PERL_MODULES}/LWP.pm::www/p5-libwww \
|
|
${PERL_MODULES}/${MACHINE_ARCH}-openbsd/Audio/CD.pm::audio/p5-Audio-CD
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}; \
|
|
pod2man disc-cover disc-cover.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/disc-cover ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/disc-cover.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|