blob: bf679be7e1a97c676a5c774cab1020757b35e495 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Created by: Bruce M. Simpson
# $FreeBSD$
PORTNAME= boost_build
PORTVERSION= 2.0.m12
PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= SF/boost/boost-build/2.0-m12
DISTNAME= ${PORTNAME:S/_/-/g}-${PORTVERSION:S/.m/-m/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible cross-platform build tool suite
LICENSE= BSL
RUN_DEPENDS= ${LOCALBASE}/bin/bjam:devel/boost-jam
USES= tar:bzip2
WRKSRC= ${WRKDIR}/${PORTNAME:S/_/-/g}
NO_BUILD= defined
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_FILES= share/doc/boost.png
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "build kernel options tools util" \
${STAGEDIR}${DATADIR} "! -name *.orig")
(cd ${WRKSRC} && ${INSTALL_DATA} boost-build.jam bootstrap.jam \
build-system.jam site-config.jam user-config.jam \
${STAGEDIR}${DATADIR})
${INSTALL_DATA} ${WRKSRC}/boost.png ${STAGEDIR}${PREFIX}/share/doc
(cd ${WRKSRC}/doc && ${RM} -r Jamfile.v2 project-root.jam \
html/userman_HTML.manifest src)
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|