From owner-svn-ports-all@freebsd.org Tue Dec 5 17:32:38 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F8A2E7209A; Tue, 5 Dec 2017 17:32:38 +0000 (UTC) (envelope-from swills@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 mx1.freebsd.org (Postfix) with ESMTPS id 6993E64B1B; Tue, 5 Dec 2017 17:32:38 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB5HWbLa018990; Tue, 5 Dec 2017 17:32:37 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB5HWbUA018987; Tue, 5 Dec 2017 17:32:37 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201712051732.vB5HWbUA018987@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 5 Dec 2017 17:32:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455594 - in head/science/mcstas: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/science/mcstas: . files X-SVN-Commit-Revision: 455594 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2017 17:32:38 -0000 Author: swills Date: Tue Dec 5 17:32:37 2017 New Revision: 455594 URL: https://svnweb.freebsd.org/changeset/ports/455594 Log: science/mcstas: simplify Makefile While here, remove unecessary pkg-install/deinstall PR: 223905 Submitted by: Erik B Knudsen (maintainer) Deleted: head/science/mcstas/files/ Modified: head/science/mcstas/Makefile head/science/mcstas/distinfo head/science/mcstas/pkg-plist Modified: head/science/mcstas/Makefile ============================================================================== --- head/science/mcstas/Makefile Tue Dec 5 17:06:48 2017 (r455593) +++ head/science/mcstas/Makefile Tue Dec 5 17:32:37 2017 (r455594) @@ -1,25 +1,28 @@ -# Created by: Erik B Knudsen # $FreeBSD$ PORTNAME= mcstas -PORTVERSION= 2.2a +DISTVERSION= 2.2a CATEGORIES= science -MASTER_SITES= http://download.mcstas.org/${PORTNAME}-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/ -DISTNAME= mcstas-${PORTVERSION}-src +MASTER_SITES= http://download.mcstas.org/${PORTNAME}-${DISTVERSION}/unix/McStas-${DISTVERSION}-UNIX-src/ +DISTNAME= mcstas-${DISTVERSION}-src MAINTAINER= erkn@fysik.dtu.dk COMMENT= Monte Carlo neutron ray tracing package -LICENSE= GPLv2 +LICENSE= LGPL21+ -USES= bison:build cmake +USES= bison:build cmake:outsource CMAKE_ARGS= "-Denable_mcstas=1" -PLIST_SUB+= PORTVERSION=${PORTVERSION} -SUB_FILES= pkg-deinstall pkg-install +MANDIRS= ${PREFIX}/${PORTNAME}/${DISTVERSION}/doc/man/man1 +PLIST_SUB+= DISTVERSION=${DISTVERSION} +MCEXECS= mcstas mcformat + post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/mcformat - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/mcstas +.for e in ${MCEXECS} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e} + ${LN} -s ${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e} +.endfor .include Modified: head/science/mcstas/distinfo ============================================================================== --- head/science/mcstas/distinfo Tue Dec 5 17:06:48 2017 (r455593) +++ head/science/mcstas/distinfo Tue Dec 5 17:32:37 2017 (r455594) @@ -1,2 +1,3 @@ +TIMESTAMP = 1511649139 SHA256 (mcstas-2.2a-src.tar.gz) = 7f8cca7ceea87e4b99c17ee16e4f1e6fd89712d2de1ba61ab97a2cd7ea0f8b9d SIZE (mcstas-2.2a-src.tar.gz) = 347943 Modified: head/science/mcstas/pkg-plist ============================================================================== --- head/science/mcstas/pkg-plist Tue Dec 5 17:06:48 2017 (r455593) +++ head/science/mcstas/pkg-plist Tue Dec 5 17:32:37 2017 (r455594) @@ -1,60 +1,62 @@ -mcstas/%%PORTVERSION%%/LGPL -mcstas/%%PORTVERSION%%/LICENSE.LIB -mcstas/%%PORTVERSION%%/NOMENCLATURE -mcstas/%%PORTVERSION%%/README -mcstas/%%PORTVERSION%%/bin/mcformat -mcstas/%%PORTVERSION%%/bin/mcstas -mcstas/%%PORTVERSION%%/data/Al.nxs -mcstas/%%PORTVERSION%%/data/Cu.nxs -mcstas/%%PORTVERSION%%/doc/man/man1/mcformat-%%PORTVERSION%%.1 -mcstas/%%PORTVERSION%%/doc/man/man1/mcstas-%%PORTVERSION%%.1 -mcstas/%%PORTVERSION%%/environment -mcstas/%%PORTVERSION%%/module -mcstas/%%PORTVERSION%%/share/adapt_tree-lib.c -mcstas/%%PORTVERSION%%/share/adapt_tree-lib.h -mcstas/%%PORTVERSION%%/share/general.c -mcstas/%%PORTVERSION%%/share/general.h -mcstas/%%PORTVERSION%%/share/interoff-lib.c -mcstas/%%PORTVERSION%%/share/interoff-lib.h -mcstas/%%PORTVERSION%%/share/interpolation/array-utils.c -mcstas/%%PORTVERSION%%/share/interpolation/array-utils.h -mcstas/%%PORTVERSION%%/share/interpolation/natural/README -mcstas/%%PORTVERSION%%/share/interpolation/natural/delaunay.c -mcstas/%%PORTVERSION%%/share/interpolation/natural/delaunay.h -mcstas/%%PORTVERSION%%/share/interpolation/natural/example.c -mcstas/%%PORTVERSION%%/share/interpolation/natural/natural.c -mcstas/%%PORTVERSION%%/share/interpolation/natural/natural.h -mcstas/%%PORTVERSION%%/share/interpolation/natural/predicates.c -mcstas/%%PORTVERSION%%/share/interpolation/natural/utils-extra.c -mcstas/%%PORTVERSION%%/share/interpolation/natural/utils-extra.h -mcstas/%%PORTVERSION%%/share/interpolation/natural/vertex.h -mcstas/%%PORTVERSION%%/share/interpolation/nearest/README -mcstas/%%PORTVERSION%%/share/interpolation/nearest/example.c -mcstas/%%PORTVERSION%%/share/interpolation/nearest/kdtree.c -mcstas/%%PORTVERSION%%/share/interpolation/nearest/kdtree.h -mcstas/%%PORTVERSION%%/share/interpolation/nearest/vertex.h -mcstas/%%PORTVERSION%%/share/interpolation/resample.c -mcstas/%%PORTVERSION%%/share/interpolation/resample.h -mcstas/%%PORTVERSION%%/share/intersection.c -mcstas/%%PORTVERSION%%/share/intersection.h -mcstas/%%PORTVERSION%%/share/mccode-r.c -mcstas/%%PORTVERSION%%/share/mccode-r.h -mcstas/%%PORTVERSION%%/share/mcstas-r.c -mcstas/%%PORTVERSION%%/share/mcstas-r.h -mcstas/%%PORTVERSION%%/share/nxslib/README.TXT -mcstas/%%PORTVERSION%%/share/nxslib/nxs.c -mcstas/%%PORTVERSION%%/share/nxslib/nxs.h -mcstas/%%PORTVERSION%%/share/nxslib/sgclib.c -mcstas/%%PORTVERSION%%/share/nxslib/sgfind.c -mcstas/%%PORTVERSION%%/share/nxslib/sghkl.c -mcstas/%%PORTVERSION%%/share/nxslib/sginfo.h -mcstas/%%PORTVERSION%%/share/nxslib/sgio.c -mcstas/%%PORTVERSION%%/share/nxslib/sgsi.c -mcstas/%%PORTVERSION%%/share/pol-lib.c -mcstas/%%PORTVERSION%%/share/pol-lib.h -mcstas/%%PORTVERSION%%/share/read_table-lib.c -mcstas/%%PORTVERSION%%/share/read_table-lib.h -mcstas/%%PORTVERSION%%/share/ref-lib.c -mcstas/%%PORTVERSION%%/share/ref-lib.h -mcstas/%%PORTVERSION%%/share/vitess-lib.c -mcstas/%%PORTVERSION%%/share/vitess-lib.h +mcstas/%%DISTVERSION%%/LGPL +mcstas/%%DISTVERSION%%/LICENSE.LIB +mcstas/%%DISTVERSION%%/NOMENCLATURE +mcstas/%%DISTVERSION%%/README +mcstas/%%DISTVERSION%%/bin/mcformat +mcstas/%%DISTVERSION%%/bin/mcstas +mcstas/%%DISTVERSION%%/data/Al.nxs +mcstas/%%DISTVERSION%%/data/Cu.nxs +mcstas/%%DISTVERSION%%/doc/man/man1/mcformat-%%DISTVERSION%%.1.gz +mcstas/%%DISTVERSION%%/doc/man/man1/mcstas-%%DISTVERSION%%.1.gz +mcstas/%%DISTVERSION%%/environment +mcstas/%%DISTVERSION%%/module +mcstas/%%DISTVERSION%%/share/adapt_tree-lib.c +mcstas/%%DISTVERSION%%/share/adapt_tree-lib.h +mcstas/%%DISTVERSION%%/share/general.c +mcstas/%%DISTVERSION%%/share/general.h +mcstas/%%DISTVERSION%%/share/interoff-lib.c +mcstas/%%DISTVERSION%%/share/interoff-lib.h +mcstas/%%DISTVERSION%%/share/interpolation/array-utils.c +mcstas/%%DISTVERSION%%/share/interpolation/array-utils.h +mcstas/%%DISTVERSION%%/share/interpolation/natural/README +mcstas/%%DISTVERSION%%/share/interpolation/natural/delaunay.c +mcstas/%%DISTVERSION%%/share/interpolation/natural/delaunay.h +mcstas/%%DISTVERSION%%/share/interpolation/natural/example.c +mcstas/%%DISTVERSION%%/share/interpolation/natural/natural.c +mcstas/%%DISTVERSION%%/share/interpolation/natural/natural.h +mcstas/%%DISTVERSION%%/share/interpolation/natural/predicates.c +mcstas/%%DISTVERSION%%/share/interpolation/natural/utils-extra.c +mcstas/%%DISTVERSION%%/share/interpolation/natural/utils-extra.h +mcstas/%%DISTVERSION%%/share/interpolation/natural/vertex.h +mcstas/%%DISTVERSION%%/share/interpolation/nearest/README +mcstas/%%DISTVERSION%%/share/interpolation/nearest/example.c +mcstas/%%DISTVERSION%%/share/interpolation/nearest/kdtree.c +mcstas/%%DISTVERSION%%/share/interpolation/nearest/kdtree.h +mcstas/%%DISTVERSION%%/share/interpolation/nearest/vertex.h +mcstas/%%DISTVERSION%%/share/interpolation/resample.c +mcstas/%%DISTVERSION%%/share/interpolation/resample.h +mcstas/%%DISTVERSION%%/share/intersection.c +mcstas/%%DISTVERSION%%/share/intersection.h +mcstas/%%DISTVERSION%%/share/mccode-r.c +mcstas/%%DISTVERSION%%/share/mccode-r.h +mcstas/%%DISTVERSION%%/share/mcstas-r.c +mcstas/%%DISTVERSION%%/share/mcstas-r.h +mcstas/%%DISTVERSION%%/share/nxslib/README.TXT +mcstas/%%DISTVERSION%%/share/nxslib/nxs.c +mcstas/%%DISTVERSION%%/share/nxslib/nxs.h +mcstas/%%DISTVERSION%%/share/nxslib/sgclib.c +mcstas/%%DISTVERSION%%/share/nxslib/sgfind.c +mcstas/%%DISTVERSION%%/share/nxslib/sghkl.c +mcstas/%%DISTVERSION%%/share/nxslib/sginfo.h +mcstas/%%DISTVERSION%%/share/nxslib/sgio.c +mcstas/%%DISTVERSION%%/share/nxslib/sgsi.c +mcstas/%%DISTVERSION%%/share/pol-lib.c +mcstas/%%DISTVERSION%%/share/pol-lib.h +mcstas/%%DISTVERSION%%/share/read_table-lib.c +mcstas/%%DISTVERSION%%/share/read_table-lib.h +mcstas/%%DISTVERSION%%/share/ref-lib.c +mcstas/%%DISTVERSION%%/share/ref-lib.h +mcstas/%%DISTVERSION%%/share/vitess-lib.c +mcstas/%%DISTVERSION%%/share/vitess-lib.h +bin/mcstas +bin/mcformat