aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-05-30 06:13:23 +0800
committerwill <will@FreeBSD.org>2000-05-30 06:13:23 +0800
commitc8277b9f3454e0583fa1f3bf6e04ba2fd5f11e9c (patch)
tree089d5221c3ec9441f90b45a2a59f92a201c4cc43
parentc6c2447aac1bf12fed65e25859a30b565a39e74d (diff)
downloadfreebsd-ports-gnome-c8277b9f3454e0583fa1f3bf6e04ba2fd5f11e9c.tar.gz
freebsd-ports-gnome-c8277b9f3454e0583fa1f3bf6e04ba2fd5f11e9c.tar.zst
freebsd-ports-gnome-c8277b9f3454e0583fa1f3bf6e04ba2fd5f11e9c.zip
Make this port respect CC/CFLAGS properly; add secondary MASTER_SITES, and
support the install macros. Add nice manpage too! PR: 18884 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
-rw-r--r--graphics/splitmpg/Makefile12
-rw-r--r--graphics/splitmpg/files/patch-ac21
-rw-r--r--graphics/splitmpg/files/splitmpeg.145
-rw-r--r--graphics/splitmpg/pkg-descr1
-rw-r--r--multimedia/splitmpg/Makefile12
-rw-r--r--multimedia/splitmpg/files/patch-ac21
-rw-r--r--multimedia/splitmpg/files/splitmpeg.145
-rw-r--r--multimedia/splitmpg/pkg-descr1
8 files changed, 148 insertions, 10 deletions
diff --git a/graphics/splitmpg/Makefile b/graphics/splitmpg/Makefile
index 6f61668fdf7e..2c99e364d69b 100644
--- a/graphics/splitmpg/Makefile
+++ b/graphics/splitmpg/Makefile
@@ -8,14 +8,18 @@
PORTNAME= splitmpg
PORTVERSION= 1.0
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.ecel.uwa.edu.au/users/michael/
-DISTFILES= ${PORTNAME}.tgz
+MASTER_SITES= ftp://ftp.ecel.uwa.edu.au/users/michael/ \
+ ftp://ftp.netcom.com/pub/ms/msimmons/
+DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile
MAN1= splitmpeg.1
-MANCOMPRESSED= yes
-NO_WRKSUBDIR= yes
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/splitmpeg ${PREFIX}/bin
+ ${INSTALL_MAN} ${FILESDIR}/splitmpeg.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/graphics/splitmpg/files/patch-ac b/graphics/splitmpg/files/patch-ac
new file mode 100644
index 000000000000..85480ce801ea
--- /dev/null
+++ b/graphics/splitmpg/files/patch-ac
@@ -0,0 +1,21 @@
+--- makefile.orig Thu Jun 23 00:07:39 1994
++++ makefile Wed Apr 26 19:23:14 2000
+@@ -22,11 +22,14 @@
+ # Email: michael@ecel.uwa.edu.au
+ # Post: P.O. Box 506, NEDLANDS WA 6009, AUSTRALIA
+
++# FreeBSD
++LIBS = -lm
++
+ # Linux
+-CC=g++
+-CFLAGS=-O2 -m486 -funroll-loops -Wall -DLINUX -DINTEL_BYTE_ORDER
+-INCLUDES=-I/usr/g++-include/ -I/usr/lib/gcc-lib/i486-linux/2.5.8/include/
+-LIBS=-lm
++#CC=g++
++#CFLAGS=-O2 -m486 -funroll-loops -Wall -DLINUX -DINTEL_BYTE_ORDER
++#INCLUDES=-I/usr/g++-include/ -I/usr/lib/gcc-lib/i486-linux/2.5.8/include/
++#LIBS=-lm
+
+ # SunOS
+ #CFLAGS = -O2 -Wall -DSunOS -DSPARC
diff --git a/graphics/splitmpg/files/splitmpeg.1 b/graphics/splitmpg/files/splitmpeg.1
new file mode 100644
index 000000000000..1b846bd8237e
--- /dev/null
+++ b/graphics/splitmpg/files/splitmpeg.1
@@ -0,0 +1,45 @@
+.\" The following requests are required for all man pages.
+.Dd Thu Aug 1 09:36:57 CDT 1996
+.Os
+.Dt splitmpeg 1
+.Sh NAME
+.Nm splitmpeg
+.Sh SYNOPSIS
+.Nm splitmpeg
+.Op Fl vq
+.Ar filename
+.Sh DESCRIPTION
+.Nm splitmpeg
+splits an ISO 11172-1 MPEG system layer stream into its components.
+
+.Fl v
+print pack SCR and mux rate for each pack.
+
+.Fl q
+work quitely, nothing is written to stdout.
+
+.\" .Sh ENVIRONMENT
+.Sh FILES
+
+.Bl -tag -width stm188.mpg -compact
+.It Pa stm188.mpg
+is a reserved stream.
+
+.It Pa stm189.mpg
+is private stream 1.
+
+.It Pa stm190.mpg
+is the padding stream.
+
+.It Pa stm191.mpg
+is private stream 2.
+
+.It Pa stm192.mpg to stm223.mpg
+are audio streams.
+
+.It Pa stm224.mpg to stm239.mpg
+are video streams.
+
+.Sh AUTHORS
+splitmpeg was written by Michael Simmons <michael@ecel.uwa.edu.au>.
+This man page was written by Eric L. Hernes <erich@FreeBSD.org>
diff --git a/graphics/splitmpg/pkg-descr b/graphics/splitmpg/pkg-descr
index 0eda5d3487a2..61dc3a798ca5 100644
--- a/graphics/splitmpg/pkg-descr
+++ b/graphics/splitmpg/pkg-descr
@@ -13,4 +13,3 @@ From readme.txt:
eric.
erich@FreeBSD.org
-
diff --git a/multimedia/splitmpg/Makefile b/multimedia/splitmpg/Makefile
index 6f61668fdf7e..2c99e364d69b 100644
--- a/multimedia/splitmpg/Makefile
+++ b/multimedia/splitmpg/Makefile
@@ -8,14 +8,18 @@
PORTNAME= splitmpg
PORTVERSION= 1.0
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.ecel.uwa.edu.au/users/michael/
-DISTFILES= ${PORTNAME}.tgz
+MASTER_SITES= ftp://ftp.ecel.uwa.edu.au/users/michael/ \
+ ftp://ftp.netcom.com/pub/ms/msimmons/
+DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile
MAN1= splitmpeg.1
-MANCOMPRESSED= yes
-NO_WRKSUBDIR= yes
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/splitmpeg ${PREFIX}/bin
+ ${INSTALL_MAN} ${FILESDIR}/splitmpeg.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/multimedia/splitmpg/files/patch-ac b/multimedia/splitmpg/files/patch-ac
new file mode 100644
index 000000000000..85480ce801ea
--- /dev/null
+++ b/multimedia/splitmpg/files/patch-ac
@@ -0,0 +1,21 @@
+--- makefile.orig Thu Jun 23 00:07:39 1994
++++ makefile Wed Apr 26 19:23:14 2000
+@@ -22,11 +22,14 @@
+ # Email: michael@ecel.uwa.edu.au
+ # Post: P.O. Box 506, NEDLANDS WA 6009, AUSTRALIA
+
++# FreeBSD
++LIBS = -lm
++
+ # Linux
+-CC=g++
+-CFLAGS=-O2 -m486 -funroll-loops -Wall -DLINUX -DINTEL_BYTE_ORDER
+-INCLUDES=-I/usr/g++-include/ -I/usr/lib/gcc-lib/i486-linux/2.5.8/include/
+-LIBS=-lm
++#CC=g++
++#CFLAGS=-O2 -m486 -funroll-loops -Wall -DLINUX -DINTEL_BYTE_ORDER
++#INCLUDES=-I/usr/g++-include/ -I/usr/lib/gcc-lib/i486-linux/2.5.8/include/
++#LIBS=-lm
+
+ # SunOS
+ #CFLAGS = -O2 -Wall -DSunOS -DSPARC
diff --git a/multimedia/splitmpg/files/splitmpeg.1 b/multimedia/splitmpg/files/splitmpeg.1
new file mode 100644
index 000000000000..1b846bd8237e
--- /dev/null
+++ b/multimedia/splitmpg/files/splitmpeg.1
@@ -0,0 +1,45 @@
+.\" The following requests are required for all man pages.
+.Dd Thu Aug 1 09:36:57 CDT 1996
+.Os
+.Dt splitmpeg 1
+.Sh NAME
+.Nm splitmpeg
+.Sh SYNOPSIS
+.Nm splitmpeg
+.Op Fl vq
+.Ar filename
+.Sh DESCRIPTION
+.Nm splitmpeg
+splits an ISO 11172-1 MPEG system layer stream into its components.
+
+.Fl v
+print pack SCR and mux rate for each pack.
+
+.Fl q
+work quitely, nothing is written to stdout.
+
+.\" .Sh ENVIRONMENT
+.Sh FILES
+
+.Bl -tag -width stm188.mpg -compact
+.It Pa stm188.mpg
+is a reserved stream.
+
+.It Pa stm189.mpg
+is private stream 1.
+
+.It Pa stm190.mpg
+is the padding stream.
+
+.It Pa stm191.mpg
+is private stream 2.
+
+.It Pa stm192.mpg to stm223.mpg
+are audio streams.
+
+.It Pa stm224.mpg to stm239.mpg
+are video streams.
+
+.Sh AUTHORS
+splitmpeg was written by Michael Simmons <michael@ecel.uwa.edu.au>.
+This man page was written by Eric L. Hernes <erich@FreeBSD.org>
diff --git a/multimedia/splitmpg/pkg-descr b/multimedia/splitmpg/pkg-descr
index 0eda5d3487a2..61dc3a798ca5 100644
--- a/multimedia/splitmpg/pkg-descr
+++ b/multimedia/splitmpg/pkg-descr
@@ -13,4 +13,3 @@ From readme.txt:
eric.
erich@FreeBSD.org
-
Start new entryJP Rosevear2001-07-131-0/+144 * pulled from the 0.9 release.Jeffrey Stedfast2001-03-191-25/+114 * install conduit iconsJP Rosevear2001-03-031-0/+3 * Updated NEWS from 0.9 - FedericoFederico Mena Quintero2001-02-281-0/+64 * added note about better reply editingRadek Doulik2000-12-151-0/+3 * Update with the code name of the 0.8 release.Ettore Perazzoli2000-12-151-2/+2 * Added a bit of addressbook NEWS.Christopher James Lahey2000-12-151-2/+4 * Update.Jeffrey Stedfast2000-12-151-1/+9 * What I can remember doing. :)Iain Holmes2000-12-151-0/+14 * News - FedericoFederico Mena Quintero2000-12-151-1/+51 * UpdateJP Rosevear2000-12-151-1/+14 * Updated for the shell, and reformatted the part about the mailer aEttore Perazzoli2000-12-141-32/+85 * add mailer features since 0.6 (except filter stuff)Dan Winship2000-12-141-1/+80 * Added last names.Chris Lahey2000-10-201-6/+7 * Updated NEWS for addressbook and ETable.Christopher James Lahey2000-10-201-12/+33 * add mail newsDan Winship2000-10-201-0/+50 * re-commit Ettore's and JPR's 0.6 NEWS, in the right placeDan Winship2000-10-201-0/+29 * pull 0.5.1 NEWS back over to HEADDan Winship2000-10-201-0/+41 * Some minor formatting changes.Ettore Perazzoli2000-09-131-35/+37 * Pilot stuffJP Rosevear2000-09-131-1/+4 * Pilot stuffJP Rosevear2000-09-13