freebsd-ports/devel/spirit/Makefile
Ying-Chieh Liao bf401f0e81 -O makes -stable memory exhausted, so disable it
Submitted by:	bento log
2003-12-15 02:45:19 +00:00

36 lines
1,003 B
Makefile

# ex:ts=8
# New ports collection makefile for: spirit
# Date created: Nov 4, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= spirit
PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An object oriented recursive descent parser generator framework
BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost
RUN_DEPENDS= ${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost
USE_REINPLCE= yes
USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CFLAGS= -pipe # -O makes -stable memory exhausted
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-spirit-threadsafe
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \
${GREP} -lR "^htmldir" | ${XARGS} ${REINPLACE_CMD} \
-e "s@libs/@share/doc/spirit/@"
.include <bsd.port.mk>