1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/m4/Makefile
Johan van Selst 24859a6baf - Update GNU m4 to 1.4.17 (bugfix release)
- Enable stage support
- Rename patch files
2013-10-06 15:26:15 +00:00

40 lines
806 B
Makefile

# Created by: mr
# $FreeBSD$
PORTNAME= m4
PORTVERSION= 1.4.17
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= GNU m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INFO= m4
EXAMPLESDIR= share/examples/gm4
OPTIONS_DEFINE= LIBSIGSEGV
LIBSIGSEGV_DESC= Use libsigsegv for better diagnostics
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 \
${STAGEDIR}${PREFIX}/${EXAMPLESDIR}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBSIGSEGV}
LIB_DEPENDS+= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
CONFIGURE_ARGS+= --with-libsigsegv-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-libsigsegv-prefix
.endif
.include <bsd.port.mk>