From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 2 15:50:17 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EB6B16A4D0 for ; Sun, 2 May 2004 15:50:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0873343D5E for ; Sun, 2 May 2004 15:50:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i42MoGqJ009077 for ; Sun, 2 May 2004 15:50:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i42MoGEU009076; Sun, 2 May 2004 15:50:16 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 2 May 2004 15:50:16 -0700 (PDT) Resent-Message-Id: <200405022250.i42MoGEU009076@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, michael johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9520716A4CF for ; Sun, 2 May 2004 15:46:16 -0700 (PDT) Received: from ahze.ahze.net (adsl-068-209-163-003.sip.clt.bellsouth.net [68.209.163.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22F8843D46 for ; Sun, 2 May 2004 15:46:16 -0700 (PDT) (envelope-from root@ahze.net) Received: by ahze.ahze.net (Postfix, from userid 0) id 9BB02664E; Sun, 2 May 2004 18:47:14 -0400 (EDT) Message-Id: <20040502224714.9BB02664E@ahze.ahze.net> Date: Sun, 2 May 2004 18:47:14 -0400 (EDT) From: michael johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/66184: [MAINTAINER] multimedia/acidrip: [Change DVD support] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 22:50:17 -0000 >Number: 66184 >Category: ports >Synopsis: [MAINTAINER] multimedia/acidrip: [Change DVD support] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 02 15:50:16 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #43: Thu Apr 22 05:38:22 EDT 2004 >Description: -Change DVD support If you don't have a ATA dvd drive this can be confusing. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- acidrip-0.12_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/acidrip/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 2 Apr 2004 05:08:54 -0000 1.1 +++ Makefile 2 May 2004 22:34:45 -0000 @@ -7,6 +7,7 @@ PORTNAME= acidrip PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,11 +29,7 @@ .if defined(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else -.if ${OSVERSION} < 500000 -DEFAULT_DVD_DEVICE=/dev/acd0c -.else -DEFAULT_DVD_DEVICE=/dev/acd0 -.endif +DEFAULT_DVD_DEVICE=/dev/dvd .endif pre-everything:: @@ -43,8 +40,25 @@ .endif post-patch: +.if ${DEFAULT_DVD_DEVICE} != "/dev/dvd" @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ ${WRKSRC}/AcidRip/acidrip.pm @${RM} ${WRKSRC}/AcidRip/*.bak +.endif + +post-install: +.if !exists(${DEFAULT_DVD_DEVICE}) + @${ECHO_MSG} "===>" + @${ECHO_MSG} "===> The default dvd device '${DEFAULT_DVD_DEVICE}' was not found" + @${ECHO_MSG} "===> For dvd support to work you need to" +.if ${OSVERSION} < 500000 + @${ECHO_MSG} " ln -s /dev/yourDVDdev ${DEFAULT_DVD_DEVICE}" + @${ECHO_MSG} "=> The default DVD device for ATA is /dev/acd0c" +.else + @${ECHO_MSG} "===> Edit and add the following line to /etc/devfs.conf" + @${ECHO_MSG} " link yourDVDdev dvd" + @${ECHO_MSG} "=> The default DVD device for ATA is acd0" +.endif +.endif .include --- acidrip-0.12_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: