diff options
author | will <will@FreeBSD.org> | 2001-05-20 04:34:28 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-05-20 04:34:28 +0000 |
commit | eb451c4ecacad6d7619634b8cbc29785fb0dcb6c (patch) | |
tree | 321465b2d75072edaa1820cd0d441b0975cb48fb | |
parent | ddd0aeb09b95b7eba84d7bccf170530f36d18297 (diff) | |
download | FreeBSD-ports-eb451c4ecacad6d7619634b8cbc29785fb0dcb6c.zip FreeBSD-ports-eb451c4ecacad6d7619634b8cbc29785fb0dcb6c.tar.gz |
Add mwavem 1.0, a loadable module and user excutable to support IBM
Mwave ACP modem.
PR: 27064
Submitted by: R. Kevin Oberman <oberman@es.net>
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/mwavem/Makefile | 62 | ||||
-rw-r--r-- | comms/mwavem/distinfo | 1 | ||||
-rw-r--r-- | comms/mwavem/files/mwave.sh | 27 | ||||
-rw-r--r-- | comms/mwavem/pkg-comment | 1 | ||||
-rw-r--r-- | comms/mwavem/pkg-descr | 6 | ||||
-rw-r--r-- | comms/mwavem/pkg-plist | 80 |
7 files changed, 178 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index b81e58d..020c26b 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -16,6 +16,7 @@ SUBDIR += minicom SUBDIR += mlan SUBDIR += mserver + SUBDIR += mwavem SUBDIR += plp SUBDIR += pr SUBDIR += qico diff --git a/comms/mwavem/Makefile b/comms/mwavem/Makefile new file mode 100644 index 0000000..dcbd4e0 --- /dev/null +++ b/comms/mwavem/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: mwave +# Date Created: Apr 22 2001 +# Whom: R. Kevin Oberman <oberman@es.net> +# +# $FreeBSD$ +# + +PORTNAME= mwavem-fbsd +PORTVERSION= 1.0 +CATEGORIES= comms +MASTER_SITES= http://oss.software.ibm.com/developer/opensource/linux/projects/mwave/releases/ \ + ${MASTER_SITE_LOCAL} +EXTRACT_SUFX= .tgz + +MAINTAINER= oberman@es.net + +LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads + +ONLY_FOR_ARCHS= i386 + +STARTUP= mwave.sh +USE_GMAKE= yes +SLEEP= /bin/sleep + +.include <bsd.port.pre.mk> + +pre-build: + ${PERL} -pi.orig -e "s@f /etc@f ${PREFIX}/etc@g" ${WRKSRC}/Makefile + ${PERL} -pi.orig -e "s@ko /modules@ko ${PREFIX}/share/mwave@g" ${WRKSRC}/drivers/Makefile + ${PERL} -pi.orig -e "s@install -m@install -c -m@g" \ + ${WRKSRC}/manager/Makefile ${WRKSRC}/meio/Makefile ${WRKSRC}/mwmbl/Makefile \ + ${WRKSRC}/mwmlw32/Makefile ${WRKSRC}/mwmpw32/Makefile ${WRKSRC}/mwmutil/Makefile \ + ${WRKSRC}/mwwtt32/Makefile + +pre-install: + ${MKDIR} ${PREFIX}/share/mwave + +post-install: + @${ECHO} "Installing ${PREFIX}/etc/rc.d/${STARTUP} startup file." + @${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP} ${PREFIX}/etc/rc.d/ + strip ${PREFIX}/sbin/mwavem + +pre-fetch: +.if !exists(${SRC_BASE}/sys/Makefile) + @if ! ${LDCONFIG} -r | ${GREP} -qwF -e "-llthreads.2"; then \ + ${ECHO} " "; \ + ${ECHO} "****************************************************************"; \ + ${ECHO} "* This port requires the linuxthreads library. Installation of *"; \ + ${ECHO} "* this port requires that the full FreeBSD sources be present *"; \ + ${ECHO} "* on the system. *"; \ + ${ECHO} "* *"; \ + ${ECHO} "* If you prefer not oading the full sources, you make install *"; \ + ${ECHO} "* the linuxthreads package from /stand/sysinstall. *"; \ + ${ECHO} "****************************************************************"; \ + ${SLEEP} 10; fi; +.endif + +.if ${OSVERSION} < 410000 +BROKEN= "Systems prior to 4.1 are not supported" +.endif + +.include <bsd.port.post.mk> diff --git a/comms/mwavem/distinfo b/comms/mwavem/distinfo new file mode 100644 index 0000000..60d5a84 --- /dev/null +++ b/comms/mwavem/distinfo @@ -0,0 +1 @@ +MD5 (mwavem-fbsd-1.0.tgz) = 3bd9fe34d9d850da64759825908cc883 diff --git a/comms/mwavem/files/mwave.sh b/comms/mwavem/files/mwave.sh new file mode 100644 index 0000000..6aebec7 --- /dev/null +++ b/comms/mwavem/files/mwave.sh @@ -0,0 +1,27 @@ +#!/bin/sh +MWAVE_NAME="mwavem" +MWAVEM_PATH="/usr/local/bin/" +# +# -- START -- +# $Id: init.freebsd.sh,v 1.1 2000/10/03 16:23:21 papowell Exp papowell $ +# This file can be installed in /usr/local/etc/rc.d +# as mwavem.sh +# Freebsd 4.x will run all files in this directory +# with the suffix .sh as shell scripts +# + +case "$1" in + restart ) + $0 stop + sleep 2 + $0 start + ;; + stop ) + killall ${MWAVE_NAME} + ;; + start ) + echo -n ' modem' + kldstat -n mwavedd 2>/dev/null >/dev/null || kldload /usr/local/modules/mwavedd + ${MWAVE_PATH}${MWAVE_NAME} > /dev/null & + ;; +esac diff --git a/comms/mwavem/pkg-comment b/comms/mwavem/pkg-comment new file mode 100644 index 0000000..0acf932 --- /dev/null +++ b/comms/mwavem/pkg-comment @@ -0,0 +1 @@ +Loadable module and user excutable to support IBM Mwave ACP modem diff --git a/comms/mwavem/pkg-descr b/comms/mwavem/pkg-descr new file mode 100644 index 0000000..863eb58 --- /dev/null +++ b/comms/mwavem/pkg-descr @@ -0,0 +1,6 @@ +This port includes a loadable kernel module and a user executable to +allow FreeBSD to use the DSP modem in IBM ThinkPad 600 and 700 series +laptop computers. + +- R. Kevin Oberman +oberman@es.net diff --git a/comms/mwavem/pkg-plist b/comms/mwavem/pkg-plist new file mode 100644 index 0000000..8db7549 --- /dev/null +++ b/comms/mwavem/pkg-plist @@ -0,0 +1,80 @@ +sbin/mwavem +etc/mwavem.conf +etc/rc.d/mwave.sh +share/mwave/agc8.dsp +share/mwave/agc9.dsp +share/mwave/agc9wt.dsp +share/mwave/async.dsp +share/mwave/async2x.dsp +share/mwave/c96441.dsp +share/mwave/callerid.dsp +share/mwave/callprog.dsp +share/mwave/cancel.dsp +share/mwave/cl1_hdlc.dsp +share/mwave/class1.dsp +share/mwave/class2.dsp +share/mwave/class8.dsp +share/mwave/class80.dsp +share/mwave/disc.dsp +share/mwave/dtmfr8.dsp +share/mwave/dtmfrm.dsp +share/mwave/fax01.dsp +share/mwave/faxpmp17.dsp +share/mwave/gain96.dsp +share/mwave/gainwt.dsp +share/mwave/gpc2pc.dsp +share/mwave/gsm.dsp +share/mwave/imaadpcm.dsp +share/mwave/init0437.dsp +share/mwave/int0896.dsp +share/mwave/int9608.dsp +share/mwave/meix0437.dsp +share/mwave/mhint.dsp +share/mwave/mixer96.dsp +share/mwave/mnp.dsp +share/mwave/mnp5.dsp +share/mwave/modem.dsp +share/mwave/mwbi0917.dsp +share/mwave/mwos3780.dsp +share/mwave/pc2gpc.dsp +share/mwave/ramm.dsp +share/mwave/rammv34.dsp +share/mwave/router.dsp +share/mwave/sildet.dsp +share/mwave/spk076.dsp +share/mwave/spk076m.dsp +share/mwave/spkeec.dsp +share/mwave/spkeecm.dsp +share/mwave/spkmmtp.dsp +share/mwave/spkvod.dsp +share/mwave/stp08m.dsp +share/mwave/stpvm.dsp +share/mwave/str08ser.dsp +share/mwave/strvm.dsp +share/mwave/t30.dsp +share/mwave/tonegen.dsp +share/mwave/uartdma.dsp +share/mwave/v22.dsp +share/mwave/v23.dsp +share/mwave/v32bis.dsp +share/mwave/v34.dsp +share/mwave/v34pcmc.dsp +share/mwave/v42.dsp +share/mwave/v42bisn.dsp +share/mwave/v8.dsp +share/mwave/v80.dsp +share/mwave/v80mac.dsp +share/mwave/v90.dsp +share/mwave/vv_hdlc.dsp +share/mwave/vv_prot.dsp +share/mwave/mwmmem.prf +share/mwave/tigr1040.wtt +share/mwave/mwavedd.ko +lib/libmwave.a +lib/libmeio.a +lib/libmwmutil.a +lib/libmwwtt32.a +lib/libmwmlw32.a +lib/libmwmpw32.a +lib/libmwmbl.a +@dirrm share/mwave |