blob: fcf88baa7a49249b614c5c1ea42ce91d6d192326 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $FreeBSD$
PORTNAME= cppcms
PORTVERSION= 1.2.1
PORTREVISION= 6
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>
|