summaryrefslogtreecommitdiff
path: root/audio/id3ed
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-22 15:44:32 +0000
committerjlam <jlam>2001-05-22 15:44:32 +0000
commita3b44ef5cc7f90094aa65b41e6c6b0cb7228869a (patch)
tree1db1dcef8fdb711f9e944b3b0abd4a07ae25d2f8 /audio/id3ed
parentf97372fd82b0e44cf18536f4481c3b4818d6181a (diff)
downloadpkgsrc-a3b44ef5cc7f90094aa65b41e6c6b0cb7228869a.tar.gz
Use ../../devel/Makefile.readline to get readline support and note why
GNU readline is required. Pass configure script some variables instead and remove the unneeded patch file.
Diffstat (limited to 'audio/id3ed')
-rw-r--r--audio/id3ed/Makefile14
-rw-r--r--audio/id3ed/distinfo3
-rw-r--r--audio/id3ed/patches/patch-aa25
3 files changed, 11 insertions, 31 deletions
diff --git a/audio/id3ed/Makefile b/audio/id3ed/Makefile
index 457271f9ffc..fe2bcddc7c4 100644
--- a/audio/id3ed/Makefile
+++ b/audio/id3ed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 13:30:42 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/05/22 15:44:32 jlam Exp $
#
DISTNAME= id3ed-1.10.2
@@ -9,12 +9,18 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.azstarnet.com/~donut/programs/index.html
COMMENT= Edit id3 description tags in mpeg3 files
-DEPENDS+= readline>=4.0:../../devel/readline
-
GNU_CONFIGURE= YES
USE_GMAKE= YES
-CONFIGURE_ENV+= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
+USE_GNU_READLINE= # uses rl_startup_hook
+
+.include "../../devel/readline/Makefile.readline"
+
+CONFIGURE_ENV+= LIBS="${LIBS}"
+CFLAGS+= -I${WRKINCDIR}
+LIBS+= -L${WRKLIBDIR} ${LDFLAGS}
+
+pre-configure: link-readline-headers link-readline-libs
post-extract:
${TOUCH} ${WRKSRC}/install.sh
diff --git a/audio/id3ed/distinfo b/audio/id3ed/distinfo
index 5699ab6790a..3ef763251f2 100644
--- a/audio/id3ed/distinfo
+++ b/audio/id3ed/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 12:14:31 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/05/22 15:44:32 jlam Exp $
SHA1 (id3ed-1.10.2.tar.gz) = c7f60428bfb34a83f2fd3b13fa7b997a843c9218
Size (id3ed-1.10.2.tar.gz) = 32014 bytes
-SHA1 (patch-aa) = 150ea360cb5c7f82f37684201dd41600628fe59b
diff --git a/audio/id3ed/patches/patch-aa b/audio/id3ed/patches/patch-aa
deleted file mode 100644
index fceedbcc435..00000000000
--- a/audio/id3ed/patches/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.5 1999/12/26 00:02:15 wiz Exp $
---- Makefile.in.orig Sun Jul 4 01:56:20 1999
-+++ Makefile.in Mon Jul 5 03:52:24 1999
-@@ -6,8 +6,8 @@
- #doesn't seem to hurt anything if its defined even with the new readline
- CXXFLAGS+=-DOLD_READLINE
-
--CXX=@CXX@
--LIBS=@LIBS@
-+CXX= @CXX@ -I${LOCALBASE}/include
-+LIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib @LIBS@
-
- prefix=@prefix@
- exec_prefix=@exec_prefix@
-@@ -28,8 +28,8 @@
- $(CXX) -MM *.cc > .depend
-
- install: all
-- $(install) -s -o root -g bin -m 0755 id3ed $(DESTDIR)$(bindir)
-- $(install) -o root -g bin -m 0644 id3ed.1 $(DESTDIR)$(mandir)/man1
-+ ${BSD_INSTALL_PROGRAM} id3ed $(DESTDIR)$(bindir)
-+ ${BSD_INSTALL_MAN} id3ed.1 $(DESTDIR)$(mandir)/man1
-
- uninstall:
- -rm $(DESTDIR)$(bindir)/id3ed