freebsd-ports/sysutils/usb_modeswitch/Makefile
Torsten Zuehlsdorff aaeb282090 sysutils/usb_modeswitch: update from 2.2.5 to 2.3.0 and add LICENSE_FILE
Version 2.3.0

  - ATTENTION: -I flag is now history and being ignored - determining SCSI
    attributes is really an 'outside task'
  - -n flag (NeedResponse) is being ignored, CSW response will now always be read
  - introduction of parameter "OptionMode", wrapping the standard bulk
    message for all newer Huawei devices
  - fixed missing variable initialization in dispatcher script which could lead
    to crash (thanks, Dmitry Kunilov!)
  - fixed bug which prevented early logging
  - fixed success report for Cisco AM10
  - some source code formatting and clean-up

Version 2.2.6

  - Renamed function abort(), avoiding possible conflicts in static builds
    with libjim (thanks, Gustavo Zacharias)
  - removed storage class check of interface 0 from dispatcher,
    enabling new multi-config devices in data package 20151101

PR:           210246
Submitted by: Franco Fichtner <franco@opnsense.org>
Approved by:  maintainer timeout (3 weeks), junovitch (mentor)
2016-07-08 15:13:58 +00:00

27 lines
823 B
Makefile

# Created by: Alexander V. Chernikov <melifaro@FreeBSD.org>
# $FreeBSD$
PORTNAME= usb_modeswitch
PORTVERSION= 2.3.0
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
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake tar:bzip2
pre-patch:
${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${STAGEDIR}${PREFIX}/etc/usb_modeswitch.conf.sample
${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>