Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 20:06:37 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125725: New port science/silo
Message-ID:  <200807172006.m6HK6b48009810@www.freebsd.org>
Resent-Message-ID: <200807172010.m6HKA0dq034517@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125725
>Category:       ports
>Synopsis:       New port science/silo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 20:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64

>Description:
Silo is a data format and library developed at Lawrence Livermore National Laboratory (LLNL) for storing rectilinear, curvilinear, unstructured, or point meshes in 2D and 3D.
It is a requirement for LLNL's VisIt Visualizer.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./silo
#	./silo/Makefile
#	./silo/distinfo
#	./silo/pkg-descr
#	./silo/pkg-plist
#	./silo/files
#	./silo/files/patch-tests+Makefile.in
#
echo c - ./silo
mkdir -p ./silo > /dev/null 2>&1
echo x - ./silo/Makefile
sed 's/^X//' >./silo/Makefile << 'END-of-./silo/Makefile'
X# New ports collection makefile for:	silo
X# Date created:		17 jul 2008
X# Whom: 		pfg
X#
X# $FreeBSD$
X#
X
XPORTNAME=	silo
XPORTVERSION=	4.6.1
XCATEGORIES=	science
XMASTER_SITES=	https://wci.llnl.gov/codes/${PORTNAME}/silo-${PORTVERSION}/
X
XMAINTAINER=	giffunip@tutopia.com
XCOMMENT=	A mesh and field I/O library and scientific database
X
XLIB_DEPENDS=	netcdf.4:${PORTSDIR}/science/netcdf
X
XUSE_AUTOTOOLS=	libtool:15
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"	\
X		LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
X
XUSE_GMAKE=	yes
XCONFIGURE_ARGS= --enable-shared
XUSE_LDCONFIG=	yes
X
XUSE_XLIB=	yes
XUSE_QT_VER=	3
XQT_COMPONENTS=	moc uic
X
XOPTIONS=	PYTHON	"Enable Python Module" On \
X		HDF5	"Enable HDF5 Driver" Off \
X		BROWSER	"Enable Silex Browser" Off \
X		FORTRAN "Compile Fortran interface" Off \
X		OPTIMIZATION "Enable extra optimizations" On
X
X.include <bsd.port.pre.mk>
X
X.ifdef WITH_PYTHON
XUSE_PYTHON=	yes
XCONFIGURE_ARGS+=	--enable-pythonmodule
XPLIST_SUB+=	WITH_PYTHON=""
X.else
XPLIST_SUB+=	WITH_PYTHON="@comment "
X.endif
X
X.ifdef WITH_HDF5
XLIB_DEPENDS+=	hdf5.0:${PORTSDIR}/science/hdf5
XCONFIGURE_ARGS= --with-hdf5=${LOCALBASE}
XPLIST_SUB+=	WITH_HDF5=""
XPLIST_SUB+=	WITH_HDF5="@comment "
X.else
XPLIST_SUB+=	WITH_HDF5="@comment "
XPLIST_SUB+=	WITH_NCDF=""
X.endif
X
X.ifdef WITH_BROWSER
XCONFIGURE_ARGS+=	--enable-silex
XPLIST_SUB+=	WITH_BROWSER=""
X.else
XPLIST_SUB+=	WITH_BROWSER="@comment "
X.endif
X
X.ifdef WITH_FORTRAN
XUSE_FORTRAN=	yes
XCONFIGURE_ARGS+=	--enable-fortran
X.endif
X
X.ifdef WITH_OPTIMIZATION
XCONFIGURE_ARGS+=	--enable-optimization
X.endif
X
Xregression-test: build
X	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} check
X
X.include <bsd.port.post.mk>
END-of-./silo/Makefile
echo x - ./silo/distinfo
sed 's/^X//' >./silo/distinfo << 'END-of-./silo/distinfo'
XMD5 (silo-4.6.1.tar.gz) = 34b030e8c098b89bd79ee1b23477b283
XSHA256 (silo-4.6.1.tar.gz) = 8e5c314db468613a2a6ddf7c3ce07a0a9f969e854e5957011f0cade184bf0ac7
XSIZE (silo-4.6.1.tar.gz) = 2618748
END-of-./silo/distinfo
echo x - ./silo/pkg-descr
sed 's/^X//' >./silo/pkg-descr << 'END-of-./silo/pkg-descr'
X	A mesh and field I/O library and scientific database
X
XSilo is a library for reading and writing a wide variety of scientific 
Xdata to binary, disk files. The files Silo produces and the data within 
Xthem can be easily shared and exchanged between wholly independently 
Xdeveloped applications running on disparate computing platforms. 
X
XConsequently, Silo facilitates the development of general purpose tools 
Xfor processing scientific data. One of the more popular tools that process 
XSilo data files is the VisIt visualization tool.
X
XSilo supports gridless (point) meshes, structured meshes, unstructured-zoo 
Xand unstructured-arbitrary-polyhedral meshes, block structured AMR meshes, 
Xconstructive solid geometry (CSG) meshes, piecewise-constant (e.g. 
Xzone-centered) and piecewise-linear (e.g. node-centered) variables defined 
Xon the node, edge, face or volume elements of meshes as well as the 
Xdecomposition of meshes into arbitrary subset hierarchies including 
Xmaterials and mixing materials. In addition, Silo supports a wide variety 
Xof other useful objects to address various scientific computing 
Xapplication needs.Although the Silo library is a serial library, it has 
Xsome key features which enable it to be applied quite effectively and 
Xscalably in parallel.
X
XWWW: https://wci.llnl.gov/codes/silo/
END-of-./silo/pkg-descr
echo x - ./silo/pkg-plist
sed 's/^X//' >./silo/pkg-plist << 'END-of-./silo/pkg-plist'
X%%WITH_BROWSER%%bin/browser
Xbin/silodiff
Xbin/silex
Xbin/silock
Xinclude/silo.h
Xinclude/silo.inc
Xinclude/pmpio.h
X%%WITH_PYTHON%%lib/Silo.a
X%%WITH_PYTHON%%lib/Silo.la
X%%WITH_PYTHON%%lib/Silo.so
X%%WITH_NCDF%%lib/libsilo.a
X%%WITH_NCDF%%lib/libsilo.la
X%%WITH_NCDF%%lib/libsilo.so
X%%WITH_HDF5%%lib/libsiloh5.a
X%%WITH_HDF5%%lib/libsiloh5.la
X%%WITH_HDF5%%lib/libsiloh5.so
END-of-./silo/pkg-plist
echo c - ./silo/files
mkdir -p ./silo/files > /dev/null 2>&1
echo x - ./silo/files/patch-tests+Makefile.in
sed 's/^X//' >./silo/files/patch-tests+Makefile.in << 'END-of-./silo/files/patch-tests+Makefile.in'
X--- tests/Makefile.in.orig	2008-03-27 13:56:49.000000000 -0500
X+++ tests/Makefile.in	2008-03-27 13:57:36.000000000 -0500
X@@ -407,7 +407,7 @@
X INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
X LDFLAGS = @LDFLAGS@
X LIBOBJS = @LIBOBJS@
X-LIBS = @LIBS@
X+LIBS = @LIBS@ -lcompat
X LIBTOOL = @LIBTOOL@
X LN_S = @LN_S@
X LOCAL = @LOCAL@
END-of-./silo/files/patch-tests+Makefile.in
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807172006.m6HK6b48009810>