1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/bison-devel/Makefile
Sean Chittenden ea4177f061 Add bison 1.875. Some grammars require the new version of Bison (such as
PostgreSQL), however the new bison also breaks many many ports.  Compromise
with a new port.  Installs as bison and _not_ bison1875 and should be
mutually exclusive to the main bison port.  Hopefully the bison authors will
clean up their product and this port can disappear when the base bison port
is updated in the future or enough ports are updated to work with newer
versions of bison.

Repo copied by: fjoe
Approved by:	kris
2003-05-07 04:48:05 +00:00

39 lines
924 B
Makefile

# ex:ts=8
# Ports collection makefile for: bison
# Date created: 27 Mar 1999
# Whom: Jerry Hicks
#
# $FreeBSD$
#
PORTNAME= bison
PORTVERSION= 1.875
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= seanc@FreeBSD.org
COMMENT= A parser generator from FSF, (mostly) compatible with Yacc
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
MAN1= bison.1
.ifdef USE_BISON
.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
.include <bsd.port.mk>