2015-04-10 08:25:21 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cppcms
|
2018-05-19 13:06:25 +02:00
|
|
|
PORTVERSION= 1.2.1
|
2018-10-23 13:35:03 +02:00
|
|
|
PORTREVISION= 3
|
2015-04-10 08:25:21 +02:00
|
|
|
CATEGORIES= www
|
2018-05-19 13:06:25 +02:00
|
|
|
MASTER_SITES= SF
|
2015-04-10 08:25:21 +02:00
|
|
|
|
2018-01-12 12:21:07 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2015-04-10 08:25:21 +02:00
|
|
|
COMMENT= C++ web development framework
|
|
|
|
|
2018-05-19 13:06:25 +02:00
|
|
|
LICENSE= MIT
|
2015-04-10 08:25:21 +02:00
|
|
|
|
2018-05-19 13:06:25 +02:00
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
|
|
|
|
USES= cmake python:2.7 shebangfix ssl tar:bzip2
|
2015-04-10 08:25:21 +02:00
|
|
|
USE_LDCONFIG= yes
|
2017-04-24 14:58:02 +02:00
|
|
|
SHEBANG_FILES= bin/cppcms_tmpl_cc
|
2015-04-10 08:25:21 +02:00
|
|
|
|
2018-05-19 13:06:25 +02:00
|
|
|
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
|
2015-04-10 08:25:21 +02:00
|
|
|
|
2018-02-19 12:10:43 +01:00
|
|
|
post-patch:
|
2018-05-19 13:06:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|python2|${PYTHON_VERSION}|' ${WRKSRC}/CMakeLists.txt
|
2018-02-19 12:10:43 +01:00
|
|
|
|
2018-05-19 13:06:25 +02:00
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
2015-04-10 08:25:21 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|