openbsd-ports/devel/asm6/Makefile
sthen 9623292047 import ports/devel/asm6, from Anthony J. Bentley, ok landry@
Asm6 is another 6502 assembler. It was built to do NES development, but
you can probably use it for just about anything. It was written because
the author thought most other assemblers either were too finicky, had
weird syntax, took too much work to set up, or were too bug-ridden to be
useful.
2011-06-15 18:25:03 +00:00

37 lines
859 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/06/15 18:25:03 sthen Exp $
COMMENT = simple 6502 assembler
DISTNAME = asm6-1.6
EXTRACT_SUFX = .zip
CATEGORIES = devel
HOMEPAGE = https://home.comcast.net/~olimar/NES/
# "This is free software. You may use, modify, and / or redistribute any part
# of this software in any fashion."
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
WRKDIST = ${WRKDIR}
WANTLIB += c
NO_REGRESS = Yes
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} -o asm6 asm6.c
tr -d '\r' < ${WRKSRC}/README.TXT > ${WRKSRC}/README2.TXT
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/asm6 ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asm6
${INSTALL_MAN} ${WRKDIST}/README2.TXT \
${PREFIX}/share/doc/asm6/README.TXT
.include <bsd.port.mk>