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
This commit is contained in:
parent
1e5ee3f9c9
commit
4d1346e9ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470378
4 changed files with 32 additions and 46 deletions
|
@ -1,52 +1,40 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cppcms
|
||||
PORTVERSION= 1.2.0
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.2.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= C++ web development framework
|
||||
|
||||
LICENSE= LGPL3
|
||||
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
LICENSE= MIT
|
||||
|
||||
BROKEN_powerpc64= Does not build: error: 'localeconv_l' was not declared in this scope
|
||||
|
||||
USES= cmake python:2.7 shebangfix tar:bzip2 ssl
|
||||
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
|
||||
OPTIONS_DEFINE= EXAMPLES GCRYPT ICU
|
||||
OPTIONS_DEFAULT=ICU
|
||||
ICU_DESC= ICU unicode support
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MICU}
|
||||
USES+= compiler:c++11-lib
|
||||
USE_CXXSTD= gnu++11
|
||||
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
|
||||
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
|
||||
@${REINPLACE_CMD} -e 's|python2|${PYTHON_VERSION}|' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1516498677
|
||||
SHA256 (cppcms-1.2.0.tar.bz2) = a5a29603269ab65d86f159cce342fba896a9316998a924e2e9f2b65dab9b70b9
|
||||
SIZE (cppcms-1.2.0.tar.bz2) = 2234311
|
||||
TIMESTAMP = 1526716599
|
||||
SHA256 (cppcms-1.2.1.tar.bz2) = 10fec7710409c949a229b9019ea065e25ff5687103037551b6f05716bf6cac52
|
||||
SIZE (cppcms-1.2.1.tar.bz2) = 2234368
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
CppCMS is a free high performance web development framework aimed at
|
||||
rapid web application development. It differs from most other web
|
||||
development frameworks like: Python Django, Java Servlets in the
|
||||
following ways:
|
||||
CppCMS is a free high performance web development framework (not a CMS) aimed at
|
||||
rapid web application development. It differs from most other web development
|
||||
frameworks like: Python Django, Java Servlets in the following ways:
|
||||
- It is designed and tuned to handle extremely high loads.
|
||||
- It uses modern C++ as the primary development language in order to achieve the
|
||||
first goal.
|
||||
- It is designed for developing both Web Sites and Web Services.
|
||||
|
||||
* It is designed and tuned to handle extremely high loads.
|
||||
* It uses modern C++ as the primary development language in order to
|
||||
achieve the first goal.
|
||||
* It is designed for developing both web sites and web services.
|
||||
|
||||
WWW: http://www.cppcms.com
|
||||
WWW: http://www.cppcms.com/
|
||||
|
|
|
@ -148,7 +148,7 @@ lib/libbooster.so.0.2.0
|
|||
lib/libcppcms.a
|
||||
lib/libcppcms.so
|
||||
lib/libcppcms.so.1
|
||||
lib/libcppcms.so.1.2.0
|
||||
lib/libcppcms.so.1.2.1
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aio/Makefile
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aio/echo_server.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/autogenerated.doxy
|
||||
|
|
Loading…
Reference in a new issue