summaryrefslogtreecommitdiff
path: root/math/djbsort/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2021-02-18 10:08:31 +0000
committerschmonz <schmonz@pkgsrc.org>2021-02-18 10:08:31 +0000
commitd7f2e077804544519e31b74a106428d89748f237 (patch)
treed83be8653f138e77a219bb90d83dc9af3620afd9 /math/djbsort/Makefile
parentf7f7520f10f426a697a87e90c0108f5a2340fc2c (diff)
downloadpkgsrc-d7f2e077804544519e31b74a106428d89748f237.tar.gz
Update to 20190516. From the changelog:
Benchmarking: - Speed tests now call cpucycles() before setting resource limits. This is important on platforms where cpucycles() needs to read files. Verification: - Support for SignExt and several more peephole optimizations, working towards support for simpler symbolic-execution backend. Various updates to work with angr8 and python3.
Diffstat (limited to 'math/djbsort/Makefile')
-rw-r--r--math/djbsort/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/math/djbsort/Makefile b/math/djbsort/Makefile
index c4623449b97..02394776d4b 100644
--- a/math/djbsort/Makefile
+++ b/math/djbsort/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/12/04 20:45:29 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/02/18 10:08:31 schmonz Exp $
-DISTNAME= djbsort-20180729
-PKGREVISION= 3
+DISTNAME= djbsort-20190516
CATEGORIES= math
MASTER_SITES= ${HOMEPAGE}
@@ -10,18 +9,12 @@ HOMEPAGE= https://sorting.cr.yp.to/
COMMENT= Library for sorting arrays of integers
LICENSE= public-domain
-DEPENDS+= python27-[0-9]*:../../lang/python27
-
USE_TOOLS+= pax
-REPLACE_INTERPRETER+= python27
-REPLACE.python27.old= .*python2\{0,1\}[^ ]*
-REPLACE.python27.new= ${LOCALBASE}/bin/python2.7
-REPLACE_FILES.python27= verif/decompose verif/minmax verif/unroll
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # so a python3 will be auto-selected
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-REPLACE_PYTHON= build test upgrade verif/tryinput
+REPLACE_PYTHON= build test upgrade verif/decompose \
+ verif/minmax verif/tryinput verif/unroll
SUBST_CLASSES+= python3
SUBST_STAGE.python3= do-configure
SUBST_FILES.python3= verif/verifymany
@@ -43,12 +36,12 @@ pre-configure:
do-build:
cd ${WRKSRC} && ./build
-pre-install:
+post-build:
${CP} pseudo-PLIST ${WRKSRC}
cd ${WRKSRC} && ${FIND} . -type f | ${SORT} | ${SED} -e 's|^\.|${SHAREDIR}|g' > ${WRKDIR}/PLIST_DYNAMIC
do-install:
- cd ${WRKSRC} && pax -rw -pe -v . ${DESTDIR}${PREFIX}/${SHAREDIR}
+ cd ${WRKSRC} && pax -rw -pp -v . ${DESTDIR}${PREFIX}/${SHAREDIR}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"