summaryrefslogtreecommitdiffstats
path: root/devel/libarena/Makefile
blob: 5cfd55fa6e117f46be712deedf12997c8a2096bd (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	libarena
PORTVERSION=	0.3.7
CATEGORIES=	devel
MASTER_SITES=	http://www.25thandclement.com/~william/projects/releases/

MAINTAINER=	rodrigo@FreeBSD.org
COMMENT=	Custom Memory Allocator Interface

LICENSE=	MIT

USES=		gmake tar:tgz

PLIST_FILES=	include/arena/align.h \
		include/arena/arena.h \
		include/arena/pool.h \
		include/arena/proto.h \
		include/arena/rbits.h \
		include/arena/util.h \
		lib/libarena.a

post-patch:
.for i in Epilogue.mk Prologue.mk
	@${REINPLACE_CMD} -e \
		'/!=/s|^|#|' ${WRKSRC}/mk/${i}
.endfor
	@${REINPLACE_CMD} -e \
		'/^PREFIX/s|:=|?=|' ${WRKSRC}/mk/Variables.mk
	${CP} ${WRKSRC}/GNUmakefile ${WRKSRC}/Makefile

.include <bsd.port.mk>
OpenPOWER on IntegriCloud