Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2018 17:06:49 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479321 - in head: . science/namd
Message-ID:  <201809091706.w89H6nwD018956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
 
-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 <bsd.port.mk>
+.include <bsd.port.post.mk>



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