1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to version 1.4.

PR:		35885
Submitted by:	maintainer
This commit is contained in:
Jim Mock 2002-03-14 18:00:59 +00:00
parent 53862497c4
commit 08c76565ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56098
4 changed files with 34 additions and 13 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (ltmdm-1.2.tgz) = b7645aa94d9c334040e213096de8a12d
MD5 (ltmdm-1.4.tgz) = 3024e220bf0e4b2921daa7e51b8b85b3

View File

@ -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/

View File

@ -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