From owner-svn-ports-all@freebsd.org Sun Sep 9 17:06:50 2018 Return-Path: Delivered-To: svn-ports-all@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 EAD1B1099792; Sun, 9 Sep 2018 17:06:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F3A97A368; Sun, 9 Sep 2018 17:06:49 +0000 (UTC) (envelope-from yuri@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 7C5D01C8AC; Sun, 9 Sep 2018 17:06:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w89H6n8A018957; Sun, 9 Sep 2018 17:06:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w89H6nwD018956; Sun, 9 Sep 2018 17:06:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809091706.w89H6nwD018956@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 9 Sep 2018 17:06:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479321 - in head: . science/namd X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head: . science/namd X-SVN-Commit-Revision: 479321 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.27 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: Sun, 09 Sep 2018 17:06:50 -0000 Author: yuri Date: Sun Sep 9 17:06:48 2018 New Revision: 479321 URL: https://svnweb.freebsd.org/changeset/ports/479321 Log: science/namd: Add IGNORE clause instead of the custom do-fetch clause for the licensing warning Also add RESTRICTED, and remove GIT_URL. Reported by: mat Modified: head/LEGAL head/science/namd/Makefile Modified: head/LEGAL ============================================================================== --- head/LEGAL Sun Sep 9 17:03:56 2018 (r479320) +++ head/LEGAL Sun Sep 9 17:06:48 2018 (r479321) @@ -240,3 +240,4 @@ rainloop-1.*.zip mail/rainloop Redistribution in any lha-114i.tar.gz archivers/lha Binary only redistribution is prohibited. Non-network redistribution such as CDROM requires prior notification to author. Commercial use whose main purpose is to provide the functions of this program is prohibited. atom-*.tgz science/atom Redistribution in any form is prohibited charm-uiuc* net/charm No commercial use: commercial use requires a commercial license +namd* science/namd No commercial use: commercial use requires a commercial license Modified: head/science/namd/Makefile ============================================================================== --- head/science/namd/Makefile Sun Sep 9 17:03:56 2018 (r479320) +++ head/science/namd/Makefile Sun Sep 9 17:06:48 2018 (r479321) @@ -22,11 +22,11 @@ BUILD_DEPENDS= bash:shells/bash \ LIB_DEPENDS= libck.so:net/charm \ libfftw3f.so:math/fftw3-float +RESTRICTED= No commercial use: commercial use requires a commercial license + USES= fortran gmake localbase:ldflags python:build shebangfix tcl SHEBANG_FILES= config -GIT_URL= https://charm.cs.illinois.edu/gerrit/namd.git - ARCH_STR= Linux-${ARCH:S/amd64/x86_64/:S/i386/x86/}-g++ ARCH_STR_CHARM= linux${ARCH:S/amd64/64/:S/i386/32/} @@ -44,18 +44,11 @@ PLIST_FILES= bin/flipbinpdb \ bin/psfgen \ bin/sortreplicas -local-makesum: # Workaround: the generic 'make makesum' is broken when custom do-fetch is defined: it calls ${SCRIPTSDIR}/do-fetch.sh. - @${MAKE} distclean fetch makesum +.include -do-fetch: - @if ! [ -f "${DISTDIR}/${DISTFILES}" ]; then \ - ${ECHO} "(!!)"; \ - ${ECHO} "(!!) Please download the release tarball of the version ${DISTVERSION} (${DISTFILES})"; \ - ${ECHO} "(!!) from https://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD,"; \ - ${ECHO} "(!!) put it into ${DISTDIR}, and run 'make' again."; \ - ${ECHO} "(!!)"; \ - ${FALSE}; \ - fi +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE= please download the release tarball of the version ${DISTVERSION} (${DISTFILES}) from https://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD, put it into ${DISTDIR}, and run 'make' again +.endif do-configure: @cd ${WRKSRC} && ${ECHO} "CHARMBASE=${LOCALBASE}" > Make.config @@ -75,4 +68,4 @@ do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${e} ${STAGEDIR}${PREFIX}/bin .endfor -.include +.include