Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

6
misc/firelib/DESCR Normal file
View File

@@ -0,0 +1,6 @@
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
misc/firelib/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.5 2012/10/08 09:57:22 asau Exp $
#
DISTNAME= firelib-1.0.1
CATEGORIES= misc
MASTER_SITES= http://fire.org/downloads/fireLib/1.0.1/
MAINTAINER= mchittur@cs.nmsu.edu
HOMEPAGE= http://fire.org/
COMMENT= Library for predicting fire spread rate, intensity, and more
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
MAKE_FILE= 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 ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/fireLib.h ${DESTDIR}${PREFIX}/include
${INSTALL_PROGRAM} ${WRKSRC}/fireSim ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/firelib
${INSTALL_DATA} ${WRKSRC}/firelib.ps ${DESTDIR}${PREFIX}/share/doc/firelib
${INSTALL_DATA} ${WRKSRC}/license.txt ${DESTDIR}${PREFIX}/share/doc/firelib
.include "../../mk/bsd.pkg.mk"

6
misc/firelib/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:07:21 joerg Exp $
bin/fireSim
include/fireLib.h
lib/libfire.a
share/doc/firelib/firelib.ps
share/doc/firelib/license.txt

7
misc/firelib/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2005/11/08 03:24:00 tv Exp $
SHA1 (firelib-1.0.1.tar.gz) = 8505fb114b0be77df65a6dfa0364a27341ddf676
RMD160 (firelib-1.0.1.tar.gz) = 304ac8e145e836d3a3cd1f44690c7f84cdd7e42a
Size (firelib-1.0.1.tar.gz) = 73951 bytes
SHA1 (patch-aa) = 63d3f8e5a78d9aef4f7ec3c05f811bd17ba73a9c
SHA1 (patch-ab) = e67c47f0a057160c3655159a11c75285c89ceee9

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-aa,v 1.2 2005/11/08 03:24:00 tv Exp $
--- fireSim.c.orig 1996-10-02 17:05:32.000000000 -0400
+++ fireSim.c
@@ -29,7 +29,13 @@
#include "fireLib.h"
+#ifndef INFINITY
+#ifdef HUGE_VAL
+#define INFINITY HUGE_VAL
+#else
#define INFINITY 999999999. /* or close enough */
+#endif
+#endif
/* NOTE 1: Change these to modify map size & resolution. */
static int Rows = 101; /* Number of rows in each map. */

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ab,v 1.1.1.1 2005/05/19 13:03:56 minskim Exp $
--- makefile.orig 1999-03-05 16:04:39.000000000 -0600
+++ makefile
@@ -2,9 +2,9 @@
# Collin D. Bevins, October 1996
# The following rules work for UnixWare 2.0.
-CC = cc
-CFLAGS = -g -DNDEBUG
-LIBS = -lm
+CC ?= cc
+CFLAGS ?= -g -DNDEBUG
+LIBS += -lm
fireSim: fireSim.o fireLib.o fireLib.h
$(CC) $(CFLAGS) fireSim.c fireLib.c -o fireSim $(LIBS)