aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-15 10:19:15 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-15 10:19:15 +0800
commit04d5aacfaa33d7d540fb884db89918e11ac77da6 (patch)
tree60733f072c0aa9fbf988f8748d591dfb066952dd
parent65fc784f87464a4a5b41357128d0a706344b0421 (diff)
downloadfreebsd-ports-gnome-04d5aacfaa33d7d540fb884db89918e11ac77da6.tar.gz
freebsd-ports-gnome-04d5aacfaa33d7d540fb884db89918e11ac77da6.tar.zst
freebsd-ports-gnome-04d5aacfaa33d7d540fb884db89918e11ac77da6.zip
add mpgtx
A command line MPEG audio/video/system file toolbox
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/mpgtx/Makefile31
-rw-r--r--graphics/mpgtx/distinfo1
-rw-r--r--graphics/mpgtx/files/patch-Makefile35
-rw-r--r--graphics/mpgtx/pkg-comment1
-rw-r--r--graphics/mpgtx/pkg-descr16
-rw-r--r--graphics/mpgtx/pkg-plist7
-rw-r--r--multimedia/mpgtx/Makefile31
-rw-r--r--multimedia/mpgtx/distinfo1
-rw-r--r--multimedia/mpgtx/files/patch-Makefile35
-rw-r--r--multimedia/mpgtx/pkg-comment1
-rw-r--r--multimedia/mpgtx/pkg-descr16
-rw-r--r--multimedia/mpgtx/pkg-plist7
13 files changed, 183 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 84a35aea4d13..2b505119142f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -145,6 +145,7 @@
SUBDIR += mpeg_play
SUBDIR += mpeg_stat
SUBDIR += mpegedit
+ SUBDIR += mpgtx
SUBDIR += mplex
SUBDIR += mtv
SUBDIR += netpbm
diff --git a/graphics/mpgtx/Makefile b/graphics/mpgtx/Makefile
new file mode 100644
index 000000000000..48896b849ce9
--- /dev/null
+++ b/graphics/mpgtx/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# New ports collection makefile for: mpgtx
+# Date created: May 15, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpgtx
+PORTVERSION= 0.6b
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1-src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ijliao@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+ALL_TARGET= shared
+MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_MAN="${INSTALL_MAN}"
+
+MAN1= mpgtx.1 mp3tag.1
+MLINKS= mpgtx.1 mpgdemux.1 \
+ mpgtx.1 mpgjoin.1 \
+ mpgtx.1 mpgsplit.1 \
+ mpgtx.1 mpgcat.1 \
+ mpgtx.1 mpginfo.1
+
+.include <bsd.port.mk>
diff --git a/graphics/mpgtx/distinfo b/graphics/mpgtx/distinfo
new file mode 100644
index 000000000000..17486d27504b
--- /dev/null
+++ b/graphics/mpgtx/distinfo
@@ -0,0 +1 @@
+MD5 (mpgtx-0.6b-1-src.tgz) = 8d86be5a71390fb87ac2bd64261aa0ff
diff --git a/graphics/mpgtx/files/patch-Makefile b/graphics/mpgtx/files/patch-Makefile
new file mode 100644
index 000000000000..69bae5f25eb9
--- /dev/null
+++ b/graphics/mpgtx/files/patch-Makefile
@@ -0,0 +1,35 @@
+--- Makefile.orig Tue Apr 24 21:02:33 2001
++++ Makefile Tue May 15 10:06:09 2001
+@@ -1,5 +1,4 @@
+ # installation dirs : Edit at your convenance
+-PREFIX=/usr
+ INSTALLDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man/man1
+
+@@ -7,7 +6,7 @@
+
+ # compilation flags
+ DEVEL_CFLAGS= -g -Wall -Werror -pedantic -fno-builtin
+-RELEASE_CFLAGS= -Wall -O3 -pedantic
++RELEASE_CFLAGS= ${CFLAGS}
+ SHARED_LFLAGS= -s
+ STATIC_LFLAGS= -static -s
+ DEVEL_LFLAGS= #-lefence
+@@ -48,14 +47,9 @@
+ ln -sf mpgtx mpginfo
+ ln -sf mpgtx mpgdemux
+ ln -sf mpgtx mp3tag
+- install -d -m 755 $(INSTALLDIR)
+- install -d -m 755 $(MANDIR)
+- install -s -m 755 mpgtx $(INSTALLDIR)
+- cp -df mpgdemux mpgjoin mpgcat mpginfo mpgsplit mp3tag $(INSTALLDIR)
+- install -m 644 man/mpgtx.1 man/mp3tag.1 $(MANDIR)
+- cd man ; make
+- cd ..
+- cp -df ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 $(MANDIR)
++ ${INSTALL_PROGRAM} mpgtx $(INSTALLDIR)
++ cp -f mpgdemux mpgjoin mpgcat mpginfo mpgsplit mp3tag $(INSTALLDIR)
++ ${INSTALL_MAN} man/mpgtx.1 man/mp3tag.1 $(MANDIR)
+
+ uninstall:
+ rm -f $(INSTALLDIR)/mpgtx
diff --git a/graphics/mpgtx/pkg-comment b/graphics/mpgtx/pkg-comment
new file mode 100644
index 000000000000..a7a67e8d288e
--- /dev/null
+++ b/graphics/mpgtx/pkg-comment
@@ -0,0 +1 @@
+A command line MPEG audio/video/system file toolbox
diff --git a/graphics/mpgtx/pkg-descr b/graphics/mpgtx/pkg-descr
new file mode 100644
index 000000000000..3b488f364ad9
--- /dev/null
+++ b/graphics/mpgtx/pkg-descr
@@ -0,0 +1,16 @@
+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.
+
+ - mpgtx can currently split and join MPEG 1 video files and most MPEG
+ audio files.
+ - mpgtx can fetch detailed informations from MPEG 1 and MPEG 2.
+ - mpgtx can demultiplex MPEG 1 and MPEG 2 files (System layer, Program
+ layer and Transport Layer).
+ - mpgtx can add, remove and edit ID3 tags from mp3 files and rename mp3
+ files according to their ID3 tags.
+ - DivX ;) is not yet supported, neither is MPEG 4
+ - splitting and joining of MPEG 2 video files is experimental. (read "will
+ work only in your wildest dreams")
+
+WWW: http://mpgtx.sourceforge.net/
diff --git a/graphics/mpgtx/pkg-plist b/graphics/mpgtx/pkg-plist
new file mode 100644
index 000000000000..184ca2525691
--- /dev/null
+++ b/graphics/mpgtx/pkg-plist
@@ -0,0 +1,7 @@
+bin/mpgtx
+bin/mpgjoin
+bin/mpgsplit
+bin/mpgcat
+bin/mpginfo
+bin/mpgdemux
+bin/mp3tag
diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile
new file mode 100644
index 000000000000..48896b849ce9
--- /dev/null
+++ b/multimedia/mpgtx/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# New ports collection makefile for: mpgtx
+# Date created: May 15, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpgtx
+PORTVERSION= 0.6b
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1-src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ijliao@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+ALL_TARGET= shared
+MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_MAN="${INSTALL_MAN}"
+
+MAN1= mpgtx.1 mp3tag.1
+MLINKS= mpgtx.1 mpgdemux.1 \
+ mpgtx.1 mpgjoin.1 \
+ mpgtx.1 mpgsplit.1 \
+ mpgtx.1 mpgcat.1 \
+ mpgtx.1 mpginfo.1
+
+.include <bsd.port.mk>
diff --git a/multimedia/mpgtx/distinfo b/multimedia/mpgtx/distinfo
new file mode 100644
index 000000000000..17486d27504b
--- /dev/null
+++ b/multimedia/mpgtx/distinfo
@@ -0,0 +1 @@
+MD5 (mpgtx-0.6b-1-src.tgz) = 8d86be5a71390fb87ac2bd64261aa0ff
diff --git a/multimedia/mpgtx/files/patch-Makefile b/multimedia/mpgtx/files/patch-Makefile
new file mode 100644
index 000000000000..69bae5f25eb9
--- /dev/null
+++ b/multimedia/mpgtx/files/patch-Makefile
@@ -0,0 +1,35 @@
+--- Makefile.orig Tue Apr 24 21:02:33 2001
++++ Makefile Tue May 15 10:06:09 2001
+@@ -1,5 +1,4 @@
+ # installation dirs : Edit at your convenance
+-PREFIX=/usr
+ INSTALLDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man/man1
+
+@@ -7,7 +6,7 @@
+
+ # compilation flags
+ DEVEL_CFLAGS= -g -Wall -Werror -pedantic -fno-builtin
+-RELEASE_CFLAGS= -Wall -O3 -pedantic
++RELEASE_CFLAGS= ${CFLAGS}
+ SHARED_LFLAGS= -s
+ STATIC_LFLAGS= -static -s
+ DEVEL_LFLAGS= #-lefence
+@@ -48,14 +47,9 @@
+ ln -sf mpgtx mpginfo
+ ln -sf mpgtx mpgdemux
+ ln -sf mpgtx mp3tag
+- install -d -m 755 $(INSTALLDIR)
+- install -d -m 755 $(MANDIR)
+- install -s -m 755 mpgtx $(INSTALLDIR)
+- cp -df mpgdemux mpgjoin mpgcat mpginfo mpgsplit mp3tag $(INSTALLDIR)
+- install -m 644 man/mpgtx.1 man/mp3tag.1 $(MANDIR)
+- cd man ; make
+- cd ..
+- cp -df ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 $(MANDIR)
++ ${INSTALL_PROGRAM} mpgtx $(INSTALLDIR)
++ cp -f mpgdemux mpgjoin mpgcat mpginfo mpgsplit mp3tag $(INSTALLDIR)
++ ${INSTALL_MAN} man/mpgtx.1 man/mp3tag.1 $(MANDIR)
+
+ uninstall:
+ rm -f $(INSTALLDIR)/mpgtx
diff --git a/multimedia/mpgtx/pkg-comment b/multimedia/mpgtx/pkg-comment
new file mode 100644
index 000000000000..a7a67e8d288e
--- /dev/null
+++ b/multimedia/mpgtx/pkg-comment
@@ -0,0 +1 @@
+A command line MPEG audio/video/system file toolbox
diff --git a/multimedia/mpgtx/pkg-descr b/multimedia/mpgtx/pkg-descr
new file mode 100644
index 000000000000..3b488f364ad9
--- /dev/null
+++ b/multimedia/mpgtx/pkg-descr
@@ -0,0 +1,16 @@
+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.
+
+ - mpgtx can currently split and join MPEG 1 video files and most MPEG
+ audio files.
+ - mpgtx can fetch detailed informations from MPEG 1 and MPEG 2.
+ - mpgtx can demultiplex MPEG 1 and MPEG 2 files (System layer, Program
+ layer and Transport Layer).
+ - mpgtx can add, remove and edit ID3 tags from mp3 files and rename mp3
+ files according to their ID3 tags.
+ - DivX ;) is not yet supported, neither is MPEG 4
+ - splitting and joining of MPEG 2 video files is experimental. (read "will
+ work only in your wildest dreams")
+
+WWW: http://mpgtx.sourceforge.net/
diff --git a/multimedia/mpgtx/pkg-plist b/multimedia/mpgtx/pkg-plist
new file mode 100644
index 000000000000..184ca2525691
--- /dev/null
+++ b/multimedia/mpgtx/pkg-plist
@@ -0,0 +1,7 @@
+bin/mpgtx
+bin/mpgjoin
+bin/mpgsplit
+bin/mpgcat
+bin/mpginfo
+bin/mpgdemux
+bin/mp3tag