mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
3beb732dad
Changes: http://site.icu-project.org/download/62 ABI: https://abi-laboratory.pro/tracker/timeline/icu4c/ PR: 229359 Exp-run by: antoine (only 10.4)
42 lines
978 B
Makefile
42 lines
978 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cppcms
|
|
PORTVERSION= 1.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ web development framework
|
|
|
|
LICENSE= MIT
|
|
|
|
BROKEN_powerpc64= Does not build: error: 'localeconv_l' was not declared in this scope
|
|
|
|
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>
|