CMake Error in utils/version_sort/CMakeLists.txt: Target "version_sort" requires the language dialect "CXX11" , but CMake does not know the compile flags to use to enable it. Approved by: portmgr (tier-2 blanket)
30 lines
586 B
Makefile
30 lines
586 B
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libversion
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Advanced version string comparison library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= repology
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
TEST_TARGET= test
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in CHANGES.md README.md doc/ALGORITHM.md
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|