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

Last change on this file since 9287 was 9287, checked in by mww, 16 years ago

Bug: #2394
Submitted by: dhaines@…
Reviewed by: mww@

fix mandir to share/man/

  • Property svn:eol-style set to native
File size: 965 bytes
Line 
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)/share/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)/man1/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.