From owner-svn-ports-head@FreeBSD.ORG Sat Mar 2 14:49:29 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 67086602; Sat, 2 Mar 2013 14:49:29 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 40528F20; Sat, 2 Mar 2013 14:49:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r22EnTcK022558; Sat, 2 Mar 2013 14:49:29 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r22EnSiE022554; Sat, 2 Mar 2013 14:49:28 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201303021449.r22EnSiE022554@svn.freebsd.org> From: Martin Wilke Date: Sat, 2 Mar 2013 14:49:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313249 - in head/science/silo: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2013 14:49:29 -0000 Author: miwi Date: Sat Mar 2 14:49:28 2013 New Revision: 313249 URL: http://svnweb.freebsd.org/changeset/ports/313249 Log: - Update to 4.9 PR: 176554 Submitted by: Ports Fury Deleted: head/science/silo/files/ Modified: head/science/silo/Makefile head/science/silo/distinfo (contents, props changed) head/science/silo/pkg-descr (contents, props changed) head/science/silo/pkg-plist (contents, props changed) Modified: head/science/silo/Makefile ============================================================================== --- head/science/silo/Makefile Sat Mar 2 14:47:43 2013 (r313248) +++ head/science/silo/Makefile Sat Mar 2 14:49:28 2013 (r313249) @@ -1,76 +1,92 @@ -# New ports collection makefile for: silo -# Date created: 17 jul 2008 -# Whom: Pedro F. Giffuni -# +# Created by: Pedro F. Giffuni # $FreeBSD$ -# PORTNAME= silo -PORTVERSION= 4.6.2 -PORTREVISION= 8 +PORTVERSION= 4.9 +DISTVERSIONSUFFIX= -bsd CATEGORIES= science MASTER_SITES= https://wci.llnl.gov/codes/${PORTNAME}/silo-${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org -COMMENT= A mesh and field I/O library and scientific database +COMMENT= Mesh and field I/O library and scientific database -LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -DEPRECATED= Depends on QT3; unmaintained -EXPIRATION_DATE= 2013-07-01 - -USE_AUTOTOOLS= libtool -GNU_CONFIGURE= yes -CPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} +OPTIONS_DEFINE= HDF5 PYTHON +OPTIONS_RADIO= EXCLUSIVE +OPTIONS_RADIO_EXCLUSIVE= FORTRAN QT4 +OPTIONS_DEFAULT= QT4 NO_LATEST_LINK= yes + +USE_READLINE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --enable-shared +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared --disable-static USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes -USE_QT_VER= 3 +.include -.ifdef WITH_PYTHON -USE_PYTHON= yes -CONFIGURE_ARGS+= --enable-pythonmodule -PLIST_SUB+= WITH_PYTHON="" +.if ${PORT_OPTIONS:MFORTRAN} +USE_FORTRAN= yes .else -PLIST_SUB+= WITH_PYTHON="@comment " +CONFIGURE_ARGS+= --disable-fortran .endif -.ifdef WITH_HDF5 -USE_FORTRAN= yes -CONFIGURE_ENV+= ${MAKE_ENV} -CONFIGURE_ARGS+= --enable-fortran +.if ${PORT_OPTIONS:MHDF5} +LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5 +CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib +PLIST_SUB+= HDF5="" NOHDF5="@comment " .else -CONFIGURE_ARGS+= --disable-fortran +PLIST_SUB+= HDF5="@comment " NOHDF5="" .endif -.ifdef WITH_HDF5 -LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 -CONFIGURE_ARGS= --with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib -PLIST_SUB+= WITH_HDF5="" -PLIST_SUB+= WITH_NCDF="@comment " -LIBSILO= libsiloh5 +.if ${PORT_OPTIONS:MPYTHON} +USE_PYTHON= yes +CONFIGURE_ARGS+= --enable-pythonmodule +PLIST_SUB+= PYTHON="" .else -PLIST_SUB+= WITH_HDF5="@comment " -PLIST_SUB+= WITH_NCDF="" -LIBSILO= libsilo +PLIST_SUB+= PYTHON="@comment " .endif -.ifdef WITH_OPTIMIZATION -CONFIGURE_ARGS+= --enable-optimization +.if ${PORT_OPTIONS:MQT4} +USE_XORG= xext xi xmu xt +USE_QT4= qt3support linguist_build moc_build uic_build +QT_NONSTANDARD= yes +CONFIGURE_ARGS+= --with-Qt-dir=${QT_PREFIX} +PLIST_SUB+= QT4="" +DESKTOP_ENTRIES="Silex" "Silex browser for Silo files" "" "silex" "" true +.else +CONFIGURE_ARGS+= --disable-silex +PLIST_SUB+= QT4="@comment " .endif -post-install: - @${RM} ${PREFIX}/lib/libsilo*.settings - @${MV} ${PREFIX}/lib/${LIBSILO}.so ${PREFIX}/lib/${LIBSILO}.so.4 - @${LN} -sf ${PREFIX}/lib/${LIBSILO}.so.4 ${PREFIX}/lib/${LIBSILO}.so +post-extract: + @${CHMOD} -R a+rX ${WRKSRC} + +post-patch: + @${REINPLACE_CMD} -e \ + 's|\(_Qt_dir/include\)"|\1/qt4"| ; \ + s|\(_Qt_dir/lib\)"|\1/qt4"| ; \ + s|\(/uic\)"|\1-qt4"| ; \ + s|\(/moc\)"|\1-qt4"| ; \ + s|\(/lrelease\)"|\1-qt4"| ; \ + s|\(/lupdate\)"|\1-qt4"|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + '/-avoid-version/s|^|#| ; \ + /^install-data-am/s|:.*|:|' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e \ + '/-ldl/s|^|#|' ${WRKSRC}/tests/Makefile.in + @${REINPLACE_CMD} -e \ + 's|@libdir@|@pythondir@|' ${WRKSRC}/tools/python/Makefile.in + @${REINPLACE_CMD} -e \ + 's|\(INBUILD\));|\1, me);|' ${WRKSRC}/src/hdf5_drv/silo_hdf5.c -.ifdef MAINTAINER_MODE +.if defined(MAINTAINER_MODE) regression-test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} check + @cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} check .endif .include Modified: head/science/silo/distinfo ============================================================================== --- head/science/silo/distinfo Sat Mar 2 14:47:43 2013 (r313248) +++ head/science/silo/distinfo Sat Mar 2 14:49:28 2013 (r313249) @@ -1,2 +1,2 @@ -SHA256 (silo-4.6.2.tar.gz) = 333b7642eb3d95121d1e9e7dc1695f1164fc83583f0733c8c6d876b67c20815c -SIZE (silo-4.6.2.tar.gz) = 11020008 +SHA256 (silo-4.9-bsd.tar.gz) = ae82c23345ab2334f9a0f89d7d05d7c99b9489800d9b153c917a40c55577c783 +SIZE (silo-4.9-bsd.tar.gz) = 11993390 Modified: head/science/silo/pkg-descr ============================================================================== --- head/science/silo/pkg-descr Sat Mar 2 14:47:43 2013 (r313248) +++ head/science/silo/pkg-descr Sat Mar 2 14:49:28 2013 (r313249) @@ -1,24 +1,8 @@ -A mesh and field I/O library and scientific database - -Silo is a library for reading and writing a wide variety of scientific -data to binary, disk files. The files Silo produces and the data within -them can be easily shared and exchanged between wholly independently -developed applications running on disparate computing platforms. - -Consequently, Silo facilitates the development of general purpose tools -for processing scientific data. One of the more popular tools that process -Silo data files is the VisIt visualization tool. - -Silo supports gridless (point) meshes, structured meshes, unstructured-zoo -and unstructured-arbitrary-polyhedral meshes, block structured AMR meshes, -constructive solid geometry (CSG) meshes, piecewise-constant (e.g. -zone-centered) and piecewise-linear (e.g. node-centered) variables defined -on the node, edge, face or volume elements of meshes as well as the -decomposition of meshes into arbitrary subset hierarchies including -materials and mixing materials. In addition, Silo supports a wide variety -of other useful objects to address various scientific computing -application needs.Although the Silo library is a serial library, it has -some key features which enable it to be applied quite effectively and -scalably in parallel. +Silo is a library for reading and writing a wide variety of scientific +data to binary, disk files. The files Silo produces and the data within +them can be easily shared and exchanged between wholly independently +developed applications running on disparate computing platforms. +Consequently, Silo facilitates the development of general purpose tools +for processing scientific data. WWW: https://wci.llnl.gov/codes/silo/ Modified: head/science/silo/pkg-plist ============================================================================== --- head/science/silo/pkg-plist Sat Mar 2 14:47:43 2013 (r313248) +++ head/science/silo/pkg-plist Sat Mar 2 14:49:28 2013 (r313249) @@ -1,19 +1,17 @@ bin/browser -bin/silodiff -bin/silex +%%QT4%%bin/silex bin/silock +bin/silodiff bin/silofile +include/ioperf.h +include/pmpio.h include/silo.h include/silo.inc -include/pmpio.h -%%WITH_PYTHON%%lib/Silo.a -%%WITH_PYTHON%%lib/Silo.la -%%WITH_PYTHON%%lib/Silo.so -%%WITH_NCDF%%lib/libsilo.a -%%WITH_NCDF%%lib/libsilo.la -%%WITH_NCDF%%lib/libsilo.so -%%WITH_NCDF%%lib/libsilo.so.4 -%%WITH_HDF5%%lib/libsiloh5.a -%%WITH_HDF5%%lib/libsiloh5.la -%%WITH_HDF5%%lib/libsiloh5.so -%%WITH_HDF5%%lib/libsiloh5.so.4 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/Silo.la +%%PYTHON%%%%PYTHON_SITELIBDIR%%/Silo.so +%%NOHDF5%%lib/libsilo.la +%%NOHDF5%%lib/libsilo.so +%%NOHDF5%%lib/libsilo.so.0 +%%HDF5%%lib/libsiloh5.la +%%HDF5%%lib/libsiloh5.so +%%HDF5%%lib/libsiloh5.so.0