1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/cppcms/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

40 lines
890 B
Makefile

# $FreeBSD$
PORTNAME= cppcms
PORTVERSION= 1.2.1
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ web development framework
LICENSE= MIT
LIB_DEPENDS= libpcre.so:devel/pcre
USES= cmake python:2.7 shebangfix ssl tar:bzip2
USE_LDCONFIG= yes
SHEBANG_FILES= bin/cppcms_tmpl_cc
OPTIONS_DEFINE= EXAMPLES GCRYPT ICU
OPTIONS_DEFAULT=ICU
ICU_DESC= ICU unicode support
GCRYPT_CMAKE_BOOL= DISABLE_GCRYPT
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
ICU_CMAKE_BOOL= DISABLE_ICONV
ICU_LIB_DEPENDS= libicuuc.so:devel/icu
ICU_USE= CXXSTD=gnu++11
ICU_USES= compiler:c++11-lib
ICU_USES_OFF= iconv
post-patch:
@${REINPLACE_CMD} -e 's|python2|${PYTHON_VERSION}|' ${WRKSRC}/CMakeLists.txt
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>