pkgsrc-wip/intervaltree/Makefile

57 lines
1.5 KiB
Makefile

# $NetBSD$
#
###########################################################
# Generated by fbsd2pkg #
###########################################################
###########################################################
# Unconverted and partially converted FreeBSD port syntax:
# # Created by: Jason Bacon <bacon@NetBSD.org>
# # $FreeBSD$
# PLIST_FILES= bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
# # GH_TAGNAME= ${PORTVERSION}
# .include <bsd.port.pre.mk>
# # Needs c++0x
# .if ${OSVERSION} < 1000000
# USE_GCC= yes
# .endif
# # FIXME: Blind hack. Not sure why this is necessary.
# .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>
DISTNAME= intervaltree-${PORTVERSION}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=ekg/}
GITHUB_TAG= ${PORTVERSION}
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://github.com/ekg/intervaltree
COMMENT= Minimal C++ interval tree implementation
# Double-check this
LICENSE= mit
# Pessimistic assumption. Test and change if possible.
MAKE_JOBS_SAFE= no
# Just assuming C and C++: Adjust this!
USE_LANGUAGES= c c++
# Adapt REINPLACE commands to SUBST:
SUBST_CLASSES+=
SUBST_STAGE.= post-patch
SUBST_MESSAGE.=
SUBST_FILES.=
SUBST_SED.=
INSTALL_TARGET= install-strip
PORTVERSION= 49a0e290efaaa760e0b03e52ca18ac03e7582f23
DATADIR= ${PREFIX}/share/intervaltree
DOCSDIR= ${PREFIX}/share/doc/intervaltree
.include "../../mk/bsd.pkg.mk"