1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/libredblack/Makefile
Rodrigo Osorio 877dce2447 Update maintainer email address
Approved by:	bapt@ (co-mentor)
2014-01-29 09:17:41 +00:00

38 lines
768 B
Makefile

# Created by: smace@FreeBSD.org
# $FreeBSD$
PORTNAME= libredblack
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= rodrigo@FreeBSD.org
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
CONFIGURE_ARGS+= --with-python=${PYTHON_CMD}
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>