54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
35 lines
795 B
Makefile
35 lines
795 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= ports@FreeBSD.org
|
|
COMMENT= A complete rewrite of the NASM assembler
|
|
|
|
USE_REINPLACE= yes
|
|
USE_ICONV= yes
|
|
USE_AUTOTOOLS= autoconf:259 libltdl:15
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
INSTALLS_SHLIB= yes
|
|
.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>
|