svn commit: r479320 - in head: . net/charm

Mathieu Arnold mat at FreeBSD.org
Mon Sep 10 06:39:29 UTC 2018


On Sun, Sep 09, 2018 at 05:03:56PM +0000, Yuri Victorovich wrote:
> +RESTRICTED=	No commercial use: commercial use requires a commercial license
> +

You already have a LICENSE block, and if the LICENSE block does the
right thing this is not superfluous.

>  USES=		fortran gmake localbase:ldflags shebangfix tar
>  SHEBANG_GLOB=	*.sh
>  SHEBANG_FILES=	src/scripts/*
>  USE_LDCONFIG=	yes
>  
> -GIT_URL=	https://charm.cs.illinois.edu/gerrit/charm.git
> -
>  ARCH_STR=	linux${ARCH:S/amd64/64/:S/i386/32/}
>  
>  INSTALL_WRKSRC=	${WRKSRC}/${VERSION}-${ARCH_STR}-gfortran-clang/tmp
> @@ -49,20 +49,15 @@ MPI_VARS=		VERSION=mpi
>  MPI_LDFLAGS=		-lmpich
>  MPI_LIB_DEPENDS=	libmpich.so:net/mpich2
>  
> -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>
>  
> +.if !exists(${DISTDIR}/NAMD_2.12_Source.tar.gz)
> +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
> +.else
>  do-fetch:
> -	@if ! [ -f "${DISTDIR}/NAMD_2.12_Source.tar.gz" ]; then \
> -	  ${ECHO} "(!!)"; \
> -	  ${ECHO} "(!!) Please download the release tarball of the version 2.12 of NAMD (NAMD_2.12_Source.tar.gz)"; \
> -	  ${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
>  	@${MKDIR} ${DISTDIR}/${DIST_SUBDIR}
>  	@cd ${DISTDIR}/${DIST_SUBDIR} && ${TAR} xf ${DISTDIR}/NAMD_2.12_Source.tar.gz --strip-components 1 NAMD_2.12_Source/charm-${DISTVERSION}.tar
> +.endif

This looks like it should be pre-extract, not do-fetch.

>  post-patch:
>  	@${REINPLACE_CMD} 's|which gfortran |which gfortran${GCC_DEFAULT} |' ${WRKSRC}/src/arch/common/conv-mach-gfortran.sh
> @@ -84,4 +79,4 @@ post-install:
>  .endfor
>  	@cd ${STAGEDIR} && ${MV} lib_so/* ./${PREFIX}/lib && ${RMDIR} lib_so
>  
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>
> 
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180910/9e9f1a23/attachment.sig>


More information about the svn-ports-head mailing list