Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 16:25:29 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312839 - head/comms/dfu-programmer
Message-ID:  <201302231625.r1NGPTrp066837@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Feb 23 16:25:28 2013
New Revision: 312839
URL: http://svnweb.freebsd.org/changeset/ports/312839

Log:
  - Update to version 0.5.5 [1]
  - Fix build for OSVERSION < 800069 by disabling compiling with
    libusb-1.0 which isn't available there
  - Convert to OptionsNG
  - Trim Makefile header
  
  PR:		ports/174727 [1]
  Submitted by:	Benjamin Washington-Yule <byu17@uclive.ac.nz> (maintainer)

Modified:
  head/comms/dfu-programmer/Makefile
  head/comms/dfu-programmer/distinfo

Modified: head/comms/dfu-programmer/Makefile
==============================================================================
--- head/comms/dfu-programmer/Makefile	Sat Feb 23 16:18:07 2013	(r312838)
+++ head/comms/dfu-programmer/Makefile	Sat Feb 23 16:25:28 2013	(r312839)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:   dfu-programmer
-# Date created:        16 July 2009
-# Whom:                elbarto@ArcadeBSD.org
-#
+# Created by: elbarto@ArcadeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	dfu-programmer
-PORTVERSION=	0.5.4
+PORTVERSION=	0.5.5
 CATEGORIES=	comms
 MASTER_SITES=	SF
 
@@ -15,7 +11,7 @@ COMMENT=	Device Firmware Update based US
 
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -lusb
 MAKE_JOBS_SAFE=	yes
 
 PLIST_FILES=	bin/dfu-programmer
@@ -26,13 +22,14 @@ PORTDOCS=	*
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 800069
-LIB_DEPENDS+=	usb-0.1.8:${PORTSDIR}/devel/libusb
+LIB_DEPENDS+=	usb:${PORTSDIR}/devel/libusb
+CONFIGURE_ARGS+=--disable-libusb_1_0
 .endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif

Modified: head/comms/dfu-programmer/distinfo
==============================================================================
--- head/comms/dfu-programmer/distinfo	Sat Feb 23 16:18:07 2013	(r312838)
+++ head/comms/dfu-programmer/distinfo	Sat Feb 23 16:25:28 2013	(r312839)
@@ -1,2 +1,2 @@
-SHA256 (dfu-programmer-0.5.4.tar.gz) = c0fb08fead3d4379368d0e4af5a5aa99c7acee32fa8696cd3e27d2f7856a20de
-SIZE (dfu-programmer-0.5.4.tar.gz) = 126700
+SHA256 (dfu-programmer-0.5.5.tar.gz) = 9bc3c5993e59ce908d4e3dbfda01e273ca34f86900fcb925915bbe65ff7ad246
+SIZE (dfu-programmer-0.5.5.tar.gz) = 128147



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302231625.r1NGPTrp066837>