aboutsummaryrefslogtreecommitdiff
path: root/devel/kickassembler
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2014-01-17 08:08:03 +0000
committerJason Helfman <jgh@FreeBSD.org>2014-01-17 08:08:03 +0000
commita67f8a3600564225ceb216dce0d424532210a3f9 (patch)
tree4152933df7bd690fd6cb8ec04c366820176eece9 /devel/kickassembler
parent31dd0a9cc14562a76a80f5a5d37d3fe053cd1d52 (diff)
downloadports-a67f8a3600564225ceb216dce0d424532210a3f9.tar.gz
ports-a67f8a3600564225ceb216dce0d424532210a3f9.zip
Notes
Diffstat (limited to 'devel/kickassembler')
-rw-r--r--devel/kickassembler/Makefile34
-rw-r--r--devel/kickassembler/distinfo2
-rw-r--r--devel/kickassembler/files/kickassembler.sh.in9
-rw-r--r--devel/kickassembler/pkg-descr4
-rw-r--r--devel/kickassembler/pkg-plist24
5 files changed, 73 insertions, 0 deletions
diff --git a/devel/kickassembler/Makefile b/devel/kickassembler/Makefile
new file mode 100644
index 000000000000..34e3c30c7b33
--- /dev/null
+++ b/devel/kickassembler/Makefile
@@ -0,0 +1,34 @@
+# Created by: Uffe Jakobsen <uffe@uffe.org>
+# $FreeBSD$
+
+PORTNAME= kickassembler
+PORTVERSION= 3.30
+CATEGORIES= devel java
+MASTER_SITES= http://www.theweb.dk/KickAssembler/
+DISTNAME= KickAssembler${PORTVERSION}
+
+MAINTAINER= uffe@uffe.org
+COMMENT= Advanced MOS 65xx assembler with embedded script language
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+NO_BUILD= yes
+
+SUB_LIST= PORTNAME=${PORTNAME}
+SUB_FILES= kickassembler.sh
+WRKSRC= ${WRKDIR}
+
+post-extract-script:
+ @${MV} "${WRKSRC}/Examples/MusicIrq/ode to 64.bin" ${WRKSRC}/Examples/MusicIrq/odeto64.bin
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/KickAss.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/KickAss.cfg ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/KickAssembler.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Examples/*/* ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/kickassembler.sh ${STAGEDIR}${PREFIX}/bin/kickassembler
+
+.include <bsd.port.mk>
diff --git a/devel/kickassembler/distinfo b/devel/kickassembler/distinfo
new file mode 100644
index 000000000000..04713779d9c7
--- /dev/null
+++ b/devel/kickassembler/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KickAssembler3.30.zip) = 0cb9794f23af07ac521507bc2e7cc6c01675b99e33bdd0bac0a653c2520ccfbd
+SIZE (KickAssembler3.30.zip) = 822645
diff --git a/devel/kickassembler/files/kickassembler.sh.in b/devel/kickassembler/files/kickassembler.sh.in
new file mode 100644
index 000000000000..37913a386038
--- /dev/null
+++ b/devel/kickassembler/files/kickassembler.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Execution wrapper for KickAssembler
+#
+# Written by Uffe Jakobsen <uffe@uffe.org>
+#
+
+JAVA_VERSION="%%JAVA_VERSION%%"
+%%LOCALBASE%%/bin/java -jar %%JAVASHAREDIR%%/%%PORTNAME%%/KickAss.jar ${@}
diff --git a/devel/kickassembler/pkg-descr b/devel/kickassembler/pkg-descr
new file mode 100644
index 000000000000..ad73da56fe53
--- /dev/null
+++ b/devel/kickassembler/pkg-descr
@@ -0,0 +1,4 @@
+Kick Assembler is an advanced MOS 65xx assembler combined
+with a Java Script like script language.
+
+WWW: http://www.theweb.dk/KickAssembler/
diff --git a/devel/kickassembler/pkg-plist b/devel/kickassembler/pkg-plist
new file mode 100644
index 000000000000..43cbc9aedb1b
--- /dev/null
+++ b/devel/kickassembler/pkg-plist
@@ -0,0 +1,24 @@
+bin/kickassembler
+%%PORTDOCS%%%%DOCSDIR%%/KickAssembler.pdf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/2x2char.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/2x2scroll.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/2x2scroll.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/KoalaShower.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/KoalaShower.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/MusicIrq.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/MusicIrq.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/My_Glamrous_Life.sid
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Nightshift.sid
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PreCalcVector.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PreCalcVector.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SID_Player.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SID_Player.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fractal.asm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fractal.prg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/odeto64.bin
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/picture.prg
+share/java/kickassembler/KickAss.cfg
+share/java/kickassembler/KickAss.jar
+@dirrm share/java/kickassembler
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%