mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
48 lines
940 B
Makefile
48 lines
940 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lockfree-malloc
|
|
PORTVERSION= 0.0.${DATE}
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= LOCAL/vg
|
|
|
|
MAINTAINER= vg@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
|
|
OPTIONS_DEFAULT=DOCS
|
|
DOCS_DESC= Install README
|
|
|
|
PLIST_FILES= lib/liblite-malloc-shared.so \
|
|
lib/liblite-malloc-static.a
|
|
|
|
MAKE_ARGS+= CXX=${CXX}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
PLIST_FILES+= share/doc/${PORTNAME}/README
|
|
.endif
|
|
|
|
do-install:
|
|
.for i in shared.so static.a
|
|
${INSTALL_LIB} ${WRKSRC}/liblite-malloc-${i} ${STAGEDIR}${PREFIX}/lib/liblite-malloc-${i}
|
|
.endfor
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|