Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 11:06:26 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470378 - head/www/cppcms
Message-ID:  <201805191106.w4JB6Qse036789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May 19 11:06:25 2018
New Revision: 470378
URL: https://svnweb.freebsd.org/changeset/ports/470378

Log:
  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

Modified:
  head/www/cppcms/Makefile
  head/www/cppcms/distinfo
  head/www/cppcms/pkg-descr
  head/www/cppcms/pkg-plist

Modified: head/www/cppcms/Makefile
==============================================================================
--- head/www/cppcms/Makefile	Sat May 19 11:06:20 2018	(r470377)
+++ head/www/cppcms/Makefile	Sat May 19 11:06:25 2018	(r470378)
@@ -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
+LICENSE=	MIT
 
-LIB_DEPENDS=	libpcre.so:devel/pcre
-
 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>
+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
 
-.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
-
 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>

Modified: head/www/cppcms/distinfo
==============================================================================
--- head/www/cppcms/distinfo	Sat May 19 11:06:20 2018	(r470377)
+++ head/www/cppcms/distinfo	Sat May 19 11:06:25 2018	(r470378)
@@ -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

Modified: head/www/cppcms/pkg-descr
==============================================================================
--- head/www/cppcms/pkg-descr	Sat May 19 11:06:20 2018	(r470377)
+++ head/www/cppcms/pkg-descr	Sat May 19 11:06:25 2018	(r470378)
@@ -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/

Modified: head/www/cppcms/pkg-plist
==============================================================================
--- head/www/cppcms/pkg-plist	Sat May 19 11:06:20 2018	(r470377)
+++ head/www/cppcms/pkg-plist	Sat May 19 11:06:25 2018	(r470378)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805191106.w4JB6Qse036789>