aboutsummaryrefslogtreecommitdiff
path: root/comms/ltmdm
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-05 19:12:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-05 19:12:16 +0000
commit1301e3e01dfaddb0d7f5b0e45b78c24378d59ccd (patch)
treede8136d63e171edc51aa6dbae538e88036de9309 /comms/ltmdm
parentd9b9406833a53db9041151657b8616b5c220939d (diff)
downloadports-1301e3e01dfaddb0d7f5b0e45b78c24378d59ccd.tar.gz
ports-1301e3e01dfaddb0d7f5b0e45b78c24378d59ccd.zip
Notes
Diffstat (limited to 'comms/ltmdm')
-rw-r--r--comms/ltmdm/Makefile39
-rw-r--r--comms/ltmdm/distinfo1
-rw-r--r--comms/ltmdm/pkg-comment1
-rw-r--r--comms/ltmdm/pkg-descr7
-rw-r--r--comms/ltmdm/pkg-message9
-rw-r--r--comms/ltmdm/pkg-plist14
6 files changed, 71 insertions, 0 deletions
diff --git a/comms/ltmdm/Makefile b/comms/ltmdm/Makefile
new file mode 100644
index 000000000000..e82039e0569c
--- /dev/null
+++ b/comms/ltmdm/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: ltmdm
+# Date Created: Nov 11, 2001
+# Whom: Daniel O'Connor <darius@dons.net.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ltmdm
+PORTVERSION= 1.0
+CATEGORIES= comms
+MASTER_SITES= http://www.gsoft.com.au/~doconnor/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= darius@dons.net.au
+
+ONLY_FOR_ARCHS= i386
+BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm
+NO_WRKSUBDIR= yes
+
+pre-fetch:
+.if !exists(${SRC_BASE}/sys/Makefile)
+ @${ECHO} "*************************************************"; \
+ ${ECHO} "This port requires the kernel source be available"; \
+ ${ECHO} "*************************************************"; \
+ exit 1
+.endif
+
+do-install:
+ @${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ltmdm.sh
+ @${MKDIR} ${DATADIR}
+ @${CP} ${WRKSRC}/sys/modules/ltmdm/ltmdm.ko ${DATADIR}
+ @(cd ${WRKSRC}/sys/modules/ltmdm; ${MAKE} clean)
+ @${MKDIR} ${PREFIX}/src
+ ${TAR} -C ${WRKSRC} -cf - sys | ${TAR} -C ${PREFIX}/src -xvf -
+ @${INSTALL_SCRIPT} ${WRKSRC}/ltmdm.sh ${PREFIX}/etc/rc.d/
+ @${ECHO} ""
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/comms/ltmdm/distinfo b/comms/ltmdm/distinfo
new file mode 100644
index 000000000000..c026d3e77837
--- /dev/null
+++ b/comms/ltmdm/distinfo
@@ -0,0 +1 @@
+MD5 (ltmdm-1.0.tgz) = be35cef381b531bb27dc01f4e7e82466
diff --git a/comms/ltmdm/pkg-comment b/comms/ltmdm/pkg-comment
new file mode 100644
index 000000000000..effbeb2513bf
--- /dev/null
+++ b/comms/ltmdm/pkg-comment
@@ -0,0 +1 @@
+Driver for the Lucent LT Winmodem chipset
diff --git a/comms/ltmdm/pkg-descr b/comms/ltmdm/pkg-descr
new file mode 100644
index 000000000000..d2d7c92a509f
--- /dev/null
+++ b/comms/ltmdm/pkg-descr
@@ -0,0 +1,7 @@
+This port contains a driver for several Winmodems based on the Lucent LT
+chipset. It consists of a shim for the Linux binary only object file.
+
+The shim code was written Watanabe Kiyoshi <aab10490@pop16.odn.net.jp>, see
+http://www.geocities.com/wtnbkysh/
+
+WWW: http://www.heby.de/ltmodem
diff --git a/comms/ltmdm/pkg-message b/comms/ltmdm/pkg-message
new file mode 100644
index 000000000000..4dd3e3320127
--- /dev/null
+++ b/comms/ltmdm/pkg-message
@@ -0,0 +1,9 @@
+*******************************************************************************
+* This port contains a prebuilt kernel module. Due to the ever changing *
+* nature of FreeBSD it may be necessary to rebuild the module after a kernel *
+* source update. To do this execute the following commands :- *
+* cd $PREFIX/src/sys/modules/ltmdm *
+* make *
+* cp ltmdm.ko $PREFIX/share/ltmdm *
+*******************************************************************************
+
diff --git a/comms/ltmdm/pkg-plist b/comms/ltmdm/pkg-plist
new file mode 100644
index 000000000000..f97edc3ff6f7
--- /dev/null
+++ b/comms/ltmdm/pkg-plist
@@ -0,0 +1,14 @@
+src/sys/modules/ltmdm/Makefile
+@dirrm src/sys/modules/ltmdm
+@dirrm src/sys/modules
+src/sys/dev/ltmdm/ltmdmsio.c
+src/sys/dev/ltmdm/ltmdmobj.o.uu
+@dirrm src/sys/dev/ltmdm
+@dirrm src/sys/dev
+@dirrm src/sys
+etc/rc.d/ltmdm.sh
+share/ltmdm/ltmdm.ko
+@dirrm share/ltmdm
+@exec rm -f /dev/cual0
+@exec mknod /dev/cual0 c 228 128 uucp:dialer
+@unexec rm -f /dev/cual0