summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-01-06 09:56:43 +0000
committerpst <pst@FreeBSD.org>1995-01-06 09:56:43 +0000
commit83eddf4297b81e207c78a4c4f74fbd247f4fda44 (patch)
treefee135993cd4b04e0de3f30f987b023dec9f68b2
parent37441c5f05f56e6d9a1bbea3a3c4e5564479d821 (diff)
downloadFreeBSD-ports-83eddf4297b81e207c78a4c4f74fbd247f4fda44.zip
FreeBSD-ports-83eddf4297b81e207c78a4c4f74fbd247f4fda44.tar.gz
GSM <-> other audio encoding conversion package (required for nevot)
-rw-r--r--audio/gsm/Makefile14
-rw-r--r--audio/gsm/distinfo1
-rw-r--r--audio/gsm/files/patch-aa21
-rw-r--r--audio/gsm/files/patch-ab36
-rw-r--r--audio/gsm/pkg-comment1
-rw-r--r--audio/gsm/pkg-descr2
-rw-r--r--audio/gsm/pkg-plist13
7 files changed, 88 insertions, 0 deletions
diff --git a/audio/gsm/Makefile b/audio/gsm/Makefile
new file mode 100644
index 0000000..8480a69
--- /dev/null
+++ b/audio/gsm/Makefile
@@ -0,0 +1,14 @@
+# Makefile for: gsm
+# Version required: gsm-1.0.4
+# Date created: 5 January 1995
+# Whom: pst
+#
+# $Id$
+#
+
+DISTNAME= gsm-1.0.4
+EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ftp://gaia.cs.umass.edu/pub/hgschulz/nevot/
+WRKSRC= ${WRKDIR}/gsm-1.0-pl4
+
+.include <bsd.port.mk>
diff --git a/audio/gsm/distinfo b/audio/gsm/distinfo
new file mode 100644
index 0000000..97a54c6
--- /dev/null
+++ b/audio/gsm/distinfo
@@ -0,0 +1 @@
+MD5 (gsm-1.0.4.tar.Z) = cd51db18bcc1ff09814b8055b720cd31
diff --git a/audio/gsm/files/patch-aa b/audio/gsm/files/patch-aa
new file mode 100644
index 0000000..244eb8e
--- /dev/null
+++ b/audio/gsm/files/patch-aa
@@ -0,0 +1,21 @@
+*** inc/config.h Fri Jan 6 01:35:41 1995
+--- inc/config.h Fri Jan 6 01:35:51 1995
+***************
+*** 25,32 ****
+ /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
+
+ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
+! #define HAS_UTIME 1 /* POSIX utime(path, times) */
+! /*efine HAS_UTIMES 1 /* use utimes() syscall instead */
+ #define HAS_UTIME_H 1 /* UTIME header file */
+ /*efine HAS_UTIMBUF 1 /* struct utimbuf */
+ /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
+--- 25,32 ----
+ /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
+
+ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
+! /*efine HAS_UTIME 1 /* POSIX utime(path, times) */
+! #define HAS_UTIMES 1 /* use utimes() syscall instead */
+ #define HAS_UTIME_H 1 /* UTIME header file */
+ /*efine HAS_UTIMBUF 1 /* struct utimbuf */
+ /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
diff --git a/audio/gsm/files/patch-ab b/audio/gsm/files/patch-ab
new file mode 100644
index 0000000..cc8ae99
--- /dev/null
+++ b/audio/gsm/files/patch-ab
@@ -0,0 +1,36 @@
+*** Makefile Tue May 10 14:39:31 1994
+--- Makefile Fri Jan 6 01:42:47 1995
+***************
+*** 60,66 ****
+ # Leave INSTALL_ROOT empty (or just don't execute "make install") to
+ # not install gsm and toast outside of this directory.
+
+! INSTALL_ROOT =
+
+ # Where do you want to install the gsm library, header file, and manpages?
+ #
+--- 60,66 ----
+ # Leave INSTALL_ROOT empty (or just don't execute "make install") to
+ # not install gsm and toast outside of this directory.
+
+! INSTALL_ROOT = ${PREFIX}
+
+ # Where do you want to install the gsm library, header file, and manpages?
+ #
+***************
+*** 69,75 ****
+
+ GSM_INSTALL_ROOT = $(INSTALL_ROOT)
+ GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
+! GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
+ GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+
+
+--- 69,75 ----
+
+ GSM_INSTALL_ROOT = $(INSTALL_ROOT)
+ GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
+! GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include
+ GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+
+
diff --git a/audio/gsm/pkg-comment b/audio/gsm/pkg-comment
new file mode 100644
index 0000000..e5e71b18
--- /dev/null
+++ b/audio/gsm/pkg-comment
@@ -0,0 +1 @@
+gsm - audio converter and library for converting u-law to gsm encoding
diff --git a/audio/gsm/pkg-descr b/audio/gsm/pkg-descr
new file mode 100644
index 0000000..1436934
--- /dev/null
+++ b/audio/gsm/pkg-descr
@@ -0,0 +1,2 @@
+gsm is a conversion package and library for converting u-law audio to
+gsm encoding (which is much more efficient) and back again.
diff --git a/audio/gsm/pkg-plist b/audio/gsm/pkg-plist
new file mode 100644
index 0000000..4a21842
--- /dev/null
+++ b/audio/gsm/pkg-plist
@@ -0,0 +1,13 @@
+@cwd /usr/local
+bin/toast
+@exec ln -s %f %B/untoast
+@exec ln -s %f %B/untoastt
+man/man1/toast.1
+@exec ln -s %f %B/untoast.1
+@exec ln -s %f %B/tcat.1
+man/man3/gsm.3
+man/man3/gsm_explode.3
+man/man3/gsm_option.3
+man/man3/gsm_print.3
+lib/libgsm.a
+include/gsm.h
OpenPOWER on IntegriCloud