blob: 3121fa03fe0444e7f81a77ebbc254ddd6e1d9623 (
plain)
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
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= lockfree-malloc
PORTVERSION= 0.0.${DATE}
PORTREVISION= 9
CATEGORIES= devel
MASTER_SITES= LOCAL/vg
MAINTAINER= ports@FreeBSD.org
COMMENT= Scalable drop-in replacement for malloc/free
LICENSE= LGPL3
DATE= 20120802
ONLY_FOR_ARCHS= amd64
USE_LDCONFIG= yes
USES= tar:bzip2
USE_GCC= yes
OPTIONS_DEFINE= DOCS
DOCS_DESC= Install README
PLIST_FILES= lib/liblite-malloc-shared.so \
lib/liblite-malloc-static.a
MAKE_ARGS+= CXX=${CXX}
DOCS_PLIST_FILES= share/doc/${PORTNAME}/README
do-install:
.for i in shared.so static.a
${INSTALL_LIB} ${WRKSRC}/liblite-malloc-${i} ${STAGEDIR}${PREFIX}/lib/liblite-malloc-${i}
.endfor
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|