freebsd-ports/devel/libhoard/Makefile
Bartek Rutkowski 3855c5164b devel/libhoard: update 3.8 -> 3.10
- Assign maintainership to uffe@uffe.org
- Add stage support

PR:		192877
Submitted by:	Uffe Jakobsen <uffe@uffe.org>
Reviewed by:	marino (mentor)
Approved by:	mentors (implicit)
2014-08-28 18:32:53 +00:00

30 lines
760 B
Makefile

# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
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
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 <bsd.port.mk>