1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/cppcms/Makefile
Dmitry Marakasov 4264850356 - Mark BROKEN on 9.x:
/wrkdirs/usr/ports/www/cppcms/work/cppcms-1.0.5/booster/lib/locale/src/posix/numeric.cpp:57: error: 'strfmon_l' was not declared in this scope

Approved by:	portmgr blanket
Reported by:	pkg-fallout
2015-06-23 17:07:09 +00:00

48 lines
1005 B
Makefile

# $FreeBSD$
PORTNAME= cppcms
PORTVERSION= 1.0.5
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= C++ web development framework
LICENSE= LGPL3
BROKEN_FreeBSD_9= does not build on 9.x
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USES= cmake python:2 tar:bzip2
USE_OPENSSL= yes
USE_LDCONFIG= yes
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:${PORTSDIR}/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:${PORTSDIR}/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>