1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/lang/fasm/Makefile
Fernando Apesteguía 6551120ce5 lang/fasm: update to 1.73.09
This is a bugfix release.

Fixed a bug in AVX-512 instruction encoding with "{sae}" modifier.

Reported by:	portscout
2019-02-18 18:28:25 +00:00

39 lines
806 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= fasm
PORTVERSION= 1.73.09
CATEGORIES= lang devel
MASTER_SITES= http://flatassembler.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
ONLY_FOR_ARCHS= amd64 i386
IA32_BINARY_PORT= yes
PLIST_FILES= bin/fasm
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
CFLAGS+= -m32 -L/usr/lib32 -B/usr/lib32
.endif
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} fasm.o -o fasm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fasm ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>