# Created by: Uffe Jakobsen # $FreeBSD: head/devel/vasm/Makefile 370092 2014-10-05 14:50:37Z wen $ PORTNAME= vasm PORTVERSION= 1.7a CATEGORIES= devel MASTER_SITES= http://sun.hasenbraten.de/vasm/release/ DISTNAME= ${PORTNAME} MAINTAINER= uffe@uffe.org COMMENT= Portable 6502 6800 arm c16x jagrisc m68k ppc vidcore x86 z80 assembler LEGAL_TEXT= This archive may be redistributed without modifications and used for non-commercial purposes. USES= gmake pathfix CPU_LIST= 6502 6800 arm c16x jagrisc m68k ppc test vidcore x86 z80 SYNTAX_LIST= std mot oldstyle test OUTPUT_LIST= aout bin elf hunk test tos vobj do-build: .for CPU in ${CPU_LIST} .for SYNTAX in ${SYNTAX_LIST} ${GMAKE} -C ${WRKSRC} CC=${CC} CPU=${CPU} SYNTAX=${SYNTAX} >/dev/null 2>&1 .endfor .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vobjdump ${STAGEDIR}${PREFIX}/bin .for CPU in ${CPU_LIST} .for SYNTAX in ${SYNTAX_LIST} ${INSTALL_PROGRAM} ${WRKSRC}/vasm${CPU}_${SYNTAX} ${STAGEDIR}${PREFIX}/bin .endfor .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for CPU in ${CPU_LIST} .for SYNTAX in ${SYNTAX_LIST} -test -f ${WRKSRC}/doc/cpu_${CPU}.texi && ${INSTALL_MAN} ${WRKSRC}/doc/cpu_${CPU}.texi ${STAGEDIR}${DOCSDIR} -test -f ${WRKSRC}/doc/syntax_${SYNTAX}.texi && ${INSTALL_MAN} ${WRKSRC}/doc/syntax_${SYNTAX}.texi ${STAGEDIR}${DOCSDIR} .for OUTPUT in ${OUTPUT_LIST} -test -f ${WRKSRC}/doc/output_${OUTPUT}.texi && ${INSTALL_MAN} ${WRKSRC}/doc/output_${OUTPUT}.texi ${STAGEDIR}${DOCSDIR} .endfor .endfor .endfor ${INSTALL_MAN} ${WRKSRC}/doc/vasm.texi ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/vasm_main.texi ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/interface.texi ${STAGEDIR}${DOCSDIR} .include