f35a42a804
by me. C language function library for predicting the spread rate, intensity, flame length, and scorch height of free-burning surface fires. It is derived directly from the BEHAVE fire behavior algorithms for predicting fire spread in two dimensions, but is optimized for highly iterative applications such as cell- or wave- based fire growth simulation.
33 lines
920 B
Makefile
33 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2005/05/19 13:03:56 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= firelib-1.0.1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://fire.org/firelib/
|
|
|
|
MAINTAINER= mchittur@cs.nmsu.edu
|
|
HOMEPAGE= http://fire.org/firelib/
|
|
COMMENT= Library for predicting fire spread rate, intensity, and more
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
MAKEFILE= makefile
|
|
BUILD_TARGET= fireSim
|
|
|
|
INSTALLATION_DIRS= bin include lib
|
|
|
|
post-build:
|
|
cd ${WRKSRC} && ${AR} cru libfire.a fireLib.o
|
|
cd ${WRKSRC} && ${RANLIB} libfire.a
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/libfire.a ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/fireLib.h ${PREFIX}/include
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fireSim ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/firelib
|
|
${INSTALL_DATA} ${WRKSRC}/firelib.ps ${PREFIX}/share/doc/firelib
|
|
${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/share/doc/firelib
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|