Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 00:24:07 +0200 (CEST)
From:      ob@breuninger.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38751: Port for discid
Message-ID:  <200205302224.g4UMO7K63797@www.partner.de>

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

>Number:         38751
>Category:       ports
>Synopsis:       Port for discid
>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:   Thu May 30 15:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Breuninger
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:

>Description:

# 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:
#
#	discid
#	discid/files
#	discid/files/patch-aa
#	discid/files/patch-ab
#	discid/Makefile
#	discid/distinfo
#	discid/pkg-comment
#	discid/pkg-descr
#	discid/pkg-plist
#
echo c - discid
mkdir -p discid > /dev/null 2>&1
echo c - discid/files
mkdir -p discid/files > /dev/null 2>&1
echo x - discid/files/patch-aa
sed 's/^X//' >discid/files/patch-aa << 'END-of-discid/files/patch-aa'
X--- discid.c.orig	Sat Apr 14 19:55:24 2001
X+++ discid.c	Mon May 27 18:33:37 2002
X@@ -92,5 +92,5 @@
X }
X 
X-void main(void) {
X+int main(void) {
X     unsigned long discid;
X     int tracks, i;
END-of-discid/files/patch-aa
echo x - discid/files/patch-ab
sed 's/^X//' >discid/files/patch-ab << 'END-of-discid/files/patch-ab'
X--- Makefile.orig	Sun Oct 15 10:08:53 2000
X+++ Makefile	Mon May 27 18:40:23 2002
X@@ -1,3 +1,10 @@
X+
X+all: discid
X+
X discid:	discid.c
X 	gcc -o discid discid.c
X-	strip discid
X+	strip discid
X+
X+install:
X+	cp -p discid /usr/local/bin
X+
END-of-discid/files/patch-ab
echo x - discid/Makefile
sed 's/^X//' >discid/Makefile << 'END-of-discid/Makefile'
X# New ports collection makefile for:	discid 1.3
X# Version required:	1.3
X# Date created:		May 27, 2002
X# Whom:			Oliver Breuninger <ob@breuninger.org>
X#
X# $Id: $
X
XPORTNAME=	discid
XPORTVERSION=	1.3
XDISTFILES=	discid-freebsd-1.3.tar.gz
XCATEGORIES=	audio
XMASTER_SITES=	http://family.zawodny.com/~jzawodn/c/discid/	\
X		http://www.breuninger.org/files/distfiles/ 
X
XMAINTAINER=	ob@breuninger.org
X
XWRKSRC=		${WRKDIR}/freebsd
X
XMAKE_ARGS=	discid
X
X.include <bsd.port.mk>
X
END-of-discid/Makefile
echo x - discid/distinfo
sed 's/^X//' >discid/distinfo << 'END-of-discid/distinfo'
XMD5 (discid-freebsd-1.3.tar.gz) = 3c955a49a2b5c95c71c8b73255c60c3e
END-of-discid/distinfo
echo x - discid/pkg-comment
sed 's/^X//' >discid/pkg-comment << 'END-of-discid/pkg-comment'
Xidentify audio cd in your drive
END-of-discid/pkg-comment
echo x - discid/pkg-descr
sed 's/^X//' >discid/pkg-descr << 'END-of-discid/pkg-descr'
X
X                          Readme for discid
X
X       A C Program to Compute CDDB discids on Linux and FreeBSD
X
X   Copyright (c) 1999-2001, Jeremy D. Zawodny <Jeremy@Zawodny.com>
X
X
XBACKGROUND
X
X    This is the README file for discid.
X
X    The discid home page is located at:
X        http://family.zawodny.com/jzawodn/c/discid/
X
X    There may be bugs in the code as well as in the documentation. If
X    you find either, I'd appreciate a patch or at least a mail message
X    to let me know what's wrong.
X
X    discid has been developed and tested on Linux and FreeBSD.  It may
X    work on other platforms with modification, but I don't know.  If
X    you install it on another platform, I'd like to hear about it. If
X    you develop patches for that platform, I'd REALLY like to hear
X    about it. Send me a note. There's nothing that I know to be
X    platform-dependent in here yet, but you never know.
X
X
XREQUIREMENTS
X
X    The following stuff is required to make this really work:
X
X      * gcc
X      * a CD-ROM Drive
X      * a Music CD
X
XINSTALLATION
X
X    Installing discid is an easy process. Just download the discid.c
X    and Makefile. Then:
X
X      % make
X      % cp discid ~/bin
X
XDOCUMENTATION
X
X    This is the only documentation so far.
X
XCREDITS
X
X    Joerg Hevers <joerg@freedb.org> pointed out a bug in the disc
X    length calculation.
X
END-of-discid/pkg-descr
echo x - discid/pkg-plist
sed 's/^X//' >discid/pkg-plist << 'END-of-discid/pkg-plist'
Xbin/discid
END-of-discid/pkg-plist
exit

>How-To-Repeat:
>Fix:
>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?200205302224.g4UMO7K63797>