aboutsummaryrefslogtreecommitdiff
path: root/science/simlib
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-27 21:38:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-27 21:38:03 +0000
commit6b19799b97efd4ec1a197fab6be17aa894817aab (patch)
tree491b16a848e7fd688e24899c17a29861236ec886 /science/simlib
parentc59222d249257d4c39bd681b0b8cdc1151a48b1f (diff)
downloadports-6b19799b97efd4ec1a197fab6be17aa894817aab.tar.gz
ports-6b19799b97efd4ec1a197fab6be17aa894817aab.zip
Notes
Diffstat (limited to 'science/simlib')
-rw-r--r--science/simlib/Makefile25
-rw-r--r--science/simlib/distinfo2
-rw-r--r--science/simlib/files/patch-Makefile.FreeBSD55
-rw-r--r--science/simlib/pkg-descr11
-rw-r--r--science/simlib/pkg-plist8
5 files changed, 101 insertions, 0 deletions
diff --git a/science/simlib/Makefile b/science/simlib/Makefile
new file mode 100644
index 000000000000..01d0bae13e93
--- /dev/null
+++ b/science/simlib/Makefile
@@ -0,0 +1,25 @@
+# Ports collection makefile for: simlib
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+# Date created: 26 Nov 2004
+#
+# $FreeBSD$
+#
+
+PORTNAME= simlib
+PORTVERSION= 2.18.20041107
+CATEGORIES= science
+MASTER_SITES= http://www.fit.vutbr.cz/~peringer/SIMLIB/source/
+DISTNAME= SIMLIB-${PORTVERSION:S/.200/-200/}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= SIMulation LIBrary for C++ programming language
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}
+MAKEFILE= Makefile.FreeBSD
+INSTALL_TARGET= _install
+
+# not 64bit ready
+ONLY_FOR_ARCHS= i386
+
+.include <bsd.port.mk>
diff --git a/science/simlib/distinfo b/science/simlib/distinfo
new file mode 100644
index 000000000000..c58996bc6b23
--- /dev/null
+++ b/science/simlib/distinfo
@@ -0,0 +1,2 @@
+MD5 (SIMLIB-2.18-20041107.tar.gz) = c3ea1ca7319be83696e2320121a191f7
+SIZE (SIMLIB-2.18-20041107.tar.gz) = 170922
diff --git a/science/simlib/files/patch-Makefile.FreeBSD b/science/simlib/files/patch-Makefile.FreeBSD
new file mode 100644
index 000000000000..5f14ce3ee256
--- /dev/null
+++ b/science/simlib/files/patch-Makefile.FreeBSD
@@ -0,0 +1,55 @@
+--- Makefile.FreeBSD.orig Thu Apr 5 10:50:35 2001
++++ Makefile.FreeBSD Fri Nov 26 18:23:34 2004
+@@ -48,20 +48,21 @@
+ LIBNAME=simlib
+
+ # name of the compiler for C and C++ language
+-CC=gcc
+-CXX=c++
++CC?=gcc
++CXX?=c++
+
+ # C++ compiler flags -- for development
+ #CXXFLAGS=-g -O2 -Wall # with debug info
+ #CXXFLAGS=-pg -O2 -Wall # with profile support
+ #CXXFLAGS=-O2 -Wall -Weffc++ # PRODUCTION CODE
+-CXXFLAGS=-O2 -Wall # PRODUCTION CODE
++CXXFLAGS?=-O2 -Wall # PRODUCTION CODE
+
+ # installing program
+-INSTALL=install -m0644
++INSTALL_DATA?=install -c -m 444
++INSTALL_PROGRAM?=install -c -s -m 555
+
+ # directory where the files will be installed in
+-INSTALLROOT=/usr/local
++PREFIX?=/usr/local
+
+ # program to remove files
+ RM=rm -f
+@@ -315,9 +316,9 @@
+
+ #TODO: add version and symlink
+ _install: all
+- $(INSTALL) $(SIMLIB_HEADERS) $(INSTALLROOT)/include
+- $(INSTALL) $(LIBNAME).a $(INSTALLROOT)/lib/lib$(LIBNAME).a
+- $(INSTALL) $(LIBNAME).so $(INSTALLROOT)/lib/lib$(LIBNAME).so
++ $(INSTALL_DATA) $(SIMLIB_HEADERS) $(PREFIX)/include
++ $(INSTALL_PROGRAM) $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a
++ $(INSTALL_PROGRAM) $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so
+
+ #############################################################################
+ ###############################
+@@ -325,9 +326,9 @@
+ ###############################
+
+ uninstall:
+- $(RM) $(foreach headerfile, $(SIMLIB_HEADERS), $(INSTALLROOT)/include/$(headerfile))
+- $(RM) $(INSTALLROOT)/lib/lib$(LIBNAME).a
+- $(RM) $(INSTALLROOT)/lib/lib$(LIBNAME).so
++ $(RM) $(foreach headerfile, $(SIMLIB_HEADERS), $(PREFIX)/include/$(headerfile))
++ $(RM) $(PREFIX)/lib/lib$(LIBNAME).a
++ $(RM) $(PREFIX)/lib/lib$(LIBNAME).so
+
+ #############################################################################
+ ###################################
diff --git a/science/simlib/pkg-descr b/science/simlib/pkg-descr
new file mode 100644
index 000000000000..c15cb94c1cfb
--- /dev/null
+++ b/science/simlib/pkg-descr
@@ -0,0 +1,11 @@
+SIMLIB/C++ is the SIMulation LIBrary for C++ programming language. You can
+create models directly in C++ language with the use of predefined simulation
+tools from the library. SIMLIB allows object-oriented description of models
+based on simulation abstractions. Current version allows a description of
+continuous, discrete, combined, 2D/3D vector, and fuzzy models.
+
+SIMLIB/C++ is developed at the Department of Computer Science and Engineering,
+Faculty of Electrical Engineering and Computer Science, Brno University of
+Technology since 1991.
+
+WWW: http://www.fit.vutbr.cz/~peringer/SIMLIB/index.html.en
diff --git a/science/simlib/pkg-plist b/science/simlib/pkg-plist
new file mode 100644
index 000000000000..82cb293d32ac
--- /dev/null
+++ b/science/simlib/pkg-plist
@@ -0,0 +1,8 @@
+include/simlib.h
+include/delay.h
+include/zdelay.h
+include/simlib2D.h
+include/simlib3D.h
+include/optimize.h
+lib/libsimlib.a
+lib/libsimlib.so