aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-03-15 02:00:59 +0800
committerjim <jim@FreeBSD.org>2002-03-15 02:00:59 +0800
commit3d9c606d68d8e53844dab559362f01b0e26a38e3 (patch)
tree165c80c5f5d2f8de54d4b710b3e3a8c3cb1735bb /comms
parent4c77f878b39210075bc29ec766f94f85765dba38 (diff)
downloadfreebsd-ports-gnome-3d9c606d68d8e53844dab559362f01b0e26a38e3.tar.gz
freebsd-ports-gnome-3d9c606d68d8e53844dab559362f01b0e26a38e3.tar.zst
freebsd-ports-gnome-3d9c606d68d8e53844dab559362f01b0e26a38e3.zip
Update to version 1.4.
PR: 35885 Submitted by: maintainer
Diffstat (limited to 'comms')
-rw-r--r--comms/ltmdm/Makefile31
-rw-r--r--comms/ltmdm/distinfo2
-rw-r--r--comms/ltmdm/pkg-descr4
-rw-r--r--comms/ltmdm/pkg-plist10
4 files changed, 34 insertions, 13 deletions
diff --git a/comms/ltmdm/Makefile b/comms/ltmdm/Makefile
index 5c280f4aa842..9d611e3e2d0e 100644
--- a/comms/ltmdm/Makefile
+++ b/comms/ltmdm/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= ltmdm
-PORTVERSION= 1.2
+PORTVERSION= 1.4
CATEGORIES= comms
-MASTER_SITES= http://www.csociety.org/~will/ \
- http://soupnazi.org/FreeBSD/ports/distfiles/ \
- http://www.gsoft.com.au/~doconnor/
+MASTER_SITES= http://www.dons.net.au/~darius/ \
+ http://www.csociety.org/~will/ \
+ http://soupnazi.org/FreeBSD/ports/distfiles/
+
EXTRACT_SUFX= .tgz
MAINTAINER= darius@dons.net.au
@@ -18,20 +19,38 @@ MAINTAINER= darius@dons.net.au
ONLY_FOR_ARCHS= i386
BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm
NO_WRKSUBDIR= yes
+.if defined(USE_595_OBJ)
+MAKE_ARGS+= LTMDM_OBJ_VERSION=595
+.else
+MAKE_ARGS+= LTMDM_OBJ_VERSION=600
+.endif
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
- ${ECHO} "This port requires the kernel source be available"; \
- ${ECHO} "*************************************************"; \
+ ${ECHO} "This port requires the kernel source be available"; \
+ ${ECHO} "*************************************************"; \
exit 1
.endif
+.if !defined(USE_595_OBJ)
+ @${ECHO} "*************************************************";
+ @${ECHO} "If you have a K56Flex modem define USE_595_OBJ ";
+ @${ECHO} "Otheriwse your modem will not work ";
+ @${ECHO} "*************************************************";
+.endif
do-install:
@${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ltmdm.sh
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/sys/modules/ltmdm/ltmdm.ko ${DATADIR}
@${INSTALL_SCRIPT} ${WRKSRC}/ltmdm.sh ${PREFIX}/etc/rc.d/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/README-en.TXT ${DOCSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL.TXT ${DOCSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL-en.TXT ${DOCSDIR}/
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/comms/ltmdm/distinfo b/comms/ltmdm/distinfo
index bbf8689ce2ae..7ff6563eca5a 100644
--- a/comms/ltmdm/distinfo
+++ b/comms/ltmdm/distinfo
@@ -1 +1 @@
-MD5 (ltmdm-1.2.tgz) = b7645aa94d9c334040e213096de8a12d
+MD5 (ltmdm-1.4.tgz) = 3024e220bf0e4b2921daa7e51b8b85b3
diff --git a/comms/ltmdm/pkg-descr b/comms/ltmdm/pkg-descr
index eb8eb620a01e..741d4687fa5b 100644
--- a/comms/ltmdm/pkg-descr
+++ b/comms/ltmdm/pkg-descr
@@ -1,8 +1,8 @@
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.
-I have tested this code on a Dell Inspiron 8000. Mr Watanabe has tested it on
-a ThinkPad i1124.
+I have tested this code on a Dell Inspiron 8000, and a Mitsubishi Diamond Voice
+internal PCI modem. Mr Watanabe has tested it on a ThinkPad i1124.
The shim code was written Watanabe Kiyoshi <aab10490@pop16.odn.net.jp>, see
WWW: http://www.geocities.com/wtnbkysh/
diff --git a/comms/ltmdm/pkg-plist b/comms/ltmdm/pkg-plist
index c95da8369c72..7c5fc2d378b3 100644
--- a/comms/ltmdm/pkg-plist
+++ b/comms/ltmdm/pkg-plist
@@ -1,7 +1,9 @@
-@unexec kldunload ltmdm || true
+@unexec sh %D/etc/rc.d/ltmdm.sh stop
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
+%%PORTDOCS%%share/doc/ltmdm/README.TXT
+%%PORTDOCS%%share/doc/ltmdm/README-en.TXT
+%%PORTDOCS%%share/doc/ltmdm/INSTALL.TXT
+%%PORTDOCS%%share/doc/ltmdm/INSTALL-en.TXT
+%%PORTDOCS%%@dirrm share/doc/ltmdm