From owner-svn-ports-head@freebsd.org Wed Feb 27 13:09:14 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85755151CB74; Wed, 27 Feb 2019 13:09:14 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D2B975C3C; Wed, 27 Feb 2019 13:09:14 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F3DCD1D21A; Wed, 27 Feb 2019 13:09:13 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1RD9DTK071857; Wed, 27 Feb 2019 13:09:13 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1RD9DsP071854; Wed, 27 Feb 2019 13:09:13 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201902271309.x1RD9DsP071854@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 27 Feb 2019 13:09:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494051 - head/science/p5-Mcstas-Tools X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/science/p5-Mcstas-Tools X-SVN-Commit-Revision: 494051 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1D2B975C3C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 27 Feb 2019 13:09:14 -0000 Author: tobik Date: Wed Feb 27 13:09:13 2019 New Revision: 494051 URL: https://svnweb.freebsd.org/changeset/ports/494051 Log: science/p5-Mcstas-Tools: Update to 2.5 PR: 235858 Submitted by: Erik B Knudsen (maintainer) Modified: head/science/p5-Mcstas-Tools/Makefile head/science/p5-Mcstas-Tools/distinfo head/science/p5-Mcstas-Tools/pkg-plist Modified: head/science/p5-Mcstas-Tools/Makefile ============================================================================== --- head/science/p5-Mcstas-Tools/Makefile Wed Feb 27 12:57:17 2019 (r494050) +++ head/science/p5-Mcstas-Tools/Makefile Wed Feb 27 13:09:13 2019 (r494051) @@ -1,37 +1,54 @@ -# Created by: Erik B Knudsen # $FreeBSD$ PORTNAME= Mcstas-Tools -PORTVERSION= 2.2a -PORTREVISION= 2 +PORTVERSION= 2.5 CATEGORIES= science -MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/ +MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/ PKGNAMEPREFIX= p5- -DISTNAME= mcstas-tools-perl-${PORTVERSION}-src +DISTFILES= mcstas-tools-perl-${PORTVERSION}-src.tar.gz \ + mcstas-tools-perl-cmdline-${PORTVERSION}-src.tar.gz MAINTAINER= erkn@fysik.dtu.dk COMMENT= Perl based tools for the McStas neutron ray tracing package LICENSE= GPLv2 -RUN_DEPENDS= p5-Tk>0:x11-toolkits/p5-Tk \ - p5-PGPLOT>=2.21:graphics/p5-PGPLOT \ - PDL>0:math/PDL \ - mcstas:science/mcstas +RUN_DEPENDS= mcstas:science/mcstas \ + p5-PGPLOT>=2.21:graphics/p5-PGPLOT \ + p5-Tk>0:x11-toolkits/p5-Tk \ + PDL>0:math/PDL USES= cmake perl5 shebangfix -CMAKE_ARGS= -Denable_mcstas=1 -SHEBANG_FILES= ${EXECS:S/$/.pl/} +NO_WRKSUBDIR= yes +CMAKE_ARGS= -Denable_mcstas=1 +SHEBANG_GLOB= *.pl PLIST_SUB= PORTVERSION=${PORTVERSION} -EXECS= mcdaemon mcdisplay mcdoc mcformatgui mcgui mcplot mcresplot mcrun mcstas2vitess +EXECS= mcdaemon.pl mcdisplay.pl mcdoc.pl mcformatgui.pl mcgui.pl \ + mcplot.pl mcresplot.pl mcrun.pl mcrun.pl mcstas2vitess.pl +WRKSRC_SUBDIRS= ${DISTFILES:S/.tar.gz$//} +do-configure: +.for f in ${WRKSRC_SUBDIRS} + @${ECHO_MSG} ${_CMAKE_MSG} + ${MKDIR} ${WRKSRC}/${f}/.build + @cd ${WRKSRC}/${f}/.build; ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} .. +.endfor + +do-build: +.for f in ${WRKSRC_SUBDIRS} + @cd ${WRKSRC}/${f}/.build; ${DO_MAKE_BUILD} ${ALL_TARGET} +.endfor + +do-install: +.for f in ${WRKSRC_SUBDIRS} + @(cd ${WRKSRC}/${f}/.build && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) +.endfor + post-install: - ${MV} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/doc/man/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1/ - ${RMDIR} -p ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/doc/man/man1 || : > /dev/null 2>&1 -.for target in ${EXECS} - ${LN} -s ${PREFIX}/mcstas/${PORTVERSION}/bin/${target} ${STAGEDIR}${PREFIX}/bin/${target} +.for e in ${EXECS} + ${RLN} ${STAGEDIR}/${PREFIX}/mcstas/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e} .endfor .include Modified: head/science/p5-Mcstas-Tools/distinfo ============================================================================== --- head/science/p5-Mcstas-Tools/distinfo Wed Feb 27 12:57:17 2019 (r494050) +++ head/science/p5-Mcstas-Tools/distinfo Wed Feb 27 13:09:13 2019 (r494051) @@ -1,2 +1,5 @@ -SHA256 (mcstas-tools-perl-2.2a-src.tar.gz) = ccb35ca79075c7a4556c2cd246becb8437c7ddfabae1e1946dddc092e01f2f73 -SIZE (mcstas-tools-perl-2.2a-src.tar.gz) = 256717 +TIMESTAMP = 1546522722 +SHA256 (mcstas-tools-perl-2.5-src.tar.gz) = 9bca4b97351661d2fee14d5d23ac0d1b4c846e9c8161de667e247ae5ec422661 +SIZE (mcstas-tools-perl-2.5-src.tar.gz) = 223795 +SHA256 (mcstas-tools-perl-cmdline-2.5-src.tar.gz) = b5cdf4c46b056fcf35939778b6ddf5542498ecbff213f1be839c8b81fa9d5df6 +SIZE (mcstas-tools-perl-cmdline-2.5-src.tar.gz) = 76353 Modified: head/science/p5-Mcstas-Tools/pkg-plist ============================================================================== --- head/science/p5-Mcstas-Tools/pkg-plist Wed Feb 27 12:57:17 2019 (r494050) +++ head/science/p5-Mcstas-Tools/pkg-plist Wed Feb 27 13:09:13 2019 (r494051) @@ -1,26 +1,21 @@ -bin/mcdaemon -bin/mcdisplay -bin/mcdoc -bin/mcformatgui -bin/mcgui -bin/mcplot -bin/mcresplot -bin/mcrun -bin/mcstas2vitess -man/man1/mcdisplay-%%PORTVERSION%%.1.gz -man/man1/mcdoc-%%PORTVERSION%%.1.gz -man/man1/mcgui-%%PORTVERSION%%.1.gz -man/man1/mcplot-%%PORTVERSION%%.1.gz -man/man1/mcrun-%%PORTVERSION%%.1.gz -mcstas/%%PORTVERSION%%/bin/mcdaemon -mcstas/%%PORTVERSION%%/bin/mcdisplay -mcstas/%%PORTVERSION%%/bin/mcdoc -mcstas/%%PORTVERSION%%/bin/mcformatgui -mcstas/%%PORTVERSION%%/bin/mcgui -mcstas/%%PORTVERSION%%/bin/mcplot -mcstas/%%PORTVERSION%%/bin/mcresplot -mcstas/%%PORTVERSION%%/bin/mcrun -mcstas/%%PORTVERSION%%/bin/mcstas2vitess +bin/mcdaemon.pl +bin/mcdisplay.pl +bin/mcdoc.pl +bin/mcformatgui.pl +bin/mcgui.pl +bin/mcplot.pl +bin/mcresplot.pl +bin/mcrun.pl +bin/mcstas2vitess.pl +mcstas/%%PORTVERSION%%/bin/mcdaemon.pl +mcstas/%%PORTVERSION%%/bin/mcdisplay.pl +mcstas/%%PORTVERSION%%/bin/mcdoc.pl +mcstas/%%PORTVERSION%%/bin/mcformatgui.pl +mcstas/%%PORTVERSION%%/bin/mcgui.pl +mcstas/%%PORTVERSION%%/bin/mcplot.pl +mcstas/%%PORTVERSION%%/bin/mcresplot.pl +mcstas/%%PORTVERSION%%/bin/mcrun.pl +mcstas/%%PORTVERSION%%/bin/mcstas2vitess.pl mcstas/%%PORTVERSION%%/launchers/McStas.desktop mcstas/%%PORTVERSION%%/launchers/mcstas-pl.png mcstas/%%PORTVERSION%%/tools/Perl/launcher/mcstas-pl.png