Subject: pkg/17292: new package graphics/mpgtx
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs@ropnet.ru>
List: netbsd-bugs
Date: 06/16/2002 13:59:55
>Number:         17292
>Category:       pkg
>Synopsis:       new package graphics/mpgtx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 16 14:00:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Svishchev
>Release:        1.6A
>Organization:
>Environment:
>Description:
mpgtx a command line MPEG audio/video/system file toolbox.
 
mpgtx was designed with the good old Unix philosophy in mind: do
few but do it well and provide end user an austary yet powerfull
command line interface.

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	graphics/mpgtx
#	graphics/mpgtx/patches
#	graphics/mpgtx/patches/patch-aa
#	graphics/mpgtx/Makefile
#	graphics/mpgtx/DESCR
#	graphics/mpgtx/distinfo
#	graphics/mpgtx/PLIST
#
echo c - graphics/mpgtx
mkdir -p graphics/mpgtx > /dev/null 2>&1
echo c - graphics/mpgtx/patches
mkdir -p graphics/mpgtx/patches > /dev/null 2>&1
echo x - graphics/mpgtx/patches/patch-aa
sed 's/^X//' >graphics/mpgtx/patches/patch-aa << 'END-of-graphics/mpgtx/patches/patch-aa'
X$NetBSD$
X
X+++ Makefile
X@@ -1,5 +1,4 @@
X # installation dirs : Edit at your convenance
X-PREFIX=/usr
X INSTALLDIR=$(PREFIX)/bin
X MANDIR=$(PREFIX)/man/man1
X 
X@@ -12,19 +11,19 @@
X STATIC_LFLAGS= -static -s
X DEVEL_LFLAGS= #-lefence
X 
X+all : shared
X 
X # here are the default targets
X nocatch:
X-	make mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -DNOSIGNAL_H' 'LFLAGS=$(DEVEL_LFLAGS)'
X+	$(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -DNOSIGNAL_H' 'LFLAGS=$(DEVEL_LFLAGS)'
X debug:
X-	make mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -D_DEBUG_' 'LFLAGS=$(DEVEL_LFLAGS)'
X+	$(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -D_DEBUG_' 'LFLAGS=$(DEVEL_LFLAGS)'
X devel:	
X-	make mpgtx 'CFLAGS=$(DEVEL_CFLAGS)' 'LFLAGS=$(DEVEL_LFLAGS)'
X+	$(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS)' 'LFLAGS=$(DEVEL_LFLAGS)'
X shared:
X-	make mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(SHARED_LFLAGS)'
X+	$(MAKE) mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(SHARED_LFLAGS)'
X static:
X-	make mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(STATIC_LFLAGS)'
X+	$(MAKE) mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(STATIC_LFLAGS)'
X 
X 
X 
X@@ -42,20 +41,19 @@
X 	rm -f *.o mpgtx mpgjoin mpgcat mpgsplit mpginfo mpgdemux tagmp3 man/mpginfo.1 man/mpgsplit.1 man/mpgcat.1 man/mpgjoin.1 man/mpgdemux.1
X 
X install: 
X-	ln -sf mpgtx mpgjoin  
X-	ln -sf mpgtx mpgsplit 
X-	ln -sf mpgtx mpgcat   
X-	ln -sf mpgtx mpginfo  
X-	ln -sf mpgtx mpgdemux
X-	ln -sf mpgtx tagmp3
X-	install -d -m 755  $(INSTALLDIR)
X-	install -d -m 755  $(MANDIR)
X-	install -s -m 755 mpgtx $(INSTALLDIR)
X-	cp  -df   mpgdemux mpgjoin mpgcat mpginfo mpgsplit tagmp3 $(INSTALLDIR)
X-	install -m 644 man/mpgtx.1 man/tagmp3.1 $(MANDIR) 
X-	cd man ; make
X-	cd ..
X-	cp -df   ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 $(MANDIR)
X+	$(BSD_INSTALL_PROGRAM) mpgtx $(INSTALLDIR)
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgjoin
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgsplit
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgcat
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpginfo
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgdemux
X+	$(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/tagmp3
X+	$(BSD_INSTALL_MAN) man/mpgtx.1 man/tagmp3.1 $(MANDIR) 
X+	$(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgdemux.1
X+	$(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgjoin.1
X+	$(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgsplit.1
X+	$(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgcat.1
X+	$(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpginfo.1
X 
X uninstall:
X 	rm -f 	$(INSTALLDIR)/mpgtx     
END-of-graphics/mpgtx/patches/patch-aa
echo x - graphics/mpgtx/Makefile
sed 's/^X//' >graphics/mpgtx/Makefile << 'END-of-graphics/mpgtx/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	mpgtx-1.0-1-src
XPKGNAME=	mpgtx-1.0
XCATEGORIES=	audio graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mpgtx/}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://mpgtx.sourceforge.net/
XCOMMENT=	Split and join MPEG files in various ways
X
XWRKSRC=		${WRKDIR}/mpgtx-1.0
XMAKE_ENV=	BSD_INSTALL=${INSTALL}
X
X.include "../../mk/bsd.pkg.mk"
END-of-graphics/mpgtx/Makefile
echo x - graphics/mpgtx/DESCR
sed 's/^X//' >graphics/mpgtx/DESCR << 'END-of-graphics/mpgtx/DESCR'
Xmpgtx a command line MPEG audio/video/system file toolbox.
X 
Xmpgtx was designed with the good old Unix philosophy in mind: do
Xfew but do it well and provide end user an austary yet powerfull
Xcommand line interface.
END-of-graphics/mpgtx/DESCR
echo x - graphics/mpgtx/distinfo
sed 's/^X//' >graphics/mpgtx/distinfo << 'END-of-graphics/mpgtx/distinfo'
X$NetBSD$
X
XSHA1 (mpgtx-1.0-1-src.tgz) = 677f7c09d876ad0429d42b06ca001a9034a69ac9
XSize (mpgtx-1.0-1-src.tgz) = 70063 bytes
XSHA1 (patch-aa) = 45812e7ad44f3815a696105365c4903456c7c50e
END-of-graphics/mpgtx/distinfo
echo x - graphics/mpgtx/PLIST
sed 's/^X//' >graphics/mpgtx/PLIST << 'END-of-graphics/mpgtx/PLIST'
X@comment $NetBSD$
Xbin/mpgcat
Xbin/mpgdemux
Xbin/mpginfo
Xbin/mpgjoin
Xbin/mpgsplit
Xbin/mpgtx
Xbin/tagmp3
Xman/man1/mpgcat.1
Xman/man1/mpgdemux.1
Xman/man1/mpginfo.1
Xman/man1/mpgjoin.1
Xman/man1/mpgsplit.1
Xman/man1/mpgtx.1
Xman/man1/tagmp3.1
END-of-graphics/mpgtx/PLIST
exit


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