source: trunk/dports/audio/mp3info/files/patch-Makefile @ 2076

Last change on this file since 2076 was 2076, checked in by fkr, 18 years ago

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.

  • Property svn:eol-style set to native
File size: 954 bytes
RevLine 
[2076]1--- Makefile.orig       Wed Feb 26 00:46:24 2003
2+++ Makefile    Wed Feb 26 00:49:14 2003
3@@ -30,7 +30,7 @@
4 
5 prefix=/usr/local
6 bindir=${prefix}/bin
7-mandir = $(prefix)/man/man1
8+mandir = $(prefix)/man
9 
10 # No changes necessary below this line
11 
12@@ -40,7 +40,7 @@
13 XSRC = gmp3info.c
14 XOBJ =  mp3tech.o
15 RM = /bin/rm
16-INSTALL = /usr/bin/install -c
17+INSTALL = /usr/bin/install
18 STRIP = strip
19 
20 LIBS = -lncurses
21@@ -68,12 +68,20 @@
22 distclean: clean
23        $(RM) -f mp3info.txt
24 
25-install: mp3info gmp3info
26+install-mp3info: mp3info
27        $(STRIP) mp3info
28+       $(INSTALL) -d $(bindir)
29        $(INSTALL) mp3info $(bindir)/mp3info
30+       $(INSTALL) -d $(mandir)
31+       $(INSTALL) -d $(mandir)/man1
32+       $(INSTALL) -c mp3info.1 $(mandir)/mp3info.1
33+
34+install-gmp3info: gmp3info
35        $(STRIP) gmp3info
36+       $(INSTALL) -d $(bindir)
37        $(INSTALL) gmp3info $(bindir)/gmp3info
38-       $(INSTALL) mp3info.1 $(mandir)/mp3info.1
39+                       
40+install: install-mp3info install-gmp3info
41 
42 uninstall:
43        rm -f $(bindir)/mp3info
Note: See TracBrowser for help on using the repository browser.