pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/picasm Import picasm114 (1.14) as devel/picasm



details:   https://anonhg.NetBSD.org/pkgsrc/rev/567bbfc12725
branches:  trunk
changeset: 348378:567bbfc12725
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Jun 12 20:03:45 2016 +0000

description:
Import picasm114 (1.14) as devel/picasm

An assembler for the the Microchip PIC family of microcontrollers.

Supports the majority of the Microchip PIC family.

Uses Microchip (not Parallax) syntax.

Originally packaged in pkgsrc-wip by:
- myself,
- pancake
with further maintanance by:
- Blue Rats <rodent>,
- Aleksej Saushev,
- Thomas Klausner,
- OBATA Akio,
- Sergey Svishchev,
- Roland Illig,
- Todd Vierling,
- grant beattie.

diffstat:

 devel/picasm/DESCR                  |   5 ++
 devel/picasm/Makefile               |  40 +++++++++++++++++++++
 devel/picasm/PLIST                  |  69 +++++++++++++++++++++++++++++++++++++
 devel/picasm/distinfo               |   7 +++
 devel/picasm/patches/patch-picasm.c |  23 ++++++++++++
 5 files changed, 144 insertions(+), 0 deletions(-)

diffs (164 lines):

diff -r a53e1f38f05c -r 567bbfc12725 devel/picasm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/picasm/DESCR        Sun Jun 12 20:03:45 2016 +0000
@@ -0,0 +1,5 @@
+An assembler for the the Microchip PIC family of microcontrollers.
+
+Supports the majority of the Microchip PIC family.
+
+Uses Microchip (not Parallax) syntax.
diff -r a53e1f38f05c -r 567bbfc12725 devel/picasm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/picasm/Makefile     Sun Jun 12 20:03:45 2016 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2016/06/12 20:03:45 kamil Exp $
+#
+
+DISTNAME=      picasm114
+PKGNAME=       ${DISTNAME:S/picasm/picasm-/}
+CATEGORIES=    devel
+MASTER_SITES=  http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+# Mirror of the latest release notes
+HOMEPAGE=      http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/picasm.html
+COMMENT=       Assembler for Microchip PIC16Cxx microcontrollers
+LICENSE=       mit
+
+BUILD_TARGET=          picasm
+BUILD_MAKE_FLAGS=      CC=${CC:Q}
+# We need to construct -DBUILTIN_INCLUDE1=\"/usr/pkg/share/picasm/include\"
+# in order to process symbol correctly to the preprocessor
+BUILD_MAKE_FLAGS=      DEFS=-DBUILTIN_INCLUDE1=\\\"${PREFIX}/share/picasm/include\\\"
+
+INSTALLATION_DIRS=     bin share/examples/picasm share/doc/picasm \
+                       share/picasm/include
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/picasm ${DESTDIR}${PREFIX}/bin
+
+.for file in example.asm morse.asm morse.i pic16f84.i picmac.i
+       ${INSTALL_DATA} ${WRKSRC}/examples/${file} \
+               ${DESTDIR}${PREFIX}/share/examples/picasm
+.endfor
+
+       ${INSTALL_DATA} ${WRKSRC}/device_definitions/*.i \
+               ${DESTDIR}${PREFIX}/share/picasm/include
+
+.for file in picasm.txt  picasm.html
+       ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/picasm
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r a53e1f38f05c -r 567bbfc12725 devel/picasm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/picasm/PLIST        Sun Jun 12 20:03:45 2016 +0000
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/12 20:03:45 kamil Exp $
+bin/picasm
+share/doc/picasm/picasm.html
+share/doc/picasm/picasm.txt
+share/examples/picasm/example.asm
+share/examples/picasm/morse.asm
+share/examples/picasm/morse.i
+share/examples/picasm/pic16f84.i
+share/examples/picasm/picmac.i
+share/picasm/include/_pic12c508.i
+share/picasm/include/_pic12c509.i
+share/picasm/include/_pic12c671.i
+share/picasm/include/_pic12c672.i
+share/picasm/include/_pic14000.i
+share/picasm/include/_pic14c000.i
+share/picasm/include/_pic16c52.i
+share/picasm/include/_pic16c54.i
+share/picasm/include/_pic16c54a.i
+share/picasm/include/_pic16c55.i
+share/picasm/include/_pic16c554.i
+share/picasm/include/_pic16c554a.i
+share/picasm/include/_pic16c556a.i
+share/picasm/include/_pic16c558.i
+share/picasm/include/_pic16c558a.i
+share/picasm/include/_pic16c56.i
+share/picasm/include/_pic16c57.i
+share/picasm/include/_pic16c58a.i
+share/picasm/include/_pic16c61.i
+share/picasm/include/_pic16c62.i
+share/picasm/include/_pic16c620.i
+share/picasm/include/_pic16c621.i
+share/picasm/include/_pic16c622.i
+share/picasm/include/_pic16c62a.i
+share/picasm/include/_pic16c63.i
+share/picasm/include/_pic16c64.i
+share/picasm/include/_pic16c64a.i
+share/picasm/include/_pic16c65.i
+share/picasm/include/_pic16c65a.i
+share/picasm/include/_pic16c66.i
+share/picasm/include/_pic16c67.i
+share/picasm/include/_pic16c71.i
+share/picasm/include/_pic16c710.i
+share/picasm/include/_pic16c711.i
+share/picasm/include/_pic16c715.i
+share/picasm/include/_pic16c72.i
+share/picasm/include/_pic16c73.i
+share/picasm/include/_pic16c73a.i
+share/picasm/include/_pic16c74.i
+share/picasm/include/_pic16c74a.i
+share/picasm/include/_pic16c76.i
+share/picasm/include/_pic16c77.i
+share/picasm/include/_pic16c83.i
+share/picasm/include/_pic16c84.i
+share/picasm/include/_pic16c923.i
+share/picasm/include/_pic16c924.i
+share/picasm/include/_pic16f688.i
+share/picasm/include/_pic16f72.i
+share/picasm/include/_pic16f818.i
+share/picasm/include/_pic16f819.i
+share/picasm/include/_pic16f84.i
+share/picasm/include/_pic16f873.i
+share/picasm/include/_pic16f874.i
+share/picasm/include/_pic16f876.i
+share/picasm/include/_pic16f877.i
+share/picasm/include/_pic17c42.i
+share/picasm/include/_pic17c43.i
+share/picasm/include/_pic17c44.i
+share/picasm/include/_pic17c752.i
+share/picasm/include/_pic17c756.i
diff -r a53e1f38f05c -r 567bbfc12725 devel/picasm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/picasm/distinfo     Sun Jun 12 20:03:45 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/06/12 20:03:45 kamil Exp $
+
+SHA1 (picasm114.tar.bz2) = 137689c08ebc8e8842aa62521c47f7c88f70d239
+RMD160 (picasm114.tar.bz2) = b4ed44b64b256b973814848fd7201d01f1beed72
+SHA512 (picasm114.tar.bz2) = a6a8490156afe8af1fc85700890570c745c076396890491f4efe004d7dd701a324f9c7e764fcc710c8954c761f3abb4ed8e97c72ce098100192ead334b335fb7
+Size (picasm114.tar.bz2) = 35429 bytes
+SHA1 (patch-picasm.c) = 5bdc64c5798e0ac100435403e5e1f16a808759e5
diff -r a53e1f38f05c -r 567bbfc12725 devel/picasm/patches/patch-picasm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/picasm/patches/patch-picasm.c       Sun Jun 12 20:03:45 2016 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-picasm.c,v 1.1 2016/06/12 20:03:45 kamil Exp $
+
+Remove unused variable.
+
+--- picasm.c.orig      2005-06-29 07:05:34.000000000 +0000
++++ picasm.c
+@@ -1866,7 +1866,7 @@ int
+ main(int argc, char *argv[])
+ {
+     static char in_filename[256], out_filename[256],
+-      list_filename[256], sym_filename[256];
++      list_filename[256];
+     static int out_format = IHX8M;
+     int listing = 0, symdump = 0;
+     char *p;
+@@ -1877,7 +1877,6 @@ main(int argc, char *argv[])
+     pic_instr_set = PIC_NONE;
+     out_filename[0] = '\0';
+     list_filename[0] = '\0';
+-    sym_filename[0] = '\0';
+     warnlevel = 0;
+ 
+     init_assembler();



Home | Main Index | Thread Index | Old Index