summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-08-03 07:33:15 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-08-03 07:33:15 +0000
commit515af4186399b6025506d8ebfb5396b8761417b0 (patch)
tree3d3baca69efc7f6c40d55c16663d58d16db2a949 /devel
parentUpdate NLS handling to use more modern (diff)
ACME is a free crossassembler, released under the GNU General Public License.
The current version can produce code for the 6502, 65c02 and 65816 processors. It also supports some of the undocumented ("illegal") opcodes of the 6502. WWW: http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/ PR: ports/179019 Submitted by: uffe@uffe.org
Notes
Notes: svn path=/head/; revision=324179
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/acme/Makefile68
-rw-r--r--devel/acme/distinfo2
-rw-r--r--devel/acme/pkg-descr5
4 files changed, 76 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d699ccb66caf..6154033b5135 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -36,6 +36,7 @@
SUBDIR += abi-compliance-checker
SUBDIR += ace
SUBDIR += ace+tao-doc
+ SUBDIR += acme
SUBDIR += activitymail
SUBDIR += adabooch
SUBDIR += adabooch-doc-html
diff --git a/devel/acme/Makefile b/devel/acme/Makefile
new file mode 100644
index 000000000000..61e116cfcb7b
--- /dev/null
+++ b/devel/acme/Makefile
@@ -0,0 +1,68 @@
+# Created by: Uffe Jakobsen <uffe@uffe.org>
+# $FreeBSD$
+
+PORTNAME= acme
+PORTVERSION= 091
+CATEGORIES= devel
+MASTER_SITES= http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/current/
+DISTNAME= ${PORTNAME}${PORTVERSION}src
+
+MAINTAINER= uffe@uffe.org
+COMMENT= Crossassembler for 6502, 65c02 and 65816 processors
+
+LICENSE= GPLv2
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+USE_BZIP2= yes
+USES= gmake
+
+BUILD_WRKSRC = ${WRKSRC}/src
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
+PORTDOCS= *
+PORTEXAMPLES= *
+
+PLIST_FILES= bin/acme \
+ %%DATADIR%%/6502 \
+ %%DATADIR%%/6502/Help.txt \
+ %%DATADIR%%/6502/std.a \
+ %%DATADIR%%/65816 \
+ %%DATADIR%%/65816/Help.txt \
+ %%DATADIR%%/65816/std.a \
+ %%DATADIR%%/Own \
+ %%DATADIR%%/Own/Help.txt
+PLIST_DIRSTRY= %%DATADIR%%/6502 \
+ %%DATADIR%%/65816 \
+ %%DATADIR%%/Own \
+ %%DATADIR%%
+
+.include <bsd.port.options.mk>
+
+post-patch-script:
+.for i in CC CFLAGS
+ @${REINPLACE_CMD} 's|${i}.*= |${i} ?= |g' ${WRKSRC}/src/Makefile
+.endfor
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/acme ${PREFIX}/bin/${PORTNAME}
+
+.for dir in 6502 65816 Own
+ @${MKDIR} ${DATADIR}/${dir}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/ACME_Lib/6502/* ${DATADIR}/6502
+ ${INSTALL_DATA} ${WRKSRC}/ACME_Lib/65816/* ${DATADIR}/65816
+ ${INSTALL_DATA} ${WRKSRC}/ACME_Lib/Own/* ${DATADIR}/Own
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}/me
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.a ${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/examples/me/*.a ${EXAMPLESDIR}/me/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/acme/distinfo b/devel/acme/distinfo
new file mode 100644
index 000000000000..16e9d7e42eb0
--- /dev/null
+++ b/devel/acme/distinfo
@@ -0,0 +1,2 @@
+SHA256 (acme091src.tar.bz2) = 47d538c8da650d6a9f832fa5262ff9f552477c7ccc4cc4fa502f620e5ccf0f38
+SIZE (acme091src.tar.bz2) = 113072
diff --git a/devel/acme/pkg-descr b/devel/acme/pkg-descr
new file mode 100644
index 000000000000..4e4b7410dd1f
--- /dev/null
+++ b/devel/acme/pkg-descr
@@ -0,0 +1,5 @@
+ACME is a free crossassembler, released under the GNU General Public License.
+The current version can produce code for the 6502, 65c02 and 65816 processors.
+It also supports some of the undocumented ("illegal") opcodes of the 6502.
+
+WWW: http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/