aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nasm/Makefile
blob: 2d70267c09b91a01fe6f1a4ecfdc20bb283e1350 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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>