43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2012/05/28 12:05:09 jasper Exp $
|
|
|
|
COMMENT= assembler/disassembler/simulator for MSP430 MCUs
|
|
|
|
V= 2011-10-30
|
|
DISTNAME= naken430asm-$V
|
|
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.
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
# prefer our own config.mak over the configure generated one.
|
|
do-configure:
|
|
cp ${FILESDIR}/config.mak ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/naken430asm/
|
|
${INSTALL_DATA} ${WRKSRC}/testing/* \
|
|
${PREFIX}/share/examples/naken430asm/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/naken430asm/scripts/
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/naken430asm/scripts/
|
|
|
|
.include <bsd.port.mk>
|