blob: f5427e4f82f3a511fa6a97952f6ed5c2b78554fa (
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
37
38
39
|
# New ports collection makefile for: libredblack
# Date created: 15 April 2002
# Whom: smace@freebsd.org
#
# $FreeBSD$
#
PORTNAME= libredblack
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Library that provides the red-black balanced tree algorithm
USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= rbgen.1
MAN3= rbcloselist.3 rbdelete.3 rbdestroy.3 rbfind.3 rbinit.3 \
rblookup.3 rbopenlist.3 rbreadlist.3 rbsearch.3 rbwalk.3
.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
.include <bsd.port.mk>
|