mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
fb8c6ffaed
r449608, r449609, r449610, r449611, r449612, r449613, r449614, r449621, r449661, r449662 are reverted. ICU will pull char16_t typedef in C++98 mode instead. Pointy hat to: jbeich PR: 218788 222222 222225
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cppcms
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 9
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
|
COMMENT= C++ web development framework
|
|
|
|
LICENSE= LGPL3
|
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
BROKEN_powerpc64= Does not build: error: 'localeconv_l' was not declared in this scope
|
|
|
|
USES= cmake python:2 shebangfix tar:bzip2 ssl
|
|
USE_LDCONFIG= yes
|
|
SHEBANG_FILES= bin/cppcms_tmpl_cc
|
|
|
|
OPTIONS_DEFINE= EXAMPLES GCRYPT ICU
|
|
OPTIONS_DEFAULT= ICU
|
|
ICU_DESC= ICU unicode support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MICU}
|
|
LIB_DEPENDS+= libicuuc.so:devel/icu
|
|
CMAKE_ARGS+= -DDISABLE_ICONV:BOOL=ON
|
|
.else
|
|
USES+= iconv
|
|
CMAKE_ARGS+= -DDISABLE_ICU_LOCALE:BOOL=ON
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGCRYPT}
|
|
LIB_DEPENDS+= libgcrypt.so:security/libgcrypt
|
|
CMAKE_ARGS+= -DDISABLE_GCRYPT:BOOL=OFF
|
|
.else
|
|
CMAKE_ARGS+= -DDISABLE_GCRYPT:BOOL=ON
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|