1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/devel/vasm/Makefile
Thomas Zander b773169260 Update to 1.7e, fix MASTER_SITES, new maintainer
Detailed log:
- Update to upstream version 1.7e
- Changed MASTER_SITES, to avoid fetching rolling releases
- Removed broken test syntax
- New maintainer: cs@innolan.dk

PR:		211110
Submitted by:	cs@innolan.dk (new maintainer)
Approved by:	uffe@uffe.org (previous maintainer)
MFH:		2016Q3 (build fix blanket)
2016-09-18 11:42:36 +00:00

52 lines
1.7 KiB
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$
PORTNAME= vasm
PORTVERSION= 1.7e
CATEGORIES= devel
MASTER_SITES= http://server.owl.de/%SUBDIR%/
MASTER_SITE_SUBDIR= ~frank/tags/
DISTNAME= vasm1_7e
MAINTAINER= cs@innolan.dk
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
WRKSRC= ${WRKDIR}/vasm
CPU_LIST= 6502 6800 arm c16x jagrisc m68k ppc test vidcore x86 z80
SYNTAX_LIST= std mot oldstyle
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 <bsd.port.mk>