39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
PORTNAME= creduce
|
|
DISTVERSION= 2.11.0.llvm13.g20220117
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= fuz@FreeBSD.org
|
|
COMMENT= Produces small test cases
|
|
WWW= https://github.com/csmith-project/creduce
|
|
|
|
LICENSE= NCSA
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
|
|
LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
RUN_DEPENDS= topformflat:devel/delta \
|
|
p5-Benchmark-Timer>=0:devel/p5-Benchmark-Timer \
|
|
p5-Exporter-Lite>=0:devel/p5-Exporter-Lite \
|
|
p5-File-Which>=0:sysutils/p5-File-Which \
|
|
p5-Regexp-Common>=0:textproc/p5-Regexp-Common \
|
|
p5-Sys-CPU>=0:devel/p5-Sys-CPU \
|
|
p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular \
|
|
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
|
|
|
|
USES= cmake gnome compiler:c++14-lang llvm:13,build,lib,run perl5
|
|
|
|
USE_CXXSTD= c++14
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= csmith-project
|
|
GH_TAGNAME= 4ae77d1e101135a6aea310b30c19e2af968b7bf6
|
|
USE_GNOME= libxml2
|
|
|
|
# See clang_delta/CMakeLists.txt for more details
|
|
LDFLAGS+= -lLLVM-${LLVM_VERSION} -L${LLVM_PREFIX}/lib
|
|
|
|
CMAKE_OFF= ENABLE_TRANS_ASSERT
|
|
CMAKE_ARGS= -DLLVM_DIR=${LLVM_PREFIX}/lib/cmake/llvm \
|
|
-DClang_DIR=${LLVM_PREFIX}/lib/cmake/clang
|
|
|
|
.include <bsd.port.mk>
|