opnsense-ports/math/intervaltree/Makefile
Franco Fichtner f9e56f0833 */*: sync with upstream
Taken from: HardenedBSD
2018-04-16 19:20:41 +02:00

27 lines
561 B
Makefile

# $FreeBSD$
PORTNAME= intervaltree
DISTVERSION= g20151213
CATEGORIES= math
MAINTAINER= jwb@FreeBSD.org
COMMENT= Minimal C++ interval tree implementation
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= ekg
GH_TAGNAME= 8fc4be91866237995e1105689d84bece619f4663
INSTALL_TARGET= install-strip
PLIST_FILES= bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
post-patch:
${REINPLACE_CMD} -e 's|<bool, unsigned long>|<bool, unsigned int>|g' \
${WRKSRC}/interval_tree_test.cpp
.endif
.include <bsd.port.post.mk>