2007-02-22 12:15:01 +01:00
|
|
|
# New ports collection makefile for: fasm
|
|
|
|
# Date created: 22 February 2007
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fasm
|
2011-09-24 12:16:23 +02:00
|
|
|
PORTVERSION= 1.69.34
|
2007-02-22 12:15:01 +01:00
|
|
|
CATEGORIES= lang devel
|
|
|
|
MASTER_SITES= http://flatassembler.net/
|
|
|
|
|
2011-09-17 10:42:12 +02:00
|
|
|
MAINTAINER= graudeejs@gmail.com
|
2007-02-22 12:15:01 +01:00
|
|
|
COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures
|
|
|
|
|
2007-09-23 14:09:30 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64 ia64
|
2010-12-17 17:17:06 +01:00
|
|
|
IA32_BINARY_PORT= yes
|
2007-02-22 12:15:01 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2007-09-23 14:09:30 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
CFLAGS= -m32 -L/usr/lib32 -B/usr/lib32
|
|
|
|
.endif
|
|
|
|
|
2007-02-22 12:15:01 +01:00
|
|
|
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
|
|
|
|
|
2007-09-23 14:09:30 +02:00
|
|
|
.include <bsd.port.post.mk>
|