summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-06-17 11:39:35 +0000
committergrant <grant@pkgsrc.org>2002-06-17 11:39:35 +0000
commit2fa14a2e568615fc67eebf448af31c4ca5f6d8db (patch)
treecc2096aaca7b27ba9608172efc276ada58524aae /graphics
parent850281cf64e4b4683f53fb22c17d3b99ffebb2f2 (diff)
downloadpkgsrc-2fa14a2e568615fc67eebf448af31c4ca5f6d8db.tar.gz
Initial import of mpgtx-1.0:
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 powerful command line interface.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mpgtx/DESCR5
-rw-r--r--graphics/mpgtx/Makefile17
-rw-r--r--graphics/mpgtx/PLIST15
-rw-r--r--graphics/mpgtx/distinfo5
-rw-r--r--graphics/mpgtx/patches/patch-aa70
5 files changed, 112 insertions, 0 deletions
diff --git a/graphics/mpgtx/DESCR b/graphics/mpgtx/DESCR
new file mode 100644
index 00000000000..beae72ed1bc
--- /dev/null
+++ b/graphics/mpgtx/DESCR
@@ -0,0 +1,5 @@
+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 powerful
+command line interface.
diff --git a/graphics/mpgtx/Makefile b/graphics/mpgtx/Makefile
new file mode 100644
index 00000000000..40de156ec42
--- /dev/null
+++ b/graphics/mpgtx/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/17 11:39:35 grant Exp $
+#
+
+DISTNAME= mpgtx-1.0-1-src
+PKGNAME= mpgtx-1.0
+CATEGORIES= audio graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpgtx/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://mpgtx.sourceforge.net/
+COMMENT= Split and join MPEG files in various ways
+
+WRKSRC= ${WRKDIR}/mpgtx-1.0
+MAKE_ENV= BSD_INSTALL=${INSTALL}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mpgtx/PLIST b/graphics/mpgtx/PLIST
new file mode 100644
index 00000000000..bc18a9208ab
--- /dev/null
+++ b/graphics/mpgtx/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/17 11:39:35 grant Exp $
+bin/mpgcat
+bin/mpgdemux
+bin/mpginfo
+bin/mpgjoin
+bin/mpgsplit
+bin/mpgtx
+bin/tagmp3
+man/man1/mpgcat.1
+man/man1/mpgdemux.1
+man/man1/mpginfo.1
+man/man1/mpgjoin.1
+man/man1/mpgsplit.1
+man/man1/mpgtx.1
+man/man1/tagmp3.1
diff --git a/graphics/mpgtx/distinfo b/graphics/mpgtx/distinfo
new file mode 100644
index 00000000000..319c74965f3
--- /dev/null
+++ b/graphics/mpgtx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/17 11:39:35 grant Exp $
+
+SHA1 (mpgtx-1.0-1-src.tgz) = 677f7c09d876ad0429d42b06ca001a9034a69ac9
+Size (mpgtx-1.0-1-src.tgz) = 70063 bytes
+SHA1 (patch-aa) = 45812e7ad44f3815a696105365c4903456c7c50e
diff --git a/graphics/mpgtx/patches/patch-aa b/graphics/mpgtx/patches/patch-aa
new file mode 100644
index 00000000000..8fbceb100df
--- /dev/null
+++ b/graphics/mpgtx/patches/patch-aa
@@ -0,0 +1,70 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/17 11:39:35 grant Exp $
+
+--- Makefile.orig Mon Jul 23 12:30:24 2001
++++ Makefile
+@@ -1,5 +1,4 @@
+ # installation dirs : Edit at your convenance
+-PREFIX=/usr
+ INSTALLDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man/man1
+
+@@ -12,19 +11,19 @@
+ STATIC_LFLAGS= -static -s
+ DEVEL_LFLAGS= #-lefence
+
+-default : devel
++all : shared
+
+ # here are the default targets
+ nocatch:
+- make mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -DNOSIGNAL_H' 'LFLAGS=$(DEVEL_LFLAGS)'
++ $(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -DNOSIGNAL_H' 'LFLAGS=$(DEVEL_LFLAGS)'
+ debug:
+- make mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -D_DEBUG_' 'LFLAGS=$(DEVEL_LFLAGS)'
++ $(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS) -D_DEBUG_' 'LFLAGS=$(DEVEL_LFLAGS)'
+ devel:
+- make mpgtx 'CFLAGS=$(DEVEL_CFLAGS)' 'LFLAGS=$(DEVEL_LFLAGS)'
++ $(MAKE) mpgtx 'CFLAGS=$(DEVEL_CFLAGS)' 'LFLAGS=$(DEVEL_LFLAGS)'
+ shared:
+- make mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(SHARED_LFLAGS)'
++ $(MAKE) mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(SHARED_LFLAGS)'
+ static:
+- make mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(STATIC_LFLAGS)'
++ $(MAKE) mpgtx 'CFLAGS=$(RELEASE_CFLAGS)' 'LFLAGS=$(STATIC_LFLAGS)'
+
+
+
+@@ -42,20 +41,19 @@
+ 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
+
+ install:
+- ln -sf mpgtx mpgjoin
+- ln -sf mpgtx mpgsplit
+- ln -sf mpgtx mpgcat
+- ln -sf mpgtx mpginfo
+- ln -sf mpgtx mpgdemux
+- ln -sf mpgtx tagmp3
+- install -d -m 755 $(INSTALLDIR)
+- install -d -m 755 $(MANDIR)
+- install -s -m 755 mpgtx $(INSTALLDIR)
+- cp -df mpgdemux mpgjoin mpgcat mpginfo mpgsplit tagmp3 $(INSTALLDIR)
+- install -m 644 man/mpgtx.1 man/tagmp3.1 $(MANDIR)
+- cd man ; make
+- cd ..
+- cp -df ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 $(MANDIR)
++ $(BSD_INSTALL_PROGRAM) mpgtx $(INSTALLDIR)
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgjoin
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgsplit
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgcat
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpginfo
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/mpgdemux
++ $(BSD_INSTALL) -l sr $(INSTALLDIR)/mpgtx $(INSTALLDIR)/tagmp3
++ $(BSD_INSTALL_MAN) man/mpgtx.1 man/tagmp3.1 $(MANDIR)
++ $(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgdemux.1
++ $(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgjoin.1
++ $(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgsplit.1
++ $(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpgcat.1
++ $(BSD_INSTALL) -l h $(MANDIR)/mpgtx.1 $(MANDIR)/mpginfo.1
+
+ uninstall:
+ rm -f $(INSTALLDIR)/mpgtx