summaryrefslogtreecommitdiff
path: root/sysutils/usb_modeswitch/Makefile
blob: f00f178130f3aa0186bf703c1dfa56127d597821 (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
# Created by: Alexander V. Chernikov <melifaro@FreeBSD.org>
# $FreeBSD$

PORTNAME=	usb_modeswitch
PORTVERSION=	1.2.1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.draisberghof.de/usb_modeswitch/
DISTNAME=	${PORTNAME:S|_|-|}-${PORTVERSION}

MAINTAINER=	melifaro@ipfw.ru
COMMENT=	Handling Mode-Switching USB Devices

LICENSE=	GPLv2

USE_BZIP2=	yes

MAKE_JOBS_UNSAFE=	yes

MAN1=		usb_modeswitch.1

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=		does not compile on FreeBSD 7.X
.endif

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${PREFIX}/sbin
		${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${PREFIX}/etc/usb_modeswitch.conf.sample
		${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${PREFIX}/man/man1

.include <bsd.port.post.mk>