freebsd-ports/devel/redo/Makefile
Tobias Kortkamp 5b89fd88d6 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/
2019-01-17 17:48:19 +00:00

39 lines
863 B
Makefile

# $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>