mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
52585fa661
The ClamAV bytecode compiler allows users to build their own bytecode signatures for use with ClamAV. WWW: https://www.clamav.net/
40 lines
991 B
Makefile
40 lines
991 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clambc
|
|
DISTVERSION= 0.98.5rc1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= clamav/${PORTNAME:tl}
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Bytecode signature compiler for ClamAV
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake libtool perl5
|
|
ALL_TARGET= clambc-only
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= any
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= build
|
|
CONFIGURE_SCRIPT=../llvm/configure
|
|
CONFIGURE_ARGS= --enable-optimized --enable-targets=host-only \
|
|
--disable-bindings --enable-bindings=none
|
|
|
|
WRKSRC= ${WRKDIR}/clamav-bytecode-compiler-${DISTNAME}/obj
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/include/
|
|
@${RM} ${WRKSRC}/../clang/lib/Headers/CMakeLists.txt \
|
|
${WRKSRC}/../clang/lib/Headers/Makefile
|
|
(cd ${WRKSRC}/../clang/lib/Headers/ && ${COPYTREE_SHARE} . \
|
|
${STAGEDIR}${DATADIR}/include/)
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/clambc-compiler \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|