1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/xa65/Makefile

39 lines
1.1 KiB
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$
PORTNAME= xa
PORTVERSION= 2.3.5
CATEGORIES= devel
MASTER_SITES= http://www.floodgap.com/retrotech/xa/dists/
PKGNAMESUFFIX= 65
MAINTAINER= uffe@uffe.org
COMMENT= Two-pass cross-assembler for MOS 6502 and compatible CPUs
LICENSE= GPLv2
USES= gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xa ${STAGEDIR}${PREFIX}/bin/xa65
.for file in file65 ldo65 reloc65 printcbm uncpk
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${LN} -sf xa.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/xa65.1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ChangeLog README.1st TODO
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>