2012-10-01 18:35:12 +00:00
|
|
|
# Created by: Andrei V. Shetuhin <reki@reki.ru>
|
2008-02-28 09:38:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ctpp2
|
2013-06-03 08:41:07 +00:00
|
|
|
PORTVERSION= 2.8.3
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(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
2017-09-10 20:55:38 +00:00
|
|
|
PORTREVISION= 5
|
2008-02-28 09:38:12 +00:00
|
|
|
CATEGORIES= textproc devel
|
2009-03-24 10:36:49 +00:00
|
|
|
MASTER_SITES= http://ctpp.havoc.ru/download/
|
2008-02-28 09:38:12 +00:00
|
|
|
|
2013-07-22 14:34:22 +00:00
|
|
|
MAINTAINER= vg@FreeBSD.org
|
2008-02-28 09:38:12 +00:00
|
|
|
COMMENT= C++ library to use templates in C/C++ projects, version 2
|
|
|
|
|
2015-09-03 15:44:13 +00:00
|
|
|
USES= cmake gettext compiler:c++11-lang
|
2008-02-28 09:38:12 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2015-09-03 15:44:13 +00:00
|
|
|
CMAKE_ARGS= -DICONV_INCLUDE=${ICONV_INCLUDE_PATH}
|
2009-09-17 20:04:05 +00:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
|
2012-10-01 18:35:12 +00:00
|
|
|
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
|
|
|
|
|
2014-01-26 11:57:13 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
DEBUG_CMAKE_ON= -DDEBUG_MODE=ON
|
|
|
|
DEBUG_CMAKE_OFF= -DDEBUG_MODE=OFF
|
2016-04-01 14:25:16 +00:00
|
|
|
DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils
|
2014-01-26 11:57:13 +00:00
|
|
|
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
|
2015-09-03 15:44:13 +00:00
|
|
|
TRANSLITERATE_USES= iconv:translit
|
|
|
|
TRANSLITERATE_USES_OFF= iconv
|
2014-01-26 11:57:13 +00:00
|
|
|
OPTIMIZATION_CMAKE_ON= -DENABLE_OPTIMIZATION=ON
|
|
|
|
OPTIMIZATION_CMAKE_OFF= -DENABLE_OPTIMIZATION=OFF
|
|
|
|
|
|
|
|
PORTDOCS= template_language.html
|
2012-10-01 18:35:12 +00:00
|
|
|
|
2015-09-03 15:44:13 +00:00
|
|
|
.include <bsd.port.mk>
|