openbsd-ports/devel/naken430asm/Makefile
jasper a9ce35b660 import naken430asm into the correct dir this time.
This is an open-sourced assembler / disassembler / simulator for the
MSP430 series of microcontrollers from Texas Instruments. The goal of
this project is to have a completely cross-platform assembler with the
exe (naken430asm) under 50k and to have a cross-platform disassembly
utility (naken430util) along with it to help with debugging and a bit of
profiling. The naken430util, when disassembling, shows how many CPU
cycles each instruction will take and it has a built in simulation to help
show how the binary code will flow on the chip and how many cycles it
will take to execute.
Code from this assembler can be uploaded to the device by installing the
mspdebug package.

ok aja@
2011-04-05 08:44:22 +00:00

40 lines
992 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/04/05 08:44:22 jasper Exp $
COMMENT= assembler/disassembler/simulator for MSP430 MCUs
V= 2011-03-13
DISTNAME= naken430asm-2011-03-13
PKGNAME= naken430asm-${V:S/-//g}
CATEGORIES= devel
HOMEPAGE= http://www.mikekohn.net/micro/naken430asm_msp430_assembler.php
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://downloads.mikekohn.net/naken430asm/
WANTLIB += c
ALL_TARGET= # This space intentionally left blank.
SUBST_VARS+= CC CFLAGS LDFLAGS DESTDIR
NO_REGRESS= Yes
# configure script is broken piece of bash, use our own config.mk instead.
do-configure:
${SUBST_CMD} -c ${FILESDIR}/config.mak ${WRKSRC}/config.mak
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/naken430asm/examples/
${INSTALL_DATA} ${WRKSRC}/testing/* \
${PREFIX}/share/naken430asm/examples/
.include <bsd.port.mk>