freebsd-ports/audio/ogg2mp3/files/patch-ogg2mp3

24 lines
821 B
Text
Raw Normal View History

--- ./ogg2mp3.orig 2009-09-10 19:33:42.000000000 +0200
+++ ./ogg2mp3 2009-09-10 19:34:42.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!%%LOCALBASE%%/bin/perl
# ogg2mp3
# Maintained by: James Ausmus <james.ausmus.code@gmail.com>
@@ -50,10 +50,10 @@
print " This code is released under the General Public License v2.\n";
print " ------------------------------------------------------------------- \n\n";
-my $MP3ENC = "/usr/bin/lame";
-#my $MP3INFO = "/usr/bin/mp3_check";
-my $OGGINFO = "/usr/bin/ogginfo";
-my $OGG123 = "/usr/bin/ogg123";
+my $MP3ENC = "%%LOCALBASE%%/bin/lame";
+#my $MP3INFO = "%%LOCALBASE%%/bin/mp3_check";
+my $OGGINFO = "%%LOCALBASE%%/bin/ogginfo";
+my $OGG123 = "%%LOCALBASE%%/bin/ogg123";
# check presence of executables
stat($MP3ENC) or die "Error: $MP3ENC not present!\n";