pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/deepstate deepstate: correctly install the binaries



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b15fa635a34c
branches:  trunk
changeset: 439826:b15fa635a34c
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Sep 29 03:01:16 2020 +0000

description:
deepstate: correctly install the binaries

While there, appease pkglint a tad.

Bumps PKGREVISION.

diffstat:

 devel/deepstate/Makefile |  11 +++++++----
 devel/deepstate/PLIST    |   4 +++-
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r a1b9e626eb48 -r b15fa635a34c devel/deepstate/Makefile
--- a/devel/deepstate/Makefile  Tue Sep 29 02:56:45 2020 +0000
+++ b/devel/deepstate/Makefile  Tue Sep 29 03:01:16 2020 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/09/29 02:50:51 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/29 03:01:16 khorben Exp $
+
+PKGREVISION=   1
 
 USE_LANGUAGES= c99 c++
 USE_CMAKE=     yes
@@ -25,16 +27,17 @@
 
 PYTHON_VERSIONS_ACCEPTED=      37 36
 
+CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ${WRKSRC}
+
 CMAKE_ARGS+=   -DPYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
-CONFIGURE_DIRS=        ${WRKSRC}/build
 
 pre-configure:
-       ${MKDIR} ${CONFIGURE_DIRS}
+       cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
 
 post-install:
 .for binaryfile in futurize pasteurize
-       ${MV} ${FAKEHOMEDIR}/.local/bin/${binaryfile} ${DESTDIR}${PREFIX}/bin
+       ${MV} ${FAKEHOMEDIR}/.local/bin/${binaryfile} ${DESTDIR}${PREFIX}/bin/${binaryfile}
 .endfor
 
 .include "Makefile.common"
diff -r a1b9e626eb48 -r b15fa635a34c devel/deepstate/PLIST
--- a/devel/deepstate/PLIST     Tue Sep 29 02:56:45 2020 +0000
+++ b/devel/deepstate/PLIST     Tue Sep 29 03:01:16 2020 +0000
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2020/09/29 02:50:51 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/09/29 03:01:16 khorben Exp $
+bin/futurize
+bin/pasteurize
 include/deepstate/Compiler.h
 include/deepstate/DeepState.h
 include/deepstate/DeepState.hpp



Home | Main Index | Thread Index | Old Index