Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2018 16:42:27 +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: r478967 - head/science/atom
Message-ID:  <201809041642.w84GgRql093264@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Sep  4 16:42:27 2018
New Revision: 478967
URL: https://svnweb.freebsd.org/changeset/ports/478967

Log:
  science/atom: Corrections
  
  Port changes:
  * Add PKGNAMESUFFIX (there's another port with the name 'atom')
  * Add DIST_SUBDIR (same reason)
  * Remove duplication from LICENSE_PERMS
  * Remove NO_PACKAGE (it is handled by license framework)
  
  Reported by:	mat (NO_PACKAGE removal)

Modified:
  head/science/atom/Makefile
  head/science/atom/distinfo

Modified: head/science/atom/Makefile
==============================================================================
--- head/science/atom/Makefile	Tue Sep  4 15:05:19 2018	(r478966)
+++ head/science/atom/Makefile	Tue Sep  4 16:42:27 2018	(r478967)
@@ -2,10 +2,13 @@
 
 PORTNAME=	atom
 DISTVERSION=	4.2.7-100
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://departments.icmab.es/leem/siesta/Pseudopotentials/Code/ \
 		https://departments.icmab.es/leem/siesta/Pseudopotentials/:lic
+PKGNAMESUFFIX=	-chemistry
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} atom_licence.html:lic
+DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,8 +16,8 @@ COMMENT=	Program for DFT calculations in atoms
 
 LICENSE=	ATOM_LICENSE
 LICENSE_NAME=	ATOM ACADEMIC LICENCE
-LICENSE_FILE=	${DISTDIR}/atom_licence.html
-LICENSE_PERMS=	no-dist-mirror no-pkg-mirror no-pkg-mirror no-pkg-sell no-auto-accept
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/atom_licence.html
+LICENSE_PERMS=	no-dist-mirror no-pkg-mirror no-pkg-sell no-auto-accept
 
 LIB_DEPENDS=	libGridXC.so:science/libgridxc \
 		libxc.so:science/libxc \
@@ -27,8 +30,6 @@ MAKE_ARGS=	FC=gfortran${GCC_DEFAULT} LDFLAGS="${LDFLAG
 ALL_TARGET=	default
 
 PLIST_FILES=	bin/atm
-
-NO_PACKAGE=	Redistribution in any form is prohibited
 
 post-patch:
 	@${CP} ${WRKSRC}/arch.make.sample ${WRKSRC}/arch.make

Modified: head/science/atom/distinfo
==============================================================================
--- head/science/atom/distinfo	Tue Sep  4 15:05:19 2018	(r478966)
+++ head/science/atom/distinfo	Tue Sep  4 16:42:27 2018	(r478967)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1536071684
-SHA256 (atom-4.2.7-100.tgz) = 266a4119e64ca398444df7bc2f5004513891f2189cba33595a1742c64f8f3edc
-SIZE (atom-4.2.7-100.tgz) = 260386
-SHA256 (atom_licence.html) = 93cc2ed5498d47c5439fcf45ea1501e4e0cadb8197aefc6235ecedd36c849d93
-SIZE (atom_licence.html) = 5673
+TIMESTAMP = 1536079047
+SHA256 (atom-chemistry/atom-4.2.7-100.tgz) = 266a4119e64ca398444df7bc2f5004513891f2189cba33595a1742c64f8f3edc
+SIZE (atom-chemistry/atom-4.2.7-100.tgz) = 260386
+SHA256 (atom-chemistry/atom_licence.html) = 93cc2ed5498d47c5439fcf45ea1501e4e0cadb8197aefc6235ecedd36c849d93
+SIZE (atom-chemistry/atom_licence.html) = 5673



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