# Created by: Sergey A. Osokin # $FreeBSD: head/devel/libhoard/Makefile 413746 2016-04-21 16:43:14Z swills $ PORTNAME= libhoard PORTVERSION= 3.10 CATEGORIES= devel MASTER_SITES= https://github.com/emeryberger/Hoard/releases/download/${PORTVERSION}/ DISTNAME= Hoard-${PORTVERSION}-source MAINTAINER= uffe@uffe.org COMMENT= Fast, scalable, and memory-efficient allocator for MP LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/../COPYING BROKEN_powerpc64= Does not build BROKEN_mips= no spin lock implementation is available for this platform BROKEN_mips64= no spin lock implementation is available for this platform USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/Hoard/src ALL_TARGET= freebsd PLIST_FILES= lib/libhoard.so lib/libhoard.so.1 post-patch: ${REINPLACE_CMD} 's!g++!${CXX}!; s!-O2!${CFLAGS}!' ${WRKSRC}/Makefile do-install: ${STRIP_CMD} ${WRKSRC}/libhoard.so ${INSTALL_DATA} ${WRKSRC}/libhoard.so ${STAGEDIR}${PREFIX}/lib/libhoard.so.1 ${LN} -sf libhoard.so.1 ${STAGEDIR}${PREFIX}/lib/libhoard.so .include