aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/id3v2/Makefile10
-rw-r--r--audio/id3v2/files/patch-Makefile10
2 files changed, 14 insertions, 6 deletions
diff --git a/audio/id3v2/Makefile b/audio/id3v2/Makefile
index 627d9fd3f344..9ee61e5d5e15 100644
--- a/audio/id3v2/Makefile
+++ b/audio/id3v2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= id3v2
PORTVERSION= 0.1.9
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= id3v2
@@ -14,8 +15,13 @@ MASTER_SITE_SUBDIR= id3v2
MAINTAINER= rehsack@liwing.de
COMMENT= Command line id3v2 tag editor
-LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib
+
+USE_GETOPT_LONG=yes
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+CFLAGS+= ${CPPFLAGS}
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
MAN1= id3v2.1
diff --git a/audio/id3v2/files/patch-Makefile b/audio/id3v2/files/patch-Makefile
index 56a5fe893810..b8252795fc7a 100644
--- a/audio/id3v2/files/patch-Makefile
+++ b/audio/id3v2/files/patch-Makefile
@@ -1,16 +1,18 @@
--- Makefile.orig Wed Feb 26 00:58:23 2003
-+++ Makefile Fri Apr 4 16:36:05 2003
++++ Makefile Sun Jul 6 08:02:42 2003
@@ -1,15 +1,15 @@
all: id3v2
-PREFIX= /usr/local
+-CXXFLAGS+= -I${PREFIX}/include/
+-LDFLAGS+= -L${PREFIX}/lib/
+PREFIX?= /usr/local
- CXXFLAGS+= -I${PREFIX}/include/
- LDFLAGS+= -L${PREFIX}/lib/
++#CXXFLAGS+= -I${PREFIX}/include/
++#LDFLAGS+= -L${PREFIX}/lib/
id3v2: convert.o list.o id3v2.o
- c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ id3v2.o list.o convert.o
-+ ${CXX} ${LDFLAGS} -lz -lid3 -lgnugetopt -o $@ id3v2.o list.o convert.o
++ ${CXX} ${LDFLAGS} -lz -lid3 -o $@ id3v2.o list.o convert.o
install: all
- install -c -s id3v2 ${PREFIX}/bin/id3v2