pkgsrc/math/cassowary/Makefile
jmc 0c5474356d Make this require bison 1.34 or greater as the syntax for --outputfile changed
during bison upgrades and detecting which syntax is in use is far harder than
simply making Makefile.in do the right thing for 1.34
2002-03-25 01:04:46 +00:00

37 lines
988 B
Makefile

# $NetBSD: Makefile,v 1.11 2002/03/25 01:04:46 jmc Exp $
#
DISTNAME= cassowary-0.60
CATEGORIES= math
MASTER_SITES= http://www.cs.washington.edu/research/constraints/cassowary/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cs.washington.edu/research/constraints/cassowary/
COMMENT= Constraint-solving toolkit for linear equalities and inequalities
BUILD_DEPENDS+= bison>=1.34:../../devel/bison
DEPENDS+= guile>=1.3.2:../../lang/guile
DEPENDS+= gtl>=0.3.2:../../devel/gtl
USE_GMAKE= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --enable-fd-solver
CONFIGURE_ARGS+= --with-guile-prefix=${LOCALBASE}
CONFIGURE_ARGS+= --with-gtl=${LOCALBASE}
YACC= bison -y
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS+= egcs-1.1.2:../../lang/egcs
MAKE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
.endif
post-install:
cd ${PREFIX}/lib/cassowary && ${RMDIR} -p bench
.include "../../mk/bsd.pkg.mk"