f8f56b6c6b
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++.
33 lines
868 B
Makefile
33 lines
868 B
Makefile
# $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"
|