blob: 867e902dc1aa612cc955dbd6aa5d23229161a31c (
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
|
# New ports collection makefile for: usb_modeswitch
# Date created: 14 January 2011
# Whom: 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
.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>
|