From owner-svn-ports-head@FreeBSD.ORG Sat Feb 15 23:04:54 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7A03809; Sat, 15 Feb 2014 23:04:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C23C01236; Sat, 15 Feb 2014 23:04:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1FN4s7X060996; Sat, 15 Feb 2014 23:04:54 GMT (envelope-from lev@svn.freebsd.org) Received: (from lev@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1FN4rYg060984; Sat, 15 Feb 2014 23:04:53 GMT (envelope-from lev@svn.freebsd.org) Message-Id: <201402152304.s1FN4rYg060984@svn.freebsd.org> From: "Lev A. Serebryakov" Date: Sat, 15 Feb 2014 23:04:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344495 - in head/devel: . stlink stlink/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 23:04:55 -0000 Author: lev Date: Sat Feb 15 23:04:53 2014 New Revision: 344495 URL: http://svnweb.freebsd.org/changeset/ports/344495 QAT: https://qat.redports.org/buildarchive/r344495/ Log: Add ST-Link v1/v2 support utilities. Added: head/devel/stlink/ head/devel/stlink/Makefile (contents, props changed) head/devel/stlink/distinfo (contents, props changed) head/devel/stlink/files/ head/devel/stlink/files/patch-configure.ac (contents, props changed) head/devel/stlink/pkg-descr (contents, props changed) head/devel/stlink/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Feb 15 22:57:51 2014 (r344494) +++ head/devel/Makefile Sat Feb 15 23:04:53 2014 (r344495) @@ -4440,6 +4440,7 @@ SUBDIR += statsvn SUBDIR += stfl SUBDIR += stlfilt + SUBDIR += stlink SUBDIR += stlport SUBDIR += stormlib-ghost++ SUBDIR += str Added: head/devel/stlink/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/Makefile Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= stlink +PORTVERSION= 1.0.0 +CATEGORIES= devel + +MAINTAINER= lev@FreeBSD.org +COMMENT= STM32 ST-Link JTAG variant tools + +LICENSE= BSD + +OPTIONS_DEFINE= GTK3 +OPTIONS_SUB= GTK3 +GTK3_CONFIGURE_ON= --with-gtk +GTK3_USE= GNOME=gtk30 + +USE_GITHUB= yes +GH_ACCOUNT= texane +GH_TAGNAME= ${PORTVERSION} +GH_COMMIT= 7216849 + +USES= gmake pkgconfig +USE_AUTOTOOLS= autoconf automake +GNU_CONFIGURE= yes + +PORTDOCS= README tutorial.pdf + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/doc/tutorial/tutorial.pdf ${STAGEDIR}${DOCSDIR}/tutorial.pdf + +.include Added: head/devel/stlink/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/distinfo Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,2 @@ +SHA256 (stlink-1.0.0.tar.gz) = 1d1d7599f412d8d8fa4772fd1868612c39ad493dd2c731bdf4b431f84201d813 +SIZE (stlink-1.0.0.tar.gz) = 320236 Added: head/devel/stlink/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/files/patch-configure.ac Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,13 @@ +--- configure.ac.orig 2014-02-01 10:35:47.000000000 +0400 ++++ configure.ac 2014-02-15 18:30:35.000000000 +0400 +@@ -21,8 +21,8 @@ + AC_REPLACE_FUNCS(mmap) + + # Checks for libraries. +-PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,, +- AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***])) ++LIBS="$LIBS -lusb" ++ + AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb) + + LIBS="$LIBS $USB_LIBS" Added: head/devel/stlink/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/pkg-descr Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,6 @@ + ST-Link v1 / ST-Link v2 STMicroelectronics JTAG variat support. + + This packahe provide utilities to flash and debug STMicro microcontrollers +via ST-Link v1 / ST-Link v2 protocols. + +WWW: https://github.com/texane/stlink Added: head/devel/stlink/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/pkg-plist Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,8 @@ +bin/st-flash +bin/st-info +bin/st-term +bin/st-util +%%GTK3%%bin/stlink-gui +%%GTK3%%%%DATADIR%%/ui/stlink-gui.ui +%%GTK3%%@dirrmtry %%DATADIR%%/ui +%%GTK3%%@dirrmtry %%DATADIR%%