Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 07:09:50 +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: r479370 - head/science/msms
Message-ID:  <201809100709.w8A79ofW051655@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Sep 10 07:09:49 2018
New Revision: 479370
URL: https://svnweb.freebsd.org/changeset/ports/479370

Log:
  science/msms: Add back NO_WRKSUBDIR
  
  Reported by:	mat

Modified:
  head/science/msms/Makefile

Modified: head/science/msms/Makefile
==============================================================================
--- head/science/msms/Makefile	Mon Sep 10 07:06:46 2018	(r479369)
+++ head/science/msms/Makefile	Mon Sep 10 07:09:49 2018	(r479370)
@@ -11,12 +11,13 @@ COMMENT=	Program to efficiently compute molecular surf
 
 LICENSE=	MSMS_LICENSE
 LICENSE_NAME=	MSMS License
-LICENSE_FILE=	${WRKDIR}/license.txt
+LICENSE_FILE=	${WRKSRC}/license.txt
 LICENSE_PERMS=	none # No redistribution is allowed, no commercial use, only for use by individuals
 
 ONLY_FOR_ARCHS=		amd64 i386
 ONLY_FOR_ARCHS_REASON=	Binaries available only for ${ONLY_FOR_ARCHS}.
 
+NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
 ARCH_MSMS_DIST=	${ARCH:S/amd64/i86_64/:S/i386/i86/}
@@ -28,10 +29,10 @@ PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 
 post-extract:
-	@${AWK} -f ${FILESDIR}/extract-license.awk < ${WRKDIR}/README > ${LICENSE_FILE}
+	@${AWK} -f ${FILESDIR}/extract-license.awk < ${WRKSRC}/README > ${LICENSE_FILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}.${ARCH_MSMS_FILE}Linux2.${DISTVERSION}${ARCH:S/amd64/.staticgcc/:S/i386//} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.${ARCH_MSMS_FILE}Linux2.${DISTVERSION}${ARCH:S/amd64/.staticgcc/:S/${ARCH}//} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>



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