2005-12-24 17:19:24 +01:00
|
|
|
# New ports collection makefile for: llvm
|
|
|
|
# Date created: 20 Nov 2005
|
|
|
|
# Whom: Hye-Shik Chang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= llvm
|
2006-05-16 07:33:50 +02:00
|
|
|
PORTVERSION= 1.7
|
2005-12-24 17:19:24 +01:00
|
|
|
CATEGORIES= devel lang
|
2006-05-16 07:33:50 +02:00
|
|
|
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
|
2005-12-24 17:19:24 +01:00
|
|
|
|
|
|
|
MAINTAINER= perky@FreeBSD.org
|
|
|
|
COMMENT= Low Level Virtual Machine
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2006-01-30 04:41:38 +01:00
|
|
|
USE_BISON= yes
|
2005-12-24 17:19:24 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= ENABLE_OPTIMIZED=1 # strips binaries
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/llvm
|
|
|
|
|
|
|
|
MAN1= analyze.1 bugpoint.1 gccas.1 gccld.1 llc.1 lli.1 llvm-ar.1 \
|
2006-05-16 07:33:50 +02:00
|
|
|
llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \
|
|
|
|
llvm-dis.1 llvm-extract.1 llvm-ld.1 llvm-link.1 llvm-nm.1 \
|
|
|
|
llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 llvmgxx.1 \
|
|
|
|
opt.1 stkrc.1
|
2005-12-24 17:19:24 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,\(OPTIONAL_DIRS.*\)examples,\1,g' \
|
|
|
|
${WRKSRC}/Makefile
|
2005-12-24 17:45:20 +01:00
|
|
|
${REINPLACE_CMD} -e 's,\(PROJ_docsdir.*:=\).*$$,\1${DOCSDIR},g' \
|
|
|
|
${WRKSRC}/Makefile.config.in
|
2005-12-24 17:19:24 +01:00
|
|
|
${RM} -rf ${WRKSRC}/projects/sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|