Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2019 05:20:14 +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: r491234 - head/science/cp2k
Message-ID:  <201901260520.x0Q5KEGK084037@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jan 26 05:20:14 2019
New Revision: 491234
URL: https://svnweb.freebsd.org/changeset/ports/491234

Log:
  science/cp2k: Add missing executables that should be installed

Modified:
  head/science/cp2k/Makefile

Modified: head/science/cp2k/Makefile
==============================================================================
--- head/science/cp2k/Makefile	Sat Jan 26 05:19:20 2019	(r491233)
+++ head/science/cp2k/Makefile	Sat Jan 26 05:20:14 2019	(r491234)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cp2k
 DISTVERSION=	6.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
 MASTER_SITES=	SF/${PORTNAME}/
 
@@ -54,8 +54,11 @@ OPENMP_MPI_VARS=	VERSION=psmp
 OPENMP_MPI_LIB_DEPENDS=	${MPI_LIB_DEPENDS}
 OPENMP_MPI_LDFLAGS=	${MPI_LDFLAGS}
 
-PLIST_FILES=		bin/${PORTNAME}
 
+EXECUTABLES=		cp2k graph cp2k_shell dbcsr_performance_driver
+
+PLIST_FILES=		${EXECUTABLES:C/(.*)/bin\/\1.${VERSION}/}
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENMP} || ${PORT_OPTIONS:MOPENMP_MPI}
@@ -74,6 +77,8 @@ pre-build:
 	@${MKDIR} ${BUILD_WRKSRC}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/exe/*/${PORTNAME}.* ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+.for e in ${EXECUTABLES}
+	${INSTALL_PROGRAM} ${WRKSRC}/exe/*/${e}.${VERSION} ${STAGEDIR}${PREFIX}/bin
+.endfor
 
 .include <bsd.port.mk>



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