Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 10:03:00 +0100 (CET)
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34106: New Port: audio/disc-cover
Message-ID:  <200201210903.g0L930x02772@energyhq.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         34106
>Category:       ports
>Synopsis:       New Port: audio/disc-cover
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 01:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD energyhq.homeip.net 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 18 19:08:06 CET 2002 root@energyhq.homeip.net:/storage2/obj/storage2/src/sys/ENERGYHQ i386


	
>Description:
disc-cover provides an easy way to produce covers for audio cds. It scans
audio cds and uses information from the freedb database to build a back and
front cover for the cd. The cover is output is in Latex, Dvi, Pdf or
Postscript.

IMPORTANT: This port depends on a previous PR from me (p5-FreeDB) so whoever
commits this needs to have p5-FreeDB commited first.

>How-To-Repeat:
	
>Fix:

	

--- disc-cover.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:
#
#	disc-cover/
#	disc-cover/pkg-descr
#	disc-cover/pkg-comment
#	disc-cover/distinfo
#	disc-cover/Makefile
#	disc-cover/pkg-plist
#
echo c - disc-cover/
mkdir -p disc-cover/ > /dev/null 2>&1
echo x - disc-cover/pkg-descr
sed 's/^X//' >disc-cover/pkg-descr << 'END-of-disc-cover/pkg-descr'
Xdisc-cover provides an easy way to produce covers for audio cds. It scans
Xaudio cds and uses information from the freedb database to build a back and
Xfront cover for the cd. The cover is output is in Latex, Dvi, Pdf or
XPostscript.
X
XWWW: http://www.liacs.nl/~jvhemert/disc-cover/
XMiguel Mendez <flynn@energyhq.homeip.net>
END-of-disc-cover/pkg-descr
echo x - disc-cover/pkg-comment
sed 's/^X//' >disc-cover/pkg-comment << 'END-of-disc-cover/pkg-comment'
XTool to produce covers from audio CDs using FreeDB
END-of-disc-cover/pkg-comment
echo x - disc-cover/distinfo
sed 's/^X//' >disc-cover/distinfo << 'END-of-disc-cover/distinfo'
XMD5 (disc-cover-1.0.1.tar.gz) = 605aa577d2f0164bdabb7a631bae8251
END-of-disc-cover/distinfo
echo x - disc-cover/Makefile
sed 's/^X//' >disc-cover/Makefile << 'END-of-disc-cover/Makefile'
X# New ports collection makefile for:    disc-cover
X# Date created:         20 Jan 2002
X# Whom:                 Miguel Mendez <flynn@energyhq.homeip.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	disc-cover
XPORTVERSION=	1.0.1
XCATEGORIES=	audio
XMASTER_SITES=	http://www.liacs.nl/~jvhemert/disc-cover/download/stable/
X
XMAINTAINER=     flynn@energyhq.homeip.net
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/$(PERL_VER)/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
X		${LOCALBASE}/lib/perl5/site_perl/$(PERL_VER)/FreeDB.pm:${PORTSDIR}/audio/p5-FreeDB \
X		latex:${PORTSDIR}/print/latex \
X		dvips:${PORTSDIR}/print/dvips \
X		convert:${PORTSDIR}/graphics/ImageMagick/
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/$(PERL_VER)/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
X		${LOCALBASE}/lib/perl5/site_perl/$(PERL_VER)/FreeDB.pm:${PORTSDIR}/audio/p5-FreeDB \
X		latex:${PORTSDIR}/print/latex \
X		dvips:${PORTSDIR}/print/dvips \
X		convert:${PORTSDIR}/graphics/ImageMagick/
X
XMAN1=		disc-cover.1
X
Xpost-patch:
X		@${PERL} -pi -e 's@/etc/disc-cover.conf@${LOCALBASE}/etc/disc-cover.conf@g' ${WRKSRC}/disc-cover
X		@$(ECHO) "all:" > ${WRKSRC}/Makefile
X		@$(ECHO) >> ${WRKSRC}/Makefile
X		@$(ECHO) "install:" >> ${WRKSRC}/Makefile
X
X# This port doesn't have a Makefile, and we need to fix some stuff (like the conf file name)
X
Xpost-install:
X		@${INSTALL} ${WRKSRC}/disc-cover ${LOCALBASE}/bin
X		@${INSTALL} ${WRKSRC}/example.conf ${LOCALBASE}/etc/${PORTNAME}.conf.sample
X		@${INSTALL} ${WRKSRC}/disc-cover.1 ${LOCALBASE}/man/man1
X		@${ECHO}
X		@${ECHO} "	############################################################"
X		@${ECHO} "	You can set your preferences by editing the file ${PORTNAME}.conf.sample"
X		@${ECHO} "	in ${LOCALBASE}/etc and renaming it to ${PORTNAME}.conf"
X		@${ECHO} "	############################################################"
X		@${ECHO}
X
X.include <bsd.port.mk>
END-of-disc-cover/Makefile
echo x - disc-cover/pkg-plist
sed 's/^X//' >disc-cover/pkg-plist << 'END-of-disc-cover/pkg-plist'
Xbin/disc-cover
Xetc/disc-cover.conf.sample
END-of-disc-cover/pkg-plist
exit
--- disc-cover.shar ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201210903.g0L930x02772>