60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
971 B
Makefile
38 lines
971 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clambc
|
|
DISTVERSION= 0.98.5rc1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/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>
|