summaryrefslogtreecommitdiff
path: root/audio/id3v2/files/patch-aa
blob: c28b486e1d5916e63ab7cab1904955783d2900e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile.orig	Thu Apr  6 17:23:27 2000
+++ Makefile	Wed Oct 10 16:59:49 2001
@@ -1,7 +1,12 @@
+PREFIX = /usr/local
+CXXFLAGS += -I${PREFIX}/include
+LDFLAGS += -L${PREFIX}/lib
+
 all: id3v2
 
-id3v2: Makefile convert.cpp list.cpp id3v2.cpp convert.cpp
-	g++ -lid3 -g -o id3v2 id3v2.cpp list.cpp convert.cpp
+id3v2: convert.o list.o id3v2.o
+	g++ ${LDFLAGS} -lid3 -lz -lgnugetopt -o $@ convert.o list.o id3v2.o
 
 install: all
-	cp id3v2 /usr/local/bin/
+	install -c -s id3v2 ${PREFIX}/bin/id3v2
+	nroff -man id3v2.1 > ${PREFIX}/man/man1/id3v2.1