From ahze@gentoo.ahze.net  Tue Mar 30 17:18:51 2004
Return-Path: <ahze@gentoo.ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6AC5A16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Mar 2004 17:18:51 -0800 (PST)
Received: from gentoo.ahze.net (adsl-068-209-163-003.sip.clt.bellsouth.net [68.209.163.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C49E243D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Mar 2004 17:18:50 -0800 (PST)
	(envelope-from ahze@gentoo.ahze.net)
Received: from gentoo.ahze.net (localhost [127.0.0.1])
	by gentoo.ahze.net (8.12.11/8.12.11) with ESMTP id i2V1J5F9095125
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Mar 2004 20:19:05 -0500 (EST)
	(envelope-from ahze@gentoo.ahze.net)
Received: (from root@localhost)
	by gentoo.ahze.net (8.12.11/8.12.11/Submit) id i2V1J4jH095124;
	Tue, 30 Mar 2004 20:19:04 -0500 (EST)
	(envelope-from ahze)
Message-Id: <200403310119.i2V1J4jH095124@gentoo.ahze.net>
Date: Tue, 30 Mar 2004 20:19:04 -0500 (EST)
From: michael johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] multimedia/lsdvd: Print information about the contents and structure of a DVD
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         64962
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/lsdvd: Print information about the contents and structure of a DVD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 30 17:20:19 PST 2004
>Closed-Date:    Wed Mar 31 06:18:50 PST 2004
>Last-Modified:  Wed Mar 31 06:18:50 PST 2004
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #38: Sat Mar 27 18:30:44 EST 2004
>Description:
Print information about the contents and structure of a DVD.

WWW:	http://acidrip.thirtythreeandathird.net/
 
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- lsdvd-0.10.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:
#
#	lsdvd
#	lsdvd/pkg-descr
#	lsdvd/Makefile
#	lsdvd/distinfo
#
echo c - lsdvd
mkdir -p lsdvd > /dev/null 2>&1
echo x - lsdvd/pkg-descr
sed 's/^X//' >lsdvd/pkg-descr << 'END-of-lsdvd/pkg-descr'
XPrint information about the contents and structure of a DVD.
X
XWWW:	http://acidrip.thirtythreeandathird.net/
END-of-lsdvd/pkg-descr
echo x - lsdvd/Makefile
sed 's/^X//' >lsdvd/Makefile << 'END-of-lsdvd/Makefile'
X# New ports collection makefile for:	lsdvd
X# Date created:		2004-03-30
X# Whom:			michael johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lsdvd
XPORTVERSION=	0.10
XCATEGORIES=	multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	acidrip
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	Print information about the contents and structure of a DVD
X
XLIB_DEPENDS=	dvdread.3:${PORTSDIR}/multimedia/libdvdread
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XPLIST_FILES=	bin/lsdvd
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_DVD_DEVICE)
XDEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
X.else
X.if ${OSVERSION} < 500000
XDEFAULT_DVD_DEVICE=/dev/acd0c
X.else
XDEFAULT_DVD_DEVICE=/dev/acd0
X.endif
X.endif
X
Xpre-everything::
X.if !defined(WITH_DVD_DEVICE)
X	@${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
X	@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
X	@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
X		${WRKSRC}/lsdvd.c
X
X.include <bsd.port.post.mk>
END-of-lsdvd/Makefile
echo x - lsdvd/distinfo
sed 's/^X//' >lsdvd/distinfo << 'END-of-lsdvd/distinfo'
XMD5 (lsdvd-0.10.tar.gz) = 7fd659f8e26fd790ecc4903d7961985a
XSIZE (lsdvd-0.10.tar.gz) = 36206
END-of-lsdvd/distinfo
exit
--- lsdvd-0.10.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed Mar 31 06:18:42 PST 2004 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64962 
>Unformatted:
