mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
3706cb7282
- Take maintainership
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Uffe Jakobsen <uffe@uffe.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xa65
|
|
PORTVERSION= 2.3.9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.floodgap.com/retrotech/xa/dists/
|
|
DISTNAME= xa-${PORTVERSION}
|
|
|
|
MAINTAINER= wen@FreeBSD.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}"
|
|
|
|
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
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in ChangeLog README.1st TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|