aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2015-01-08 20:32:38 +0800
committermelifaro <melifaro@FreeBSD.org>2015-01-08 20:32:38 +0800
commitde05482e009bde85aa1222dbe9dba1787dee1e28 (patch)
treefaad89f1c23eb1f2699989d05ee93f0d641be1db /sysutils
parentb33184539d5fbdea154bef99cf47fb5ef6484147 (diff)
downloadfreebsd-ports-gnome-de05482e009bde85aa1222dbe9dba1787dee1e28.tar.gz
freebsd-ports-gnome-de05482e009bde85aa1222dbe9dba1787dee1e28.tar.zst
freebsd-ports-gnome-de05482e009bde85aa1222dbe9dba1787dee1e28.zip
Update to 2.2.0.
Submitted by: hps (initial version)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/usb_modeswitch/Makefile5
-rw-r--r--sysutils/usb_modeswitch/distinfo4
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/usb_modeswitch/Makefile b/sysutils/usb_modeswitch/Makefile
index ccef7b03578b..ce1ecf0026b5 100644
--- a/sysutils/usb_modeswitch/Makefile
+++ b/sysutils/usb_modeswitch/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= usb_modeswitch
-PORTVERSION= 1.2.1
+PORTVERSION= 2.2.0
CATEGORIES= sysutils
MASTER_SITES= http://www.draisberghof.de/usb_modeswitch/
DISTNAME= ${PORTNAME:S|_|-|}-${PORTVERSION}
@@ -12,10 +12,11 @@ COMMENT= Handling Mode-Switching USB Devices
LICENSE= GPLv2
-USES= tar:bzip2
+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
diff --git a/sysutils/usb_modeswitch/distinfo b/sysutils/usb_modeswitch/distinfo
index 1ae924f1f1e6..153ea2777123 100644
--- a/sysutils/usb_modeswitch/distinfo
+++ b/sysutils/usb_modeswitch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (usb-modeswitch-1.2.1.tar.bz2) = 88a253ef86a8aeeba9e6d5b40dd8a7b6b82d166b02bf6af922bf60f370b4d6cb
-SIZE (usb-modeswitch-1.2.1.tar.bz2) = 256713
+SHA256 (usb-modeswitch-2.2.0.tar.bz2) = 2752103de171ed5f6c8d6a6e3e73e16c9ee3e8e394dd39c5991f7680eb908a3a
+SIZE (usb-modeswitch-2.2.0.tar.bz2) = 261888