Bug 38751 - Port for discid
Summary: Port for discid
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-30 23:30 UTC by ob
Modified: 2003-04-06 02:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ob 2002-05-30 23:30:01 UTC
# 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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-04-06 02:11:07 UTC
State Changed
From-To: open->closed

Commited, thanks! 
(minor LOCALBASE fixes in files/patch*)