1c9dca221a
usbcomm driver for TUSB3410 uart-to-usb converter WWW: http://sf.net/projects/uticom PR: ports/87809 Submitted by: Dmitry Komissaroff <dxi@mail.ru>
38 lines
868 B
Makefile
38 lines
868 B
Makefile
# Ports collection makefile for: uticom
|
|
# Date created: 17-10-2005
|
|
# Whom: Dmitry Komissaroff <dxi@mail.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= uticom
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= uticom-${PORTVERSION}
|
|
|
|
MAINTAINER= dxi@mail.ru
|
|
COMMENT= A FreeBSD Driver for TUSB3410 uart-to-usb converter
|
|
|
|
NO_PACKAGE= "Should be in sync with the kernel to work correctly"
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
SRCPREFIX?= /usr/src
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
LOCALBASE= /boot/kernel
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
IGNORE= FreeBSD < 5.0 are not supported
|
|
.endif
|
|
|
|
# Make sure kernel sources are present before going any further
|
|
.if ! exists(${SRCPREFIX}/sys/dev/usb/usb.c)
|
|
IGNORE= You need to extract kernel source tree before building this package
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|