1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/lang/fasm/Makefile
Sunpoet Po-Chuan Hsieh 1197a03c4e - Update to 1.69.39
Changes:
1.69.39:
- Fixed a bug in expression calculator that caused result of division by number
  larger than 32-bit be always the absolute value of actual result (the sign was
  dropped).

1.69.38:
- Fixed a small bug that made relative offsets get invalid symbol type in some
  cases.

1.69.37:
- Added "relativeto" testing operator.
- Couple of small bugfixes.

1.69.36:
- Added "assert" directive.
- Macroinstruction argument now can have default value, defined with "=" symbol
  followed by value after the argument name in definition.
- Fixed a bug which disallowed combining unary "+" with other unary operators.

PR:		ports/165395
Submitted by:	Aldis Berjoza <graudeejs@gmail.com> (maintainer)
2012-02-24 03:50:23 +00:00

42 lines
885 B
Makefile

# New ports collection makefile for: fasm
# Date created: 22 February 2007
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= fasm
PORTVERSION= 1.69.39
CATEGORIES= lang devel
MASTER_SITES= http://flatassembler.net/
MAINTAINER= graudeejs@gmail.com
COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/license.txt
ONLY_FOR_ARCHS= i386 amd64 ia64
IA32_BINARY_PORT= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.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 ${PREFIX}/bin
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>