Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 06:07:39 +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: r479362 - head/science/msms
Message-ID:  <201809100607.w8A67dxr020329@repo.freebsd.org>

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

Log:
  science/msms: Simplify

Modified:
  head/science/msms/Makefile

Modified: head/science/msms/Makefile
==============================================================================
--- head/science/msms/Makefile	Mon Sep 10 06:03:08 2018	(r479361)
+++ head/science/msms/Makefile	Mon Sep 10 06:07:38 2018	(r479362)
@@ -1,7 +1,6 @@
 # $FreeBSD$
 
 PORTNAME=	msms
-DISTVERSIONPREFIX=	v
 DISTVERSION=	2.6.1
 CATEGORIES=	science
 MASTER_SITES=	http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${DISTVERSION}/
@@ -12,7 +11,7 @@ COMMENT=	Program to efficiently compute molecular surf
 
 LICENSE=	MSMS_LICENSE
 LICENSE_NAME=	MSMS License
-LICENSE_FILE=	${WRKSRC}/license.txt
+LICENSE_FILE=	${WRKDIR}/license.txt
 LICENSE_PERMS=	no-auto-accept no-dist-mirror no-pkg-mirror # No redistribution is allowed.
 
 ONLY_FOR_ARCHS=		amd64 i386
@@ -20,7 +19,6 @@ ONLY_FOR_ARCHS_REASON=	Binaries available only for ${O
 
 RESTRICTED=	No commercial use, only for use by individuals
 
-NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
 ARCH_MSMS_DIST=	${ARCH:S/amd64/i86_64/:S/i386/i86/}
@@ -32,10 +30,10 @@ PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 
 post-extract:
-	@${AWK} -f ${FILESDIR}/extract-license.awk < ${WRKSRC}/README > ${LICENSE_FILE}
+	@${AWK} -f ${FILESDIR}/extract-license.awk < ${WRKDIR}/README > ${LICENSE_FILE}
 
 do-install:
-	${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
+	${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
 
 .include <bsd.port.mk>



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