mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
f8569d304f
This causes problems in tinderbox and possibly in other environments as well. Reported by: wen
46 lines
913 B
Makefile
46 lines
913 B
Makefile
# New ports collection makefile for: m4
|
|
# Date created: 25 October 1994
|
|
# Whom: mr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= m4
|
|
PORTVERSION= 1.4.16
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= m4
|
|
|
|
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
|
|
MAN1= gm4.1
|
|
|
|
EXAMPLESDIR= share/examples/gm4
|
|
|
|
OPTIONS_DEFINE= LIBSIGSEGV
|
|
LIBSIGSEGV_DESC= Use libsigsegv for better diagnostics
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MLIBSIGSEGV}
|
|
LIB_DEPENDS+= sigsegv:${PORTSDIR}/devel/libsigsegv
|
|
CONFIGURE_ARGS+= --with-libsigsegv-prefix=${LOCALBASE}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libsigsegv-prefix
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|