Skip to content
Permalink
Browse files

Initial import of Jonathan de Boyne Pollard's redo implementation.

Daniel J. Bernstein's redo idea is a system for incrementally building
target files from source files. This is the redo implementation by
Jonathan de Boyne Pollard written in C++.
  • Loading branch information...
schmonz committed Jul 20, 2019
1 parent 1c92036 commit 376edae175a2a99bcd5f8e6e831288b342d762f1
@@ -0,0 +1,3 @@
Daniel J. Bernstein's redo idea is a system for incrementally building
target files from source files. This is the redo implementation by
Jonathan de Boyne Pollard written in C++.
@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1 2019/07/20 21:18:59 schmonz Exp $

DISTNAME= redo-1.4
PKGNAME= jdebp-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= https://jdebp.eu/Repository/freebsd/

MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://jdebp.eu/Softwares/redo/
COMMENT= C++ implementation of DJB's redo build tool
LICENSE= isc OR 2-clause-bsd

CONFLICTS+= apenwarr-redo-[0-9]*

WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
USE_TOOLS+= pod2man

do-configure:
cd ${WRKSRC} && ./package/prepare
${ECHO} ${CXX:Q} > ${WRKSRC}/build/cxx
${ECHO} ${CPPFLAGS:Q} > ${WRKSRC}/build/cppflags
${ECHO} ${CXXFLAGS:Q} > ${WRKSRC}/build/cxxflags
${ECHO} ${LDFLAGS:Q} > ${WRKSRC}/build/ldflags

do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./package/make

do-install:
cd ${WRKSRC} && ./package/makeinstall
cd ${WRKSRC} && ./package/export ${DESTDIR}${PREFIX}/

.include "../../mk/bsd.pkg.mk"
@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2019/07/20 21:18:59 schmonz Exp $
bin/cubehash
bin/redo
bin/redo-ifchange
bin/redo-ifcreate
man/man1/cubehash.1
man/man1/redo-ifchange.1
man/man1/redo-ifcreate.1
man/man1/redo.1
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2019/07/20 21:18:59 schmonz Exp $

SHA1 (redo-1.4.tar.gz) = 3dc3d19e4b253478bd75c392fe988717f5f5fbaf
RMD160 (redo-1.4.tar.gz) = 15a6a91a084a13a0c7eecafdb19f061562ea920c
SHA512 (redo-1.4.tar.gz) = c90c75acc53cb478edefb6fa5d6e76807239f94837416cbf814e0d08c4b30bcf5a9edb7b9065358e30395619ad5deb749790819eb8ed45719facbe680e150d63
Size (redo-1.4.tar.gz) = 21514 bytes
SHA1 (patch-package_prepare) = 9dc0295ab3fe6830d920c49beeb9caae6bca0eab
@@ -0,0 +1,15 @@
$NetBSD: patch-package_prepare,v 1.1 2019/07/20 21:18:59 schmonz Exp $

Avoid spurious output during configure.

--- package/prepare.orig 2013-07-24 18:27:53.000000000 +0000
+++ package/prepare
@@ -6,6 +6,8 @@ then
exit 100
fi

+unset CDPATH
+
# Create and populate the build directory.
if [ \! -d build ]
then

0 comments on commit 376edae

Please sign in to comment.
You can’t perform that action at this time.