# $MidnightBSD: trunk/devel/yasm/Makefile 23818 2018-08-21 18:04:05Z laffer1 $

PORTNAME=	yasm
PORTVERSION=	1.3.0
PORTREVISION=	0
CATEGORIES=	devel lang
MASTER_SITES=	https://www.tortall.net/projects/yasm/releases/

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Complete rewrite of the NASM assembler

LICENSE=	bsd3

OPTIONS_DEFINE=	NLS

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--disable-python --disable-python-bindings
CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.mport.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=	gettext iconv
.else
CONFIGURE_ARGS+=--disable-nls --without-libiconv-prefix --without-libintl-prefix
.endif

INSTALL_TARGET=	install install-man

.include <bsd.port.mk>
