aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-02-24 00:25:28 +0800
committerpawel <pawel@FreeBSD.org>2013-02-24 00:25:28 +0800
commit7b92080426944c79bf6b44d7c0ef14c82c8cfe50 (patch)
tree074e5ed467ea8276a5e6c812f95cffa285144535 /comms
parent8192e67dc3aa98e4a3944b371fde8d4eff79d5d4 (diff)
downloadfreebsd-ports-gnome-7b92080426944c79bf6b44d7c0ef14c82c8cfe50.tar.gz
freebsd-ports-gnome-7b92080426944c79bf6b44d7c0ef14c82c8cfe50.tar.zst
freebsd-ports-gnome-7b92080426944c79bf6b44d7c0ef14c82c8cfe50.zip
- 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)
Diffstat (limited to 'comms')
-rw-r--r--comms/dfu-programmer/Makefile15
-rw-r--r--comms/dfu-programmer/distinfo4
2 files changed, 8 insertions, 11 deletions
diff --git a/comms/dfu-programmer/Makefile b/comms/dfu-programmer/Makefile
index ec52a3252d02..ecf484489f9c 100644
--- a/comms/dfu-programmer/Makefile
+++ b/comms/dfu-programmer/Makefile
@@ -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 USB programmer for Atmel chips
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
diff --git a/comms/dfu-programmer/distinfo b/comms/dfu-programmer/distinfo
index a8764cdbd2ea..446dc4be0767 100644
--- a/comms/dfu-programmer/distinfo
+++ b/comms/dfu-programmer/distinfo
@@ -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