blob: b4623bb1daeeeb98bba145a3b2d5bf55e651cf98 (
plain) (
blame)
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
|
# Created by: smace@FreeBSD.org
# $FreeBSD$
PORTNAME= libredblack
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= rodrigo@bebik.net
COMMENT= Library that provides the red-black balanced tree algorithm
LICENSE= GPLv2
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.if defined(WITHOUT_PYTHON)
CONFIGURE_ARGS+= --without-rbgen
PLIST_SUB+= PYTHON="@comment "
.else
USE_PYTHON= yes
PLIST_SUB+= PYTHON=""
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|implemented.*Various||g' ${WRKSRC}/rbgen.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libredblack.so
.include <bsd.port.mk>
|