pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel New package, asmfmt-1.2.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fdf9b0ff5af
branches:  trunk
changeset: 443078:1fdf9b0ff5af
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Dec 06 16:14:07 2020 +0000

description:
New package, asmfmt-1.2.1.

asmfmt will format your assembler code in a similar way that gofmt formats your
Go code. The main goals where:

-   It should provide predictable formatting.
-   Be as un-intrusive as possible.
-   Tab setting should not affect alignment.

diffstat:

 devel/Makefile        |   3 ++-
 devel/asmfmt/DESCR    |   6 ++++++
 devel/asmfmt/Makefile |  21 +++++++++++++++++++++
 devel/asmfmt/PLIST    |   2 ++
 devel/asmfmt/distinfo |   6 ++++++
 5 files changed, 37 insertions(+), 1 deletions(-)

diffs (68 lines):

diff -r 8c69a980aa74 -r 1fdf9b0ff5af devel/Makefile
--- a/devel/Makefile    Sun Dec 06 11:42:51 2020 +0000
+++ b/devel/Makefile    Sun Dec 06 16:14:07 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3284 2020/12/05 03:22:34 riastradh Exp $
+# $NetBSD: Makefile,v 1.3285 2020/12/06 16:14:07 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -126,6 +126,7 @@
 SUBDIR+=       asio
 SUBDIR+=       aslc86k
 SUBDIR+=       asm2html
+SUBDIR+=       asmfmt
 SUBDIR+=       astyle
 SUBDIR+=       at-spi
 SUBDIR+=       at-spi2-atk
diff -r 8c69a980aa74 -r 1fdf9b0ff5af devel/asmfmt/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/asmfmt/DESCR        Sun Dec 06 16:14:07 2020 +0000
@@ -0,0 +1,6 @@
+asmfmt will format your assembler code in a similar way that gofmt formats your
+Go code. The main goals where:
+
+-   It should provide predictable formatting.
+-   Be as un-intrusive as possible.
+-   Tab setting should not affect alignment.
diff -r 8c69a980aa74 -r 1fdf9b0ff5af devel/asmfmt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/asmfmt/Makefile     Sun Dec 06 16:14:07 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/12/06 16:14:07 bsiegert Exp $
+
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      asmfmt-1.2.1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=klauspost/}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/klauspost/asmfmt/
+COMMENT=       Go assembler formatter
+LICENSE=       mit
+
+GO_SRCPATH=            github.com/klauspost/asmfmt
+GO_DIST_BASE=          ${DISTNAME}
+GO_BUILD_PATTERN=      github.com/klauspost/asmfmt/cmd/asmfmt
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKDIR}/bin/asmfmt ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8c69a980aa74 -r 1fdf9b0ff5af devel/asmfmt/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/asmfmt/PLIST        Sun Dec 06 16:14:07 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/06 16:14:07 bsiegert Exp $
+bin/asmfmt
diff -r 8c69a980aa74 -r 1fdf9b0ff5af devel/asmfmt/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/asmfmt/distinfo     Sun Dec 06 16:14:07 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/06 16:14:07 bsiegert Exp $
+
+SHA1 (asmfmt-1.2.1.tar.gz) = 9a802ce284fa9a118671ee27202d1fe204f44554
+RMD160 (asmfmt-1.2.1.tar.gz) = 501665de6d967d95bdf8f821c42b0a768d9fd8ed
+SHA512 (asmfmt-1.2.1.tar.gz) = e85dc0a9204a9243276ee0ebea07254b5d5ba930484ef96212dfcca83be6e3b3923b0f5c9e184e639ce8759bde74a5e9035ad5a28537cb3bb2f3eaa4c6d939c0
+Size (asmfmt-1.2.1.tar.gz) = 159411 bytes



Home | Main Index | Thread Index | Old Index