From owner-svn-ports-head@freebsd.org Thu Nov 28 21:23:42 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C65F71B8E47; Thu, 28 Nov 2019 21:23:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47P9cG4vV5z478g; Thu, 28 Nov 2019 21:23:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B3EF3F3F; Thu, 28 Nov 2019 21:23:42 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xASLNgjm098731; Thu, 28 Nov 2019 21:23:42 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xASLNfCq098725; Thu, 28 Nov 2019 21:23:41 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201911282123.xASLNfCq098725@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 28 Nov 2019 21:23:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518606 - in head/devel/avra: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/devel/avra: . files X-SVN-Commit-Revision: 518606 X-SVN-Commit-Repository: ports 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.29 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: Thu, 28 Nov 2019 21:23:42 -0000 Author: amdmi3 Date: Thu Nov 28 21:23:40 2019 New Revision: 518606 URL: https://svnweb.freebsd.org/changeset/ports/518606 Log: - Update to 1.4.1 - Add testing support - Update WWW Added: head/devel/avra/files/ head/devel/avra/files/patch-Makefile (contents, props changed) head/devel/avra/files/patch-src_makefiles_Makefile.linux (contents, props changed) head/devel/avra/files/patch-tests_regression_runtests.sh (contents, props changed) Modified: head/devel/avra/Makefile head/devel/avra/distinfo head/devel/avra/pkg-descr Modified: head/devel/avra/Makefile ============================================================================== --- head/devel/avra/Makefile Thu Nov 28 20:17:47 2019 (r518605) +++ head/devel/avra/Makefile Thu Nov 28 21:23:40 2019 (r518606) @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= avra -PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTVERSION= 1.4.1 CATEGORIES= devel -MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Macro Assembler for Atmel AVR microcontrollers @@ -13,27 +11,26 @@ COMMENT= Macro Assembler for Atmel AVR microcontroller LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake tar:bzip2 -MAKEFILE= ${BUILD_WRKSRC}/makefiles/Makefile.linux -MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +USE_GITHUB= yes +GH_ACCOUNT= hsoft -BUILD_WRKSRC= ${WRKSRC}/src +USES= gmake +MAKE_ENV= TARGET_INCLUDE_PATH="${DATADIR}/includes" +TEST_TARGET= check -PORTDOCS= * +PORTDOCS= AUTHORS CHANGELOG.md README.md TODO USAGE.md PORTEXAMPLES= * PORTDATA= * PLIST_FILES= bin/avra OPTIONS_DEFINE= DOCS EXAMPLES -do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/avra ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DATADIR} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} includes ${STAGEDIR}${DATADIR}) +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/avra do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} Modified: head/devel/avra/distinfo ============================================================================== --- head/devel/avra/distinfo Thu Nov 28 20:17:47 2019 (r518605) +++ head/devel/avra/distinfo Thu Nov 28 21:23:40 2019 (r518606) @@ -1,2 +1,3 @@ -SHA256 (avra-1.3.0.tar.bz2) = a62cbf8662caf9cc4e75da6c634efce402778639202a65eb2d149002c1049712 -SIZE (avra-1.3.0.tar.bz2) = 314903 +TIMESTAMP = 1574960402 +SHA256 (hsoft-avra-1.4.1_GH0.tar.gz) = 0b92f3a2709d72b903fd95afee2c985ed3847440ad12cd651738afffa14ec69e +SIZE (hsoft-avra-1.4.1_GH0.tar.gz) = 386055 Added: head/devel/avra/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/avra/files/patch-Makefile Thu Nov 28 21:23:40 2019 (r518606) @@ -0,0 +1,13 @@ +--- Makefile.orig 2019-04-24 20:15:58 UTC ++++ Makefile +@@ -11,8 +11,8 @@ DISTFILES = src \ + COPYING \ + Makefile \ + +-PREFIX = /usr/local +-TARGET_INCLUDE_PATH = $(PREFIX)/include/avr ++PREFIX ?= /usr/local ++TARGET_INCLUDE_PATH ?= $(PREFIX)/include/avr + + CDEFS = -DDEFAULT_INCLUDE_PATH='"$(TARGET_INCLUDE_PATH)"' \ + -DVERSION='"$(VERSION)"' Added: head/devel/avra/files/patch-src_makefiles_Makefile.linux ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/avra/files/patch-src_makefiles_Makefile.linux Thu Nov 28 21:23:40 2019 (r518606) @@ -0,0 +1,23 @@ +--- src/makefiles/Makefile.linux.orig 2019-04-24 20:15:58 UTC ++++ src/makefiles/Makefile.linux +@@ -1,7 +1,7 @@ +-CC = gcc +-LD = gcc -static +-CFLAGS = -Wall -O3 $(CDEFS) +-LDFLAGS = -s ++CC ?= gcc ++CFLAGS ?= -Wall -O3 ++CFLAGS += $(CDEFS) ++LDFLAGS ?= -s + + SOURCES = avra.c \ + device.c \ +@@ -19,7 +19,7 @@ SOURCES = avra.c \ + OBJECTS = $(SOURCES:.c=.o) + + avra: $(OBJECTS) +- $(LD) -o $@ $(OBJECTS) $(LDFLAGS) ++ $(CC) -o $@ $(OBJECTS) $(LDFLAGS) + + clean: + rm -f avra *.o *.p *~ Added: head/devel/avra/files/patch-tests_regression_runtests.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/avra/files/patch-tests_regression_runtests.sh Thu Nov 28 21:23:40 2019 (r518606) @@ -0,0 +1,8 @@ +--- tests/regression/runtests.sh.orig 2019-04-24 20:15:58 UTC ++++ tests/regression/runtests.sh +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + AVRA_BIN="../../src/avra" + Modified: head/devel/avra/pkg-descr ============================================================================== --- head/devel/avra/pkg-descr Thu Nov 28 20:17:47 2019 (r518605) +++ head/devel/avra/pkg-descr Thu Nov 28 21:23:40 2019 (r518606) @@ -1,4 +1,4 @@ avra is an GNU GPL'ed assembler for the Atmel AVR microcontrollers. See the file COPYING for more information regarding the license. -WWW: http://avra.sourceforge.net/ +WWW: https://github.com/hsoft/avra