mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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. Requested by: Roman Divacky
This commit is contained in:
parent
c59222d249
commit
6b19799b97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122623
@ -46,6 +46,7 @@
|
||||
SUBDIR += ruby-dcl
|
||||
SUBDIR += ruby-dcl-gtk
|
||||
SUBDIR += ruby-gphys
|
||||
SUBDIR += simlib
|
||||
SUBDIR += vis5d+
|
||||
SUBDIR += vmd
|
||||
SUBDIR += xloops-ginac
|
||||
|
25
science/simlib/Makefile
Normal file
25
science/simlib/Makefile
Normal file
@ -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>
|
2
science/simlib/distinfo
Normal file
2
science/simlib/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (SIMLIB-2.18-20041107.tar.gz) = c3ea1ca7319be83696e2320121a191f7
|
||||
SIZE (SIMLIB-2.18-20041107.tar.gz) = 170922
|
55
science/simlib/files/patch-Makefile.FreeBSD
Normal file
55
science/simlib/files/patch-Makefile.FreeBSD
Normal file
@ -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
|
||||
|
||||
#############################################################################
|
||||
###################################
|
11
science/simlib/pkg-descr
Normal file
11
science/simlib/pkg-descr
Normal file
@ -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
|
8
science/simlib/pkg-plist
Normal file
8
science/simlib/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user