New port: devel/redo

Daniel J. Bernstein's redo idea is a system for building target
files from source files.  Its purpose is to provide a build system
for software packages that does incremental builds, i.e. if the
package is built and then some of its source files are changed, the
build system will only rerun that part of the build procedure that
is necessary to rebuild the changed parts of the package.

This is the redo implementation by Jonathan de Boyne Pollard written
in C++.  It comprises:

- redo - the main utility for rebuilding
- redo-ifchange - a secondary utility for rebuilding targets if
  existing sources change
- redo-ifcreate - a secondary utility for rebuilding targets if
  non-existent sources manifest
- cubehash - a utility program that generates hashes of file contents
  using the same parameterization of Bernstein CubeHash as is used
  by the redo tools to check for changes to source and target files

WWW: https://jdebp.eu/Softwares/redo/
This commit is contained in:
Tobias Kortkamp 2019-01-17 17:48:19 +00:00
parent 462d6e7219
commit 5b89fd88d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490581
5 changed files with 70 additions and 0 deletions

View file

@ -5406,6 +5406,7 @@
SUBDIR += readline
SUBDIR += rebar
SUBDIR += rebar3
SUBDIR += redo
SUBDIR += regexx
SUBDIR += regexxer
SUBDIR += relx

38
devel/redo/Makefile Normal file
View file

@ -0,0 +1,38 @@
# $FreeBSD$
PORTNAME= redo
PORTVERSION= 1.4
CATEGORIES= devel
MASTER_SITES= https://jdebp.eu/Repository/freebsd/
MAINTAINER= tobik@FreeBSD.org
COMMENT= Incremental build system
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/source/COPYING
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
MANPAGES_USES= perl5
MANPAGES_USE= PERL5=build
MANPAGES_BINARY_ALIAS_OFF= pod2man=true
do-configure:
cd ${WRKSRC} && ./package/prepare
${ECHO_CMD} "${CXX}" > ${WRKSRC}/build/cxx
${ECHO_CMD} "${CPPFLAGS}" > ${WRKSRC}/build/cppflags
${ECHO_CMD} "${CXXFLAGS}" > ${WRKSRC}/build/cxxflags
${ECHO_CMD} "${LDFLAGS}" > ${WRKSRC}/build/ldflags
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./package/make
do-install:
cd ${WRKSRC} && ./package/makeinstall
cd ${WRKSRC} && ./package/export "${STAGEDIR}${PREFIX}/"
.include <bsd.port.mk>

3
devel/redo/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1547744206
SHA256 (redo-1.4.tar.gz) = 5b9289f1228eee2f22ab96f7dd4f9b43e3a6d24f75c1f9d1e18eec7360c90fb1
SIZE (redo-1.4.tar.gz) = 21514

20
devel/redo/pkg-descr Normal file
View file

@ -0,0 +1,20 @@
Daniel J. Bernstein's redo idea is a system for building target
files from source files. Its purpose is to provide a build system
for software packages that does incremental builds, i.e. if the
package is built and then some of its source files are changed, the
build system will only rerun that part of the build procedure that
is necessary to rebuild the changed parts of the package.
This is the redo implementation by Jonathan de Boyne Pollard written
in C++. It comprises:
- redo - the main utility for rebuilding
- redo-ifchange - a secondary utility for rebuilding targets if
existing sources change
- redo-ifcreate - a secondary utility for rebuilding targets if
non-existent sources manifest
- cubehash - a utility program that generates hashes of file contents
using the same parameterization of Bernstein CubeHash as is used
by the redo tools to check for changes to source and target files
WWW: https://jdebp.eu/Softwares/redo/

8
devel/redo/pkg-plist Normal file
View file

@ -0,0 +1,8 @@
bin/cubehash
bin/redo
bin/redo-ifchange
bin/redo-ifcreate
%%MANPAGES%%man/man1/cubehash.1.gz
%%MANPAGES%%man/man1/redo-ifchange.1.gz
%%MANPAGES%%man/man1/redo-ifcreate.1.gz
%%MANPAGES%%man/man1/redo.1.gz