freebsd-ports/devel/nasm/Makefile
2005-04-12 03:26:56 +00:00

34 lines
760 B
Makefile

# New ports collection makefile for: nasm
# Date created: 7 April 1998
# Whom: Murray Stokely <murray@cdrom.com>
#
# $FreeBSD$
#
PORTNAME= nasm
PORTVERSION= 0.98.39
PORTEPOCH= 1
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nasm
MAINTAINER= krion@FreeBSD.org
COMMENT= General-purpose multi-platform x86 assembler
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= VERSION=${PORTVERSION}
PLIST_FILES= bin/nasm bin/nasm-%%VERSION%% bin/ndisasm
MAN1= nasm.1 ndisasm.1
post-patch:
@${REINPLACE_CMD} -e 's|-std=c99||' ${WRKSRC}/configure
post-install:
${LN} -sf nasm ${PREFIX}/bin/${DISTNAME}
.include <bsd.port.mk>