# Created by: hm
# $FreeBSD: tags/RELEASE_10_2_0/comms/mlan3/Makefile 383311 2015-04-05 18:12:55Z bapt $

PORTNAME=	mlan3
PORTVERSION=	1.00
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.dalsemi.com/pub/auto_id/public/
DISTNAME=	owpd300b

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Version 3.00 beta API for Dallas Semiconductors 1-wire lan devices

BROKEN=		Unfetchable

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/license.txt

NO_WRKSUBDIR=	yes
USES=		uidfix zip

post-patch:
	@${REINPLACE_CMD} -e '/int main/s/short argc/int argc/' \
		${WRKSRC}/apps/gethumd/gethumd.c ${WRKSRC}/apps/shaapp/shaapp.c

.include <bsd.port.mk>
