aboutsummaryrefslogtreecommitdiffstats
path: root/comms/uticom/Makefile
blob: 1ed979e582338fb819535e6430db4b6413ab8085 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Ports collection makefile for:    uticom
# Date created:             01-12-2005
# Whom:                 Dmitry Komissaroff <dxi@mail.ru>
#
# $FreeBSD$
#

PORTNAME=   uticom
PORTVERSION=    0.2
CATEGORIES= comms
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=    ${PORTNAME}-${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}-${PORTVERSION}
LOCALBASE=  /boot/kernel

PLIST_FILES=    uticom.ko

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