diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-01 23:51:55 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-01 23:51:55 +0000 |
commit | 34950ff6440d6b37838c43b457c11f533961e2d3 (patch) | |
tree | a772ce24f67ca43bd263ec3daaba7c8b68ee037f /comms/hcfmdm | |
parent | a7d874f565483c7991428f586da44f52054402ad (diff) | |
download | ports-34950ff6440d6b37838c43b457c11f533961e2d3.tar.gz ports-34950ff6440d6b37838c43b457c11f533961e2d3.zip |
Notes
Diffstat (limited to 'comms/hcfmdm')
-rw-r--r-- | comms/hcfmdm/Makefile | 80 | ||||
-rw-r--r-- | comms/hcfmdm/distinfo | 9 | ||||
-rw-r--r-- | comms/hcfmdm/files/pkg-message.in | 17 | ||||
-rw-r--r-- | comms/hcfmdm/pkg-descr | 7 | ||||
-rw-r--r-- | comms/hcfmdm/pkg-plist | 2 |
5 files changed, 115 insertions, 0 deletions
diff --git a/comms/hcfmdm/Makefile b/comms/hcfmdm/Makefile new file mode 100644 index 000000000000..06a8b575d304 --- /dev/null +++ b/comms/hcfmdm/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: hcfmdm +# Date Created: Jul 30, 2006 +# Whom: Alexey Illarionov <littlesavage@rambler.ru> +# +# Based on: ltmdm created by Daniel O'Connor <darius@dons.net.au> +# Based on: $FreeBSD$ +# +# $FreeBSD$ +# + +PORTNAME= hcfmdm +PORTVERSION= 0.99.1 +CATEGORIES= comms +MASTER_SITES= http://lug.cbx.ru/files/modem/ \ + http://www.int21.de/conexant/ \ + ${MASTER_SITE_GENTOO} \ + http://marvin.lirex.com/~maxx/ \ + http://zoltek7.webpark.pl/ \ + http://www.linuxant.com/drivers/hsf/free/archive/ +DISTFILES= hcfmdm-0.99.1.tar.gz \ + hcfpcimodem-0.99lnxtbeta03042700.tar.gz +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= hcfmdm-0.99.1.tar.gz hcfpcimodem-0.99lnxtbeta03042700.tar.gz + +MAINTAINER= FreeBSD@FreeBSD.org +COMMENT= Driver for the Conexant HCF PCI winmodem chipset (Acorp PIM/PIM2) + +MODULES_WITH_WORLD?= yes +ONLY_FOR_ARCHS= i386 +SUB_FILES+= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message +RESTRICTED= Redistribution of versions marked lnxtbeta requires explicit written approval from Linuxant +RESTRICTED_FILES= hcfpcimodem-0.99lnxtbeta03042700.tar.gz +NO_CDROM= No redistribution allowed +NO_PACKAGE= ${NO_CDROM} + +STRIP= # do not strip kernel module + +LNXTDOCS= README FAQ BUGS +PORTDOCS= ${LNXTDOCS} 100498D_RM_HxF_Released.pdf + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600100 +IGNORE= is not for FreeBSD versions < 600100 +.endif + +.if ${OSVERSION} >= 700000 +BROKEN= Does not compile at 7.x +.endif + +PLIST_SUB+= KMODDIR=${KMODDIR} + +.if !defined(NOPORTDOCS) +DISTFILES+= 100498D_RM_HxF_Released.pdf +.endif + +pre-fetch: +.if !exists(/usr/src/sys/Makefile) + @${ECHO} "*************************************************"; \ + ${ECHO} "This port requires the kernel source be available"; \ + ${ECHO} "*************************************************"; \ + exit 1 +.endif + +do-install: + @${MKDIR} ${KMODDIR} + @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hcfmdm.ko ${KMODDIR}/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${LNXTDOCS} + @${INSTALL_DATA} ${WRKDIR}/hcfpcimodem-0.99lnxtbeta03042700/${i} ${DOCSDIR}/ +.endfor + + @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/100498D_RM_HxF_Released.pdf ${DOCSDIR}/ +.endif + + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/comms/hcfmdm/distinfo b/comms/hcfmdm/distinfo new file mode 100644 index 000000000000..de2919f02a7a --- /dev/null +++ b/comms/hcfmdm/distinfo @@ -0,0 +1,9 @@ +MD5 (hcfmdm/hcfmdm-0.99.1.tar.gz) = 89c0776651c878f34c32d536843523fd +SHA256 (hcfmdm/hcfmdm-0.99.1.tar.gz) = 2c1f2fee7c0c09606e32f3a8af0dc95891cb174288ba607f3638af20c3b919be +SIZE (hcfmdm/hcfmdm-0.99.1.tar.gz) = 14113 +MD5 (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = 30a041128aa5f6e60c23de3aee300bc9 +SHA256 (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = f99d40553234cd09353b35ce69104be432e501e541fe3ff5d8984c6e48f7ae24 +SIZE (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = 644608 +MD5 (hcfmdm/100498D_RM_HxF_Released.pdf) = e6d8fea8f5f641d7bb4dfb33c6f478e7 +SHA256 (hcfmdm/100498D_RM_HxF_Released.pdf) = e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1 +SIZE (hcfmdm/100498D_RM_HxF_Released.pdf) = 718949 diff --git a/comms/hcfmdm/files/pkg-message.in b/comms/hcfmdm/files/pkg-message.in new file mode 100644 index 000000000000..26d6f42ade1d --- /dev/null +++ b/comms/hcfmdm/files/pkg-message.in @@ -0,0 +1,17 @@ +******************************************************************************* +* * +* 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 reinstall the port. * +* * +******************************************************************************* +To use these drivers, make sure that you have loaded the hcfmdm kernel +module, by doing + + # kldload hcfmdm + +or adding + + hcfmdm_load="YES" + +to your /boot/loader.conf. diff --git a/comms/hcfmdm/pkg-descr b/comms/hcfmdm/pkg-descr new file mode 100644 index 000000000000..9fae4ae0d2a3 --- /dev/null +++ b/comms/hcfmdm/pkg-descr @@ -0,0 +1,7 @@ +This port contains a driver for several Winmodems based on the Conexant +HCF chipset (Acorp PIM/PIM2). It consists of a shim for the Linux binary +only object file. + +WWW: http://www.linuxant.com/ + +- Alexey Illarionov <littlesavage@rambler.ru> diff --git a/comms/hcfmdm/pkg-plist b/comms/hcfmdm/pkg-plist new file mode 100644 index 000000000000..bcdc3caa9c0e --- /dev/null +++ b/comms/hcfmdm/pkg-plist @@ -0,0 +1,2 @@ +@cwd %%KMODDIR%% +hcfmdm.ko |