1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/yasm/Makefile
Renato Botelho ec5818c6e5 - Respect WITHOUT_NLS knob
- Take maintainership

PR:		ports/96290
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-04-25 17:54:44 +00:00

41 lines
844 B
Makefile

# ex:ts=8
# Ports collection makefile for: yasm
# Date created: Apr 7, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= yasm
PORTVERSION= 0.4.0
CATEGORIES= devel lang
MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
MAINTAINER= shaun@inerd.com
COMMENT= A complete rewrite of the NASM assembler
USE_ICONV= yes
USE_AUTOTOOLS= autoconf:259 libltdl:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
.else
USE_GETTEXT= yes
.endif
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-man
MAN1= yasm.1
MAN7= yasm_arch.7
.endif
post-configure:
@${REINPLACE_CMD} 's|$${top_builddir}/libltdl/libltdlc.la|-lltdl|' ${WRKSRC}/Makefile
@${RM} -rf ${WRKSRC}/libltdl
.include <bsd.port.mk>