1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/ogg2mp3/files/patch-ogg2mp3
Wesley Shields 1ae6e05c32 - Update to 0.6.1
- Update MASTER_SITES
- Respect LOCALBASE

PR:		ports/138710
Submitted by:	Tobias Rehbein <tobias.rehbein@web.de> (maintainer)
Feature safe:	yes
2009-09-17 21:05:17 +00:00

24 lines
821 B
Plaintext

--- ./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";