mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# Created by: Andrei V. Shetuhin <reki@reki.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ctpp2
|
|
PORTVERSION= 2.8.3
|
|
PORTREVISION= 5
|
|
CATEGORIES= textproc devel
|
|
MASTER_SITES= http://ctpp.havoc.ru/download/
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= C++ library to use templates in C/C++ projects, version 2
|
|
|
|
USES= cmake gettext compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DICONV_INCLUDE=${ICONV_INCLUDE_PATH}
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DEBUG DISCARD_ILSEQ DOCS MD5 OPTIMIZATION TRANSLITERATE
|
|
OPTIONS_DEFAULT= DISCARD_ILSEQ MD5 OPTIMIZATION TRANSLITERATE
|
|
DEBUG_DESC= Enable debug output
|
|
OPTIMIZATION_DESC= Enable optimization
|
|
MD5_DESC= Enable md5 support
|
|
DISCARD_ILSEQ_DESC= Discard illegal sequence and continue
|
|
TRANSLITERATE_DESC= Enable transliteration in the conversion
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
DEBUG_CMAKE_ON= -DDEBUG_MODE=ON
|
|
DEBUG_CMAKE_OFF= -DDEBUG_MODE=OFF
|
|
DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils
|
|
DOCS_CMAKE_ON= -DENABLE_DOCS=ON
|
|
DOCS_CMAKE_OFF= -DENABLE_DOCS=OFF
|
|
MD5_CMAKE_ON= -DMD5_SUPPORT=ON
|
|
MD5_CMAKE_OFF= -DMD5_SUPPORT=OFF
|
|
DISCARD_ILSEQ_CMAKE_ON= -DICONV_DISCARD_ILSEQ=ON
|
|
DISCARD_ILSEQ_CMAKE_OFF= -DICONV_DISCARD_ILSEQ=OFF
|
|
TRANSLITERATE_CMAKE_ON= -DICONV_TRANSLITERATE=ON
|
|
TRANSLITERATE_CMAKE_OFF= -DICONV_TRANSLITERATE=OFF
|
|
TRANSLITERATE_USES= iconv:translit
|
|
TRANSLITERATE_USES_OFF= iconv
|
|
OPTIMIZATION_CMAKE_ON= -DENABLE_OPTIMIZATION=ON
|
|
OPTIMIZATION_CMAKE_OFF= -DENABLE_OPTIMIZATION=OFF
|
|
|
|
PORTDOCS= template_language.html
|
|
|
|
.include <bsd.port.mk>
|