Subject: pkg/16560: devel/libmpeg3 does not install tools, only libraries.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs@ropnet.ru>
List: netbsd-bugs
Date: 04/29/2002 13:30:58
>Number:         16560
>Category:       pkg
>Synopsis:       devel/libmpeg3 does not install tools, only libraries.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 13:31:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Svishchev
>Release:        1.5ZC
>Organization:
>Environment:
>Description:
transcode depends on existence of these tools.

>How-To-Repeat:
Try to make transcode work.

>Fix:
Index: devel/libmpeg3/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libmpeg3/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	2001/11/17 06:28:20	1.4
+++ Makefile	2002/04/13 19:11:36
@@ -29,8 +29,13 @@
 	mpeg3private.inc mpeg3title.h mpeg3vtrack.h timecode.h
 AINSTHDRS=	ac3.h mpeg3audio.h
 VINSTHDRS=	idct.h mpeg3video.h slice.h
+INSTBINS=	mpeg3cat mpeg3toc mpeg3split
 
 do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/work/dump ${PREFIX}/bin/mpeg3dump
+	for f in ${INSTBINS}; do \
+		${INSTALL_PROGRAM} ${WRKSRC}/work/$$f ${PREFIX}/bin; \
+	done
 	${INSTALL_DATA_DIR} ${PREFIX}/include/mpeg3
 	for f in ${INSTHDRS}; do \
 		${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/include/mpeg3; \
Index: devel/libmpeg3/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libmpeg3/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	2001/11/01 01:24:37	1.1
+++ PLIST	2002/04/13 19:11:36
@@ -1,5 +1,9 @@
 @comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:37 zuntum Exp $
 include/mpeg3/libmpeg3.h
+bin/mpeg3dump
+bin/mpeg3cat
+bin/mpeg3toc
+bin/mpeg3split
 include/mpeg3/bitstream.h
 include/mpeg3/mpeg3atrack.h
 include/mpeg3/mpeg3css.h

>Release-Note:
>Audit-Trail:
>Unformatted: