pkgsrc-WIP-changes archive

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

picasm: Update to 1.14



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Jun 12 16:24:42 2016 +0200
Changeset:	18f02715ef6dfc8d35cae94f37a210f396afceff

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

Log Message:
picasm: Update to 1.14

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=18f02715ef6dfc8d35cae94f37a210f396afceff

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

diffstat:
 picasm/DESCR                  |  6 +++-
 picasm/Makefile               | 40 +++++++++++++++---------
 picasm/PLIST                  | 71 ++++++++++++++++++++++++++++++++++++++++---
 picasm/distinfo               |  8 +++--
 picasm/patches/patch-picasm.c | 23 ++++++++++++++
 5 files changed, 124 insertions(+), 24 deletions(-)

diffs:
diff --git a/picasm/DESCR b/picasm/DESCR
index dfc5a37..1d51528 100644
--- a/picasm/DESCR
+++ b/picasm/DESCR
@@ -1 +1,5 @@
-Assembler for Microchip PIC16Cxx microcontrollers.
+An assembler for the the Microchip PIC family of microcontrollers.
+
+Supports the majority of the Microchip PIC family.
+
+Uses Microchip (not Parallax) syntax.
diff --git a/picasm/Makefile b/picasm/Makefile
index 5932069..7b2cc29 100644
--- a/picasm/Makefile
+++ b/picasm/Makefile
@@ -1,28 +1,38 @@
 # $NetBSD: Makefile,v 1.11 2012/11/25 23:32:29 othyro Exp $
 #
 
-DISTNAME=	picasm105
-PKGNAME=	picasm-1.05
+DISTNAME=	picasm114
+PKGNAME=	${DISTNAME:S/picasm/picasm-/}
 CATEGORIES=	devel
-MASTER_SITES=	http://hyvatti.iki.fi/~jaakko/pic/
+MASTER_SITES=	http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/
+EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://hyvatti.iki.fi/~jaakko/pic/
+# 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
 
-MAKE_FILE=	makefile.uni
-BUILD_TARGET=	picasm
-WRKSRC=		${WRKDIR}
+BUILD_TARGET=		picasm
+BUILD_MAKE_FLAGS=	CC=${CC:Q}
+BUILD_MAKE_FLAGS=	DEFS="-DUILTIN_INCLUDE1=${PREFIX}/share/picasm/include"
 
-USE_TOOLS+=	gmake
-
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin share/examples/picasm share/doc/picasm \
+			share/picasm/include
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/picasm ${DESTDIR}${PREFIX}/bin/
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/picasm/
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/picasm/
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/picasm
-	${INSTALL_DATA} ${WRKSRC}/picasm.doc ${DESTDIR}${PREFIX}/share/doc/picasm
+	${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 --git a/picasm/PLIST b/picasm/PLIST
index 5fd1651..7d57a12 100644
--- a/picasm/PLIST
+++ b/picasm/PLIST
@@ -1,8 +1,69 @@
-@comment $NetBSD: PLIST,v 1.2 2009/10/11 10:45:05 thomasklausner Exp $
+@comment $NetBSD$
 bin/picasm
-share/doc/picasm/picasm.doc
+share/doc/picasm/picasm.html
+share/doc/picasm/picasm.txt
 share/examples/picasm/example.asm
 share/examples/picasm/morse.asm
-share/examples/picasm/morse.h
-share/examples/picasm/pic16c84.h
-share/examples/picasm/picmac.h
+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 --git a/picasm/distinfo b/picasm/distinfo
index f140d5e..c4d0b16 100644
--- a/picasm/distinfo
+++ b/picasm/distinfo
@@ -1,5 +1,7 @@
 $NetBSD: distinfo,v 1.2 2005/09/28 06:41:34 rillig Exp $
 
-SHA1 (picasm105.tar.gz) = 968061bb0d606dcb357aedd259ca27ac086a67e1
-RMD160 (picasm105.tar.gz) = 85be693d068b8733e402a965255fce38008a1b03
-Size (picasm105.tar.gz) = 26530 bytes
+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 --git a/picasm/patches/patch-picasm.c b/picasm/patches/patch-picasm.c
new file mode 100644
index 0000000..e5d327a
--- /dev/null
+++ b/picasm/patches/patch-picasm.c
@@ -0,0 +1,23 @@
+$NetBSD$
+
+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