1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/lang/fasm/Makefile
Sergey Skvortsov 7c762a049c Update to 1.67.23
PR:		ports/115802
Submitted by:	bf <bf2006a xxx yahoo.com>
2007-09-23 12:09:30 +00:00

42 lines
907 B
Makefile

# New ports collection makefile for: fasm
# Date created: 22 February 2007
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= fasm
PORTVERSION= 1.67.23
CATEGORIES= lang devel
MASTER_SITES= http://flatassembler.net/
MAINTAINER= skv@FreeBSD.org
COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures
ONLY_FOR_ARCHS= i386 amd64 ia64
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
.if exists(/usr/lib32)
CFLAGS= -m32 -L/usr/lib32 -B/usr/lib32
.else
IGNORE= requires 32-bit libraries installed under /usr/lib32
.endif
.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>