aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:33:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:33:19 +0000
commit1ce51726ccf29d7b26d9eebebbb6c66d16ced65c (patch)
tree79318f5df330d3f1a3101bc85dd8599dfe8e95e2 /comms
parent15bc754dd862ad57fd15365840a7ee1f1f88a4bb (diff)
downloadports-1ce51726ccf29d7b26d9eebebbb6c66d16ced65c.tar.gz
ports-1ce51726ccf29d7b26d9eebebbb6c66d16ced65c.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/dfu-util/Makefile28
-rw-r--r--comms/dfu-util/distinfo4
-rw-r--r--comms/dfu-util/files/patch-configure.ac13
-rw-r--r--comms/dfu-util/pkg-descr2
4 files changed, 14 insertions, 33 deletions
diff --git a/comms/dfu-util/Makefile b/comms/dfu-util/Makefile
index 3897587fda94..0299afda8dfc 100644
--- a/comms/dfu-util/Makefile
+++ b/comms/dfu-util/Makefile
@@ -1,26 +1,24 @@
-# New ports collection makefile for: dfu-util
-# Date created: 2008-02-04
-# Whom: Bruce Cran <bruce@cran.org.uk>
-#
+# Created by: Bruce Cran <bruce@cran.org.uk>
# $FreeBSD$
-#
PORTNAME= dfu-util
-DISTVERSION= 0.1.snap${SNAPDATE}
-PORTREVISION= 1
+PORTVERSION= 0.7
CATEGORIES= comms
-MASTER_SITES= http://www.cran.org.uk/~brucec/software/
+MASTER_SITES= http://dfu-util.gnumonks.org/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= Device firmware update (DFU) USB programmer
-MAN1= dfu-util.1
-PLIST_FILES= bin/dfu-util
-USE_AUTOTOOLS= aclocal automake autoheader
-AUTOMAKE_ARGS= --add-missing --foreign --copy
+LICENSE= GPLv2
-SNAPDATE= 20090212
GNU_CONFIGURE= yes
+CONFIGURE_ENV= USE_LIBS="-lusb" \
+ ac_cv_lib_usbpath_usb_path2devnum=no
+CONFIGURE_ARGS= --disable-silent-rules
+MAKE_JOBS_SAFE= yes
+
+MAN1= dfu-util.1
+PLIST_FILES= bin/dfu-suffix bin/dfu-util
.include <bsd.port.pre.mk>
@@ -28,8 +26,4 @@ GNU_CONFIGURE= yes
IGNORE= requires new USB stack in FreeBSD 8
.endif
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/dfu-util ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/dfu-util.1 ${MAN1PREFIX}/man/man1
-
.include <bsd.port.post.mk>
diff --git a/comms/dfu-util/distinfo b/comms/dfu-util/distinfo
index 888786d21642..a7575ac8f408 100644
--- a/comms/dfu-util/distinfo
+++ b/comms/dfu-util/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dfu-util-0.1.snap20090212.tar.gz) = 3af5421857ee83df09ccd5d1061620a93907820ff9df7e0706e54e88548b2496
-SIZE (dfu-util-0.1.snap20090212.tar.gz) = 21774
+SHA256 (dfu-util-0.7.tar.gz) = f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab
+SIZE (dfu-util-0.7.tar.gz) = 125356
diff --git a/comms/dfu-util/files/patch-configure.ac b/comms/dfu-util/files/patch-configure.ac
deleted file mode 100644
index 956d8181827e..000000000000
--- a/comms/dfu-util/files/patch-configure.ac
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.ac.orig 2008-10-07 17:14:07.000000000 +0400
-+++ configure.ac 2009-03-08 11:54:32.000000000 +0300
-@@ -15,9 +15,8 @@
-
- # Checks for libraries.
-
--PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
-- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***]))
- AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
-+USB_LIBS=-lusb
-
- LIBS="$LIBS $USB_LIBS"
- CFLAGS="$CFLAGS $USB_CFLAGS"
diff --git a/comms/dfu-util/pkg-descr b/comms/dfu-util/pkg-descr
index 75515d8cf5ad..481d888ca802 100644
--- a/comms/dfu-util/pkg-descr
+++ b/comms/dfu-util/pkg-descr
@@ -5,4 +5,4 @@ In the OpenMoko project (for example), this program is used to communicate
with the specially enhanced u-boot boot loader, which implements the DFU
device side.
-WWW: http://wiki.openmoko.org/wiki/Dfu-util
+WWW: http://dfu-util.gnumonks.org/