[54189] trunk/dports/multimedia/vobcopy

toby at macports.org toby at macports.org
Wed Jul 22 13:19:02 PDT 2009


Revision: 54189
          http://trac.macports.org/changeset/54189
Author:   toby at macports.org
Date:     2009-07-22 13:19:02 -0700 (Wed, 22 Jul 2009)
Log Message:
-----------
#20391 (vobcopy is outdated)

Modified Paths:
--------------
    trunk/dports/multimedia/vobcopy/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/vobcopy/files/patch-configure.sh
    trunk/dports/multimedia/vobcopy/files/patch-vobcopy.c

Removed Paths:
-------------
    trunk/dports/multimedia/vobcopy/files/patch-configure.sh.diff

Modified: trunk/dports/multimedia/vobcopy/Portfile
===================================================================
--- trunk/dports/multimedia/vobcopy/Portfile	2009-07-22 20:06:20 UTC (rev 54188)
+++ trunk/dports/multimedia/vobcopy/Portfile	2009-07-22 20:19:02 UTC (rev 54189)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name            vobcopy
-version         1.1.1
+version         1.2.0
 categories      multimedia
 maintainers     sneakemail.com:0booo5b02
 description     copies DVD .vob files to hard disk
@@ -14,12 +14,16 @@
 platforms       darwin
 use_bzip2       yes
 master_sites    http://vobcopy.org/download/
-checksums       md5 f3331ff362c8f271731944b1a9dea108
+checksums       md5 88f735ccd051093ff40dab4597bc586e \
+                sha1 a848a777f0e477d42a20a52718599d5da00c36db \
+                rmd160 01cd2d51fc153a082d055f17db0dd783b39d0069
 depends_lib     port:libdvdread
-patchfiles      patch-configure.sh.diff
+patchfiles      patch-configure.sh patch-vobcopy.c
 
 configure.cmd   ./configure.sh
 configure.args  --with-lfs \
                 --with-dvdread-libs=${prefix} \
-                --mandir=${prefix}/share/man \
-                --bindir=${prefix}/bin
+                --mandir=${prefix}/share/man
+
+build.target
+build.env       CC=${configure.cc}

Added: trunk/dports/multimedia/vobcopy/files/patch-configure.sh
===================================================================
--- trunk/dports/multimedia/vobcopy/files/patch-configure.sh	                        (rev 0)
+++ trunk/dports/multimedia/vobcopy/files/patch-configure.sh	2009-07-22 20:19:02 UTC (rev 54189)
@@ -0,0 +1,14 @@
+--- configure.sh.orig	2009-07-22 13:10:44.000000000 -0700
++++ configure.sh	2009-07-22 13:10:52.000000000 -0700
+@@ -228,11 +228,9 @@
+ #	cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1
+ 	install -d -m 755 \$(DESTDIR)/\$(BINDIR)
+ 	install -d -m 755 \$(DESTDIR)/\$(MANDIR)/man1
+-	install -d -m 755 \$(DESTDIR)/\$(MANDIR)/de/man1
+ 	install -d -m 755 \$(DESTDIR)/\$(DOCDIR)
+ 	install -m 755 vobcopy \$(DESTDIR)/\$(BINDIR)/vobcopy
+ 	install -m 644 vobcopy.1 \$(DESTDIR)/\$(MANDIR)/man1/vobcopy.1
+-	install -m 644 vobcopy.1.de \$(DESTDIR)/\$(MANDIR)/de/man1/vobcopy.1
+ 	install -m 644 COPYING Changelog README Release-Notes TODO \$(DESTDIR)/\$(DOCDIR)
+ 
+ uninstall:

Deleted: trunk/dports/multimedia/vobcopy/files/patch-configure.sh.diff
===================================================================
--- trunk/dports/multimedia/vobcopy/files/patch-configure.sh.diff	2009-07-22 20:06:20 UTC (rev 54188)
+++ trunk/dports/multimedia/vobcopy/files/patch-configure.sh.diff	2009-07-22 20:19:02 UTC (rev 54189)
@@ -1,41 +0,0 @@
---- configure.sh.orig	2008-04-22 00:39:50.000000000 +0100
-+++ configure.sh	2008-04-22 00:41:28.000000000 +0100
-@@ -166,7 +166,7 @@
- #This is the makefile for vobcopy, mainly written by rosenauer. These things 
- #below here are variable definitions. They get substituted in the (CC) and 
- #stuff places.
--CC     ?= gcc
-+CC     = cc
- #PREFIX += /usr/local
- #BINDIR = \${PREFIX}/bin
- #MANDIR = \${PREFIX}/man
-@@ -212,17 +212,20 @@
- #	mkdir -p \$(MANDIR)/man1
- #	cp vobcopy   \$(BINDIR)/vobcopy
- #	cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1
--	install -d -m 755 \$(BINDIR)
--	install -d -m 755 \$(MANDIR)/man1
--	install -d -m 755 \$(MANDIR)/de/man1
--	install -m 755 vobcopy \$(BINDIR)/vobcopy
--	install -m 644 vobcopy.1 \$(MANDIR)/man1/vobcopy.1
--	install -m 644 vobcopy.1.de \$(MANDIR)/de/man1/vobcopy.1
-+	install -d -m 755 \$(DESTDIR)\$(BINDIR)
-+	install -d -m 755 \$(DESTDIR)\$(MANDIR)/man1
-+	install -d -m 755 \$(DESTDIR)\$(MANDIR)/de/man1
-+	install -m 755 vobcopy \$(DESTDIR)\$(BINDIR)/vobcopy
-+	install -m 644 vobcopy.1 \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1
-+	install -m 644 vobcopy.1.de \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1
- 
- uninstall:
--	rm -f \$(BINDIR)/vobcopy
--	rm -f \$(MANDIR)/man1/vobcopy.1
--	rm -f \$(MANDIR)/de/man1/vobcopy.1	
-+	rm -f \$(DESTDIR)\$(BINDIR)/vobcopy
-+	rm -f \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1
-+	rm -f \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1	
-+
-+all: vobcopy
-+
- " > Makefile
- 
- echo "Next thing type \"make\" and then \"make install\""

Added: trunk/dports/multimedia/vobcopy/files/patch-vobcopy.c
===================================================================
--- trunk/dports/multimedia/vobcopy/files/patch-vobcopy.c	                        (rev 0)
+++ trunk/dports/multimedia/vobcopy/files/patch-vobcopy.c	2009-07-22 20:19:02 UTC (rev 54189)
@@ -0,0 +1,20 @@
+--- vobcopy.c.orig	2009-07-22 13:12:11.000000000 -0700
++++ vobcopy.c	2009-07-22 13:15:49.000000000 -0700
+@@ -773,7 +773,7 @@
+ 
+   if( longest_title_flag ) /*no title specified (-n ) */
+     {
+-      titleid = get_longest_title( &dvd );
++      titleid = get_longest_title( dvd );
+       fprintf( stderr, _("[Info] longest title %d.\n"), titleid );
+     }
+ 
+@@ -1825,7 +1825,7 @@
+ 	    }
+ 	  
+ 	  if( verbosity_level >= 1 && skipped_blocks > 0 )
+-	    fprintf( stderr, _("[Warn] Had to skip (couldn't read) %d blocks (before block %d)! \n "), skipped_blocks, offset );
++	    fprintf( stderr, _("[Warn] Had to skip (couldn't read) %d blocks (before block %lld)! \n "), skipped_blocks, offset );
+ 
+ /*TODO: this skipping here writes too few bytes to the output */
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090722/21839a88/attachment-0001.html>


More information about the macports-changes mailing list