pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/picasm



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sun Jun 12 20:03:45 UTC 2016

Added Files:
        pkgsrc/devel/picasm: DESCR Makefile PLIST distinfo
        pkgsrc/devel/picasm/patches: patch-picasm.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/picasm/DESCR pkgsrc/devel/picasm/Makefile \
    pkgsrc/devel/picasm/PLIST pkgsrc/devel/picasm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/picasm/patches/patch-picasm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/picasm/DESCR
diff -u /dev/null pkgsrc/devel/picasm/DESCR:1.1
--- /dev/null   Sun Jun 12 20:03:45 2016
+++ pkgsrc/devel/picasm/DESCR   Sun Jun 12 20:03:45 2016
@@ -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.
Index: pkgsrc/devel/picasm/Makefile
diff -u /dev/null pkgsrc/devel/picasm/Makefile:1.1
--- /dev/null   Sun Jun 12 20:03:45 2016
+++ pkgsrc/devel/picasm/Makefile        Sun Jun 12 20:03:45 2016
@@ -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"
Index: pkgsrc/devel/picasm/PLIST
diff -u /dev/null pkgsrc/devel/picasm/PLIST:1.1
--- /dev/null   Sun Jun 12 20:03:45 2016
+++ pkgsrc/devel/picasm/PLIST   Sun Jun 12 20:03:45 2016
@@ -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
Index: pkgsrc/devel/picasm/distinfo
diff -u /dev/null pkgsrc/devel/picasm/distinfo:1.1
--- /dev/null   Sun Jun 12 20:03:45 2016
+++ pkgsrc/devel/picasm/distinfo        Sun Jun 12 20:03:45 2016
@@ -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

Index: pkgsrc/devel/picasm/patches/patch-picasm.c
diff -u /dev/null pkgsrc/devel/picasm/patches/patch-picasm.c:1.1
--- /dev/null   Sun Jun 12 20:03:45 2016
+++ pkgsrc/devel/picasm/patches/patch-picasm.c  Sun Jun 12 20:03:45 2016
@@ -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