ports/www/cppcms/Makefile
Sunpoet Po-Chuan Hsieh 4d1346e9ee Update to 1.2.1
- Simplify MASTER_SITES
- Fix LICENSE: it's MIT since 1.2
- Pet portlint: move BROKEN_* upward
- Sort USES
- Convert to options helper
- Use CMAKE_BOOL
- Silence patch messages
- Do not silence installation messages
- Update pkg-descr
- Take maintainership

Changes:	http://cppcms.com/wikipp/en/page/releases_1x
2018-05-19 11:06:25 +00:00

41 lines
962 B
Makefile

# $FreeBSD$
PORTNAME= cppcms
PORTVERSION= 1.2.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>