Skip to content
Permalink
Browse files

newest version of mp3info. However, it is a different piece of

software than the 'mp3info' that was here before. There are two
software-pieces out there called 'mp3info'. Since this is the
more advanced one, I chose to convert the port over.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2076 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Feb 25, 2003
1 parent 0fe7219 commit a690f46a2c5d61a2aeda230b626df0cfa1b8fd66
Showing with 62 additions and 11 deletions.
  1. +19 −11 audio/mp3info/Portfile
  2. +43 −0 audio/mp3info/files/patch-Makefile
@@ -1,18 +1,26 @@
PortSystem 1.0
name mp3info
version 0.2.16
version 0.8.4
revision 1
categories audio
maintainers fkr@opendarwin.org
description MP3 information tool
long_description A small utility to read and write TAG info, as well as retrieve the MP3 \
Header info and print it all out in a nice format.
Header info. Included is a command-line interface and a gtk-UI.
homepage http://www.ibiblio.org/mp3info/
platforms darwin
master_sites ftp://bimbo.hive.no/pub/mp3info/
checksums md5 d67b0225a197e91da87e94707121bb21
install { cd ${worksrcpath}
system "install -o root -m 755 -d ${destroot}${prefix}/bin"
system "install -o root -m 555 ${name} ${destroot}${prefix}/bin"
system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
system "install -o root -m 644 -c mp3info.1 ${destroot}${prefix}/man/man1"
system "install -o root -m 755 -d ${destroot}${prefix}/share/doc/${name}"
system "install -o root -m 644 README ChangeLog ${destroot}${prefix}/share/doc/${name}" }
master_sites ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/
extract.sufx .tgz
checksums md5 879d0ced8ede5ec9fbaff4813851ea3f
patchfiles patch-Makefile
depends_lib lib:libgtk.1:gtk
build.target mp3info
configure { cd ${worksrcpath}
reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile }
install.target install-mp3info

variant x11 {
depends_lib-append lib:libgtk.1:gtk
build.target all
install.target install
}
@@ -0,0 +1,43 @@
--- Makefile.orig Wed Feb 26 00:46:24 2003
+++ Makefile Wed Feb 26 00:49:14 2003
@@ -30,7 +30,7 @@

prefix=/usr/local
bindir=${prefix}/bin
-mandir = $(prefix)/man/man1
+mandir = $(prefix)/man

# No changes necessary below this line

@@ -40,7 +40,7 @@
XSRC = gmp3info.c
XOBJ = mp3tech.o
RM = /bin/rm
-INSTALL = /usr/bin/install -c
+INSTALL = /usr/bin/install
STRIP = strip

LIBS = -lncurses
@@ -68,12 +68,20 @@
distclean: clean
$(RM) -f mp3info.txt

-install: mp3info gmp3info
+install-mp3info: mp3info
$(STRIP) mp3info
+ $(INSTALL) -d $(bindir)
$(INSTALL) mp3info $(bindir)/mp3info
+ $(INSTALL) -d $(mandir)
+ $(INSTALL) -d $(mandir)/man1
+ $(INSTALL) -c mp3info.1 $(mandir)/mp3info.1
+
+install-gmp3info: gmp3info
$(STRIP) gmp3info
+ $(INSTALL) -d $(bindir)
$(INSTALL) gmp3info $(bindir)/gmp3info
- $(INSTALL) mp3info.1 $(mandir)/mp3info.1
+
+install: install-mp3info install-gmp3info

uninstall:
rm -f $(bindir)/mp3info

0 comments on commit a690f46

Please sign in to comment.
You can’t perform that action at this time.