- fix cd device

- remove unneeded configure
- don't hardcode /usr/local
- NO_REGRESS
This commit is contained in:
steven 2006-12-24 06:46:04 +00:00
parent c932352c93
commit cecd5a2f05
6 changed files with 16 additions and 34 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2006/12/24 06:46:04 steven Exp $
COMMENT= "gui to dvd+rw-tools and cdrecord"
COMMENT= "GUI to dvd+rw-tools and cdrecord"
DISTNAME= tkdvd-4.0.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils
HOMEPAGE= http://regis.damongeot.free.fr/tkdvd/
@ -19,20 +20,19 @@ MASTER_SITES= ${HOMEPAGE:=dl/}
WRKDIST= ${WRKDIR}/tkdvd
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix="${LOCALBASE}/bin"
BUILD_DEPENDS= :tcl->=8.4:lang/tcl/8.4
BUILD_DEPENDS= :tcl-8.4*:lang/tcl/8.4
RUN_DEPENDS= ::sysutils/cdrtools \
::sysutils/dvd+rw-tools \
:tk->=8.4:x11/tk/8.4
:tk-8.4*:x11/tk/8.4
pre-configure:
NO_REGRESS= Yes
pre-build:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${WRKSRC}/{configure,install.tcl,TkDVD.sh}
${WRKSRC}/{install.tcl,TkDVD.sh}
do-build:
@cd ${WRKDIST} && ${MAKE_PROGRAM}
cd ${WRKDIST} && ./install.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-TkDVD_sh,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
$OpenBSD: patch-TkDVD_sh,v 1.2 2006/12/24 06:46:04 steven Exp $
--- TkDVD.sh.orig Sun Nov 12 13:25:23 2006
+++ TkDVD.sh Mon Dec 18 19:54:04 2006
@@ -1,6 +1,6 @@
@ -14,7 +14,7 @@ $OpenBSD: patch-TkDVD_sh,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
set burn_type "burn_dvd"
set v_create_iso "no"
-set burning_device "/dev/sr0"
+set burning_device "/dev/rc0c"
+set burning_device "/dev/rcd0c"
#used when creating ISO to save CD/DVD device
set temp_burning_device ""
set burn_command "growisofs"

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- configure.orig Thu Nov 3 20:09:58 2005
+++ configure Mon Dec 18 19:40:31 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec tclsh "$0" "$@"
+exec /usr/local/bin/tclsh8.4 "$0" "$@"
# Copyright 2003 Regis Damongeot

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-install_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
$OpenBSD: patch-install_tcl,v 1.2 2006/12/24 06:46:04 steven Exp $
--- install.tcl.orig Thu Nov 3 20:09:57 2005
+++ install.tcl Mon Dec 18 19:40:31 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec tclsh "$0" "$@"
+exec /usr/local/bin/tclsh8.4 "$0" "$@"
+exec !!LOCALBASE!!/bin/tclsh8.4 "$0" "$@"
# Copyright 2003 Regis Damongeot

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src-save_load_options_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
$OpenBSD: patch-src-save_load_options_tcl,v 1.2 2006/12/24 06:46:04 steven Exp $
--- src/save_load_options.tcl.orig Sun Nov 12 13:15:05 2006
+++ src/save_load_options.tcl Mon Dec 18 19:54:05 2006
@@ -31,7 +31,7 @@ proc save_options {} {
@ -10,10 +10,3 @@ $OpenBSD: patch-src-save_load_options_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper E
}
close $config_file
}
@@ -117,4 +117,4 @@ proc update_version_config_file { old_ve
} else {
#no special change for later versions so we load option classically
}
-}
\ No newline at end of file
+}

View File

@ -1,4 +1,4 @@
TkDVD is a GUI to dvd+rw-tools and cdrecord. It allows burnning CDs and
TkDVD is a GUI to dvd+rw-tools and cdrecord. It allows burning CDs and
DVDs easily.
Features: