2000-02-13 04:25:05 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: bison
|
|
|
|
# Date created: 27 Mar 1999
|
|
|
|
# Whom: Jerry Hicks
|
2000-01-17 12:31:33 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= bison
|
2002-02-17 04:52:38 +01:00
|
|
|
PORTVERSION= 1.33
|
2002-03-13 20:34:39 +01:00
|
|
|
PORTREVISION= 1
|
2000-01-17 12:31:33 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= bison
|
|
|
|
|
2002-02-17 04:52:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-01-17 12:31:33 +01:00
|
|
|
|
2002-03-13 02:23:26 +01:00
|
|
|
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
|
2000-06-12 12:00:36 +02:00
|
|
|
|
2000-01-17 12:31:33 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-13 02:23:26 +01:00
|
|
|
CONFIGURE_ARGS= --with-included-gettext
|
2000-06-12 12:00:36 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-03-13 02:23:26 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2001-09-23 08:40:35 +02:00
|
|
|
MAKEINFO="makeinfo --no-split"
|
2001-12-11 02:58:33 +01:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2000-06-12 12:00:36 +02:00
|
|
|
|
2000-01-17 12:31:33 +01:00
|
|
|
MAN1= bison.1
|
|
|
|
|
2001-09-23 08:40:35 +02:00
|
|
|
post-extract:
|
2002-03-13 02:23:26 +01:00
|
|
|
@${RM} -f ${WRKSRC}/doc/bison.info*
|
2002-03-14 17:05:31 +01:00
|
|
|
@${PERL} -pi -e 's|-liconv|-lgiconv|g ; s|iconv\.h|giconv\.h|g' \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/intl/gettextP.h
|
2001-09-23 08:40:35 +02:00
|
|
|
|
2000-01-17 12:31:33 +01:00
|
|
|
post-install:
|
2002-03-13 02:23:26 +01:00
|
|
|
install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir
|
2000-01-17 12:31:33 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|