aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-11-09 06:30:21 +0800
committernaddy <naddy@FreeBSD.org>2002-11-09 06:30:21 +0800
commit172fbf9542577da54f07d6354a42c7565c535bde (patch)
treed3d3f1864eb002eea6b1b15cbc89d49f85e6b10d
parent0743bd5cf29ff935556a9054b7ba419bd4eae8f7 (diff)
downloadfreebsd-ports-gnome-172fbf9542577da54f07d6354a42c7565c535bde.tar.gz
freebsd-ports-gnome-172fbf9542577da54f07d6354a42c7565c535bde.tar.zst
freebsd-ports-gnome-172fbf9542577da54f07d6354a42c7565c535bde.zip
This is an assembler for PIC16F84 controllers by Timo Rossi, should
go well with devel/picprog. PR: 44456 Submitted by: Bruce M Simpson <bms@spc.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/picasm/Makefile35
-rw-r--r--devel/picasm/distinfo1
-rw-r--r--devel/picasm/pkg-descr7
-rw-r--r--devel/picasm/pkg-plist10
5 files changed, 54 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 128a8e570b29..e12ed28641da 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -625,6 +625,7 @@
SUBDIR += perforce
SUBDIR += perltidy
SUBDIR += pharmacy
+ SUBDIR += picasm
SUBDIR += picprog
SUBDIR += pinstall
SUBDIR += pkgconfig
diff --git a/devel/picasm/Makefile b/devel/picasm/Makefile
new file mode 100644
index 000000000000..427e0765e915
--- /dev/null
+++ b/devel/picasm/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: picasm
+# Date created: 25 October 2002
+# Whom: Bruce M Simpson <bms@spc.org>
+#
+# $FreeBSD$
+#
+
+PORTCOMMENT= Portable assembler for 16C84 series PICs
+PORTNAME= picasm
+PORTVERSION= 1.05
+CATEGORIES= devel
+MASTER_SITES= http://www.iki.fi/hyvatti/pic/ \
+ http://hyvatti.iki.fi/~jaakko/pic/
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+
+MAINTAINER= bms@spc.org
+
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile.uni
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+ALL_TARGET=
+
+EXAMPLE_FILES= example.asm morse.asm morse.h pic16c84.h picmac.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/picasm ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKDIR}/picasm.doc ${DOCSDIR}
+.for EXAMPLE in ${EXAMPLE_FILES}
+ ${INSTALL_DATA} ${WRKDIR}/examples/${EXAMPLE} ${EXAMPLESDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/picasm/distinfo b/devel/picasm/distinfo
new file mode 100644
index 000000000000..014cd40e8a6d
--- /dev/null
+++ b/devel/picasm/distinfo
@@ -0,0 +1 @@
+MD5 (picasm105.tar.gz) = eae776d9de5a32576ff5172ad682fdb9
diff --git a/devel/picasm/pkg-descr b/devel/picasm/pkg-descr
new file mode 100644
index 000000000000..0b699c842305
--- /dev/null
+++ b/devel/picasm/pkg-descr
@@ -0,0 +1,7 @@
+picasm is a portable assembler which generates code for the 16F84 series of
+programmable interface controllers.
+
+WWW: http://www.iki.fi/hyvatti/pic/
+
+Bruce
+bms@spc.org
diff --git a/devel/picasm/pkg-plist b/devel/picasm/pkg-plist
new file mode 100644
index 000000000000..1c928475c8a1
--- /dev/null
+++ b/devel/picasm/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+bin/picasm
+%%PORTDOCS%%share/doc/picasm/picasm.doc
+%%PORTDOCS%%@dirrm share/doc/picasm
+%%PORTDOCS%%share/examples/picasm/example.asm
+%%PORTDOCS%%share/examples/picasm/morse.asm
+%%PORTDOCS%%share/examples/picasm/morse.h
+%%PORTDOCS%%share/examples/picasm/pic16c84.h
+%%PORTDOCS%%share/examples/picasm/picmac.h
+%%PORTDOCS%%@dirrm share/examples/picasm