mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
d8b7018aa8
- remove -march=native as per policy. - convert PORTVERSION to DISTVERSION - depend on LLVM using USES=llvm - ensure that the correct LLVM is linked against
28 lines
615 B
Makefile
28 lines
615 B
Makefile
PORTNAME= fccf
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.6.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Command-line tool that quickly searches through C/C++
|
|
WWW= https://github.com/p-ranav/fccf
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= argparse>0:devel/argparse
|
|
LIB_DEPENDS= libfmt.so:devel/libfmt
|
|
|
|
USES= cmake llvm:build,lib,run
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= p-ranav
|
|
|
|
CMAKE_ARGS= -DLLVM_DIR:STRING=${PREFIX}/llvm${LLVM_VERSION}/lib/cmake/llvm
|
|
CXXFLAGS+= -I${LOCALBASE}/include/argparse
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "s/llvm-config/${LLVM_CONFIG}/g" ${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|