Date: Sat, 20 Aug 2016 22:30:06 +0200 From: Koop Mast <kwm@rainbow-runner.nl> To: Adam Weinberger <adamw@adamw.org>,Koop Mast <kwm@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r420526 - in head/textproc/highlight: . files Message-ID: <5D1A7890-A14A-45D4-A14F-FBFB225EAB13@rainbow-runner.nl> In-Reply-To: <F194DB8D-3095-4844-9419-DB28CA406D1A@adamw.org> References: <201608201907.u7KJ7i4S094339@repo.freebsd.org> <F194DB8D-3095-4844-9419-DB28CA406D1A@adamw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
jup, good catch. thanks! -Koop Adam Weinberger <adamw@adamw.org> schreef op 20 augustus 2016 21:54:58 CEST: >> On 20 Aug, 2016, at 13:07, Koop Mast <kwm@FreeBSD.org> wrote: >> >> Author: kwm >> Date: Sat Aug 20 19:07:44 2016 >> New Revision: 420526 >> URL: https://svnweb.freebsd.org/changeset/ports/420526 >> >> Log: >> Update highlight to 3.31. >> >> Strip binary. >> >> Modified: head/textproc/highlight/files/patch-src_makefile >> >============================================================================== >> --- head/textproc/highlight/files/patch-src_makefile Sat Aug 20 >18:44:38 2016 (r420525) >> +++ head/textproc/highlight/files/patch-src_makefile Sat Aug 20 >19:07:44 2016 (r420526) >> >> -CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS} >> -+CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} >-I%%LOCALBASE%%/include ${LUA_CFLAGS} >> ++CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} >-I/usr/local/include ${LUA_CFLAGS} > >Did you mean to hardcode /usr/local here? > ># Adam > > >-- >Adam Weinberger >adamw@adamw.org >http://www.adamw.org -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-svn-ports-all@freebsd.org Sat Aug 20 21:04:18 2016 Return-Path: <owner-svn-ports-all@freebsd.org> Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0433EBC0474; Sat, 20 Aug 2016 21:04:18 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA0531A3F; Sat, 20 Aug 2016 21:04:17 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KL4Gve039010; Sat, 20 Aug 2016 21:04:16 GMT (envelope-from arved@FreeBSD.org) Received: (from arved@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7KL4GKg039008; Sat, 20 Aug 2016 21:04:16 GMT (envelope-from arved@FreeBSD.org) Message-Id: <201608202104.u7KL4GKg039008@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arved set sender to arved@FreeBSD.org using -f From: Tilman Keskinoz <arved@FreeBSD.org> Date: Sat, 20 Aug 2016 21:04:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420529 - head/www/wt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>, <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/> List-Post: <mailto:svn-ports-all@freebsd.org> List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>, <mailto:svn-ports-all-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 20 Aug 2016 21:04:18 -0000 Author: arved Date: Sat Aug 20 21:04:16 2016 New Revision: 420529 URL: https://svnweb.freebsd.org/changeset/ports/420529 Log: - USE_GITHUB - Remove/shorten overlong OPT_DESCR - Use option helpers - Other Cosmetic fixes No functional changes, so no PORTREVISION bump Based on suggestions by: danfe, gerald Modified: head/www/wt/Makefile head/www/wt/distinfo Modified: head/www/wt/Makefile ============================================================================== --- head/www/wt/Makefile Sat Aug 20 20:44:42 2016 (r420528) +++ head/www/wt/Makefile Sat Aug 20 21:04:16 2016 (r420529) @@ -4,8 +4,6 @@ PORTNAME= wt PORTVERSION= 3.3.6 CATEGORIES= www -MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/archive/${PORTVERSION}/ \ - http://github.com/${GH_ACCOUNT}/${PORTNAME}/archive/${PORTVERSION}/ MAINTAINER= info@babaei.net COMMENT= Widget-centric C++ library for developing web applications @@ -13,7 +11,25 @@ COMMENT= Widget-centric C++ library for LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS+= libpng.so:graphics/png \ + libboost_system.so:devel/boost-libs \ + libGraphicsMagick.so:graphics/GraphicsMagick + +USE_GITHUB= yes GH_ACCOUNT= kdeforche +USE_LDCONFIG= yes +USE_XORG+=x11 +USES= cmake:outsource pkgconfig ssl +CMAKE_ARGS+= -DCONFIGDIR:STRING=${LOCALBASE}/etc/wt \ + -DGM_PREFIX:STRING=${LOCALBASE} \ + -DPNG_PREFIX:STRING=${LOCALBASE} \ + -DSSL_PREFIX:STRING=/usr \ + -DZLIB_PREFIX:STRING=/usr \ + -DCONNECTOR_ISAPI:BOOL=OFF \ + -DWEBUSER:STRING=www \ + -DWEBGROUP:STRING=www \ + -DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ + -DENABLE_SSL:BOOL=ON NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ @@ -30,8 +46,6 @@ OPTIONS_DEFINE= \ LIBWTTEST \ OPENGL OPTIONS_DEFAULT= \ - DOCS \ - EXAMPLES \ TESTS \ RESOURCES \ CMAKE_MODULE \ @@ -41,19 +55,16 @@ OPTIONS_DEFAULT= \ OPENGL \ LIBWTTEST OPTIONS_GROUP= CONNECTOR DBO WSTRING +OPTIONS_SUB= yes -DOCS_DESC= Build and/or install documentation -EXAMPLES_DESC= Build and install examples (binaries and source, implies SQLITE3 and WTHTTP) +EXAMPLES_DESC= Install examples (implies SQLITE3 and WTHTTP) TESTS_DESC= Build Wt tests RESOURCES_DESC= Install resources directory -CMAKE_MODULE_DESC= Install FindWt.cmake in systemwide cmake dir (in addition to CMAKE_INSTALL_PREFIX/cmake) +CMAKE_MODULE_DESC= Install FindWt.cmake in systemwide cmake dir CPP11_DESC= Compile Wt in C++11 mode (Clang or GCC 4.6+) -HARU_DESC= Enable Haru Free PDF Library, which is used to provide support for painting to PDF (WPdfImage) -PANGO_DESC= Enable Pango Library, which is used for improved font support (WPdfImage and WRasterImage) -EXT_DESC= Build Wt Ext library with JavaScript-only widgets (http://extjs.com/) DEPRECATED -QT4_DESC= Build Qt4 interworking library (libwtwithqt) +HARU_DESC= Enable Haru Free PDF Library +EXT_DESC= Build Wt Ext library with JavaScript-only widgets LIBWTTEST_DESC= Build Wt::Test for automated (integration/unit) tests -OPENGL_DESC= Build Wt with support for server-side opengl rendering OPTIONS_GROUP_CONNECTOR= FCGI WTHTTP OPTIONS_DEFAULT += FCGI WTHTTP @@ -71,50 +82,57 @@ MYSQL_DESC= Build Wt with MariaDB or My OPTIONS_GROUP_WSTRING= NO_STD_LOCALE NO_STD_WSTRING WSTRING_DESC= Wt::WString -NO_STD_LOCALE_DESC= Build Wt to run on a system without std::locale support -NO_STD_WSTRING_DESC= Build Wt to run on a system without std::wstring support +NO_STD_LOCALE_DESC= Build for a system without std::locale support +NO_STD_WSTRING_DESC= Build for a system without std::wstring support EXAMPLES_IMPLIES= SQLITE3 WTHTTP -USE_LDCONFIG= yes -USES= cmake:outsource pkgconfig ssl -USE_XORG+=x11 -MAKE_JOBS_SAFE= yes - -LIB_DEPENDS+= libpng.so:graphics/png \ - libboost_system.so:devel/boost-libs \ - libGraphicsMagick.so:graphics/GraphicsMagick - -CMAKE_ARGS+= -DCONFIGDIR:STRING=${LOCALBASE}/etc/wt \ - -DFCGI_PREFIX:STRING=${LOCALBASE} \ - -DFIREBIRD_PREFIX:STRING=${LOCALBASE} \ - -DGM_PREFIX:STRING=${LOCALBASE} \ - -DHARU_PREFIX:STRING=${LOCALBASE} \ - -DMYSQL_PREFIX:STRING=${LOCALBASE} \ - -DPNG_PREFIX:STRING=${LOCALBASE} \ - -DPOSTGRES_PREFIX:STRING=${LOCALBASE} \ - -DSQLITE3_PREFIX:STRING=${LOCALBASE} \ - -DSSL_PREFIX:STRING=/usr \ - -DZLIB_PREFIX:STRING=/usr \ - -DCONNECTOR_ISAPI:BOOL=OFF \ - -DWEBUSER:STRING=www \ - -DWEBGROUP:STRING=www \ - -DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ - -DENABLE_SSL:BOOL=ON +CMAKE_MODULE_CMAKE_ON= -DINSTALL_FINDWT_CMAKE_FILE:BOOL=ON +CMAKE_MODULE_CMAKE_OFF= -DINSTALL_FINDWT_CMAKE_FILE:BOOL=OFF +DOCS_CMAKE_ON= -DBUILD_DOCS:BOOL=ON +DOCS_CMAKE_OFF= -DBUILD_DOCS:BOOL=OFF +FCGI_CMAKE_ON= -DCONNECTOR_FCGI:BOOL=ON +FCGI_CMAKE_OFF= -DCONNECTOR_FCGI:BOOL=OFF +FIREBIRD_CMAKE_ON= -DENABLE_FIREBIRD:BOOL=ON +FIREBIRD_CMAKE_OFF= -DENABLE_FIREBIRD:BOOL=OFF +EXT_CMAKE_ON= -DENABLE_EXT:BOOL=ON +EXT_CMAKE_OFF= -DENABLE_EXT:BOOL=OFF +HARU_CMAKE_ON= -DENABLE_HARU:BOOL=ON +HARU_CMAKE_OFF= -DENABLE_HARU:BOOL=OFF +LIBWTTEST_CMAKE_ON= -DENABLE_LIBWTTEST:BOOL=ON +LIBWTTEST_CMAKE_OFF= -DENABLE_LIBWTTEST:BOOL=OFF +MYSQL_CMAKE_ON= -DENABLE_MYSQL:BOOL=ON +MYSQL_CMAKE_OFF= -DENABLE_MYSQL:BOOL=OFF +NO_STD_LOCALE_CMAKE_ON= -DWT_NO_STD_LOCALE:BOOL=ON +NO_STD_LOCALE_CMAKE_OFF=-DWT_NO_STD_LOCALE:BOOL=OFF +NO_STD_WSTRING_CMAKE_ON= -DWT_NO_STD_WSTRING:BOOL=ON +NO_STD_WSTRING_CMAKE_OFF= -DWT_NO_STD_WSTRING:BOOL=OFF +OPENGL_CMAKE_ON= -DENABLE_OPENGL:BOOL=ON +OPENGL_CMAKE_OFF= -DENABLE_OPENGL:BOOL=OFF +PANGO_CMAKE_ON= -DENABLE_PANGO:BOOL=ON +PANGO_CMAKE_OFF= -DENABLE_PANGO:BOOL=OFF +POSTGRES_CMAKE_ON= -DENABLE_POSTGRES:BOOL=ON +POSTGRES_CMAKE_OFF= -DENABLE_POSTGRES:BOOL=OFF +QT4_CMAKE_ON= -DENABLE_QT4:BOOL=ON +QT4_CMAKE_OFF= -DENABLE_QT4:BOOL=OFF +RESOURCES_CMAKE_ON= -DINSTALL_RESOURCES:BOOL=ON +RESOURCES_CMAKE_OFF= -DINSTALL_RESOURCES:BOOL=OFF +SQLITE_CMAKE_ON= -DENABLE_SQLITE:BOOL=ON +SQLITE_CMAKE_OFF= -DENABLE_SQLITE:BOOL=OFF +TESTS_CMAKE_ON= -DBUILD_TESTS:BOOL=ON +TESTS_CMAKE_OFF= -DBUILD_TESTS:BOOL=OFF +WTHTTP_CMAKE_ON= -DCONNECTOR_HTTP:BOOL=ON +WTHTTP_CMAKE_OFF= -DCONNECTOR_HTTP:BOOL=OFF .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= asciidoc:textproc/asciidoc \ doxygen:devel/doxygen -CMAKE_ARGS+= -DBUILD_DOCS:BOOL=ON -.else -CMAKE_ARGS+= -DBUILD_DOCS:BOOL=OFF .endif .if ${PORT_OPTIONS:MEXAMPLES} CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=ON -DINSTALL_EXAMPLES:BOOL=ON -PLIST_SUB+= EXAMPLES="" .if ${PORT_OPTIONS:MSQLITE3} \ || ${PORT_OPTIONS:MPOSTGRES} \ || ${PORT_OPTIONS:MFIREBIRD} \ @@ -136,34 +154,11 @@ PLIST_SUB+= QT4_EXAMPLES="@comment " .endif .else CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=OFF -DINSTALL_EXAMPLES:BOOL=OFF -PLIST_SUB+= EXAMPLES="@comment " PLIST_SUB+= DBO_EXAMPLES="@comment " PLIST_SUB+= DBO_SQLITE3_EXAMPLES="@comment " PLIST_SUB+= QT4_EXAMPLES="@comment " .endif -.if ${PORT_OPTIONS:MTESTS} -CMAKE_ARGS+= -DBUILD_TESTS:BOOL=ON -.else -CMAKE_ARGS+= -DBUILD_TESTS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MRESOURCES} -CMAKE_ARGS+= -DINSTALL_RESOURCES:BOOL=ON -PLIST_SUB+= RESOURCES="" -.else -CMAKE_ARGS+= -DINSTALL_RESOURCES:BOOL=OFF -PLIST_SUB+= RESOURCES="@comment " -.endif - -.if ${PORT_OPTIONS:MCMAKE_MODULE} -CMAKE_ARGS+= -DINSTALL_FINDWT_CMAKE_FILE:BOOL=ON -PLIST_SUB+= CMAKE_MODULE="" -.else -CMAKE_ARGS+= -DINSTALL_FINDWT_CMAKE_FILE:BOOL=OFF -PLIST_SUB+= CMAKE_MODULE="@comment " -.endif - .if ${PORT_OPTIONS:MCPP11} USES+= compiler:c++11-lib CMAKE_ARGS+= -DWT_CPP_11_MODE:STRING=-std=c++0x @@ -171,64 +166,26 @@ CMAKE_ARGS+= -DWT_CPP_11_MODE:STRING=-st .if ${PORT_OPTIONS:MHARU} LIB_DEPENDS+= libhpdf.so:print/libharu -CMAKE_ARGS+= -DENABLE_HARU:BOOL=ON -.else -CMAKE_ARGS+= -DENABLE_HARU:BOOL=OFF +CMAKE_ARGS+= -DHARU_PREFIX:STRING=${LOCALBASE} .endif .if ${PORT_OPTIONS:MPANGO} USE_GNOME+= pango -CMAKE_ARGS+= -DENABLE_PANGO:BOOL=ON -.else -CMAKE_ARGS+= -DENABLE_PANGO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MEXT} -CMAKE_ARGS+= -DENABLE_EXT:BOOL=ON -PLIST_SUB+= EXT="" -.else -CMAKE_ARGS+= -DENABLE_EXT:BOOL=OFF -PLIST_SUB+= EXT="@comment " .endif .if ${PORT_OPTIONS:MQT4} -USE_QT4= corelib moc_build -CMAKE_ARGS+= -DENABLE_QT4:BOOL=ON -.else -CMAKE_ARGS+= -DENABLE_QT4:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MLIBWTTEST} -CMAKE_ARGS+= -DENABLE_LIBWTTEST:BOOL=ON -PLIST_SUB+= LIBWTTEST="" -.else -CMAKE_ARGS+= -DENABLE_LIBWTTEST:BOOL=OFF -PLIST_SUB+= LIBWTTEST="@comment " +USE_QT4= corelib moc_build .endif .if ${PORT_OPTIONS:MOPENGL} USE_GL= gl glew -CMAKE_ARGS+= -DENABLE_OPENGL:BOOL=ON -.else -CMAKE_ARGS+= -DENABLE_OPENGL:BOOL=OFF .endif .if ${PORT_OPTIONS:MFCGI} -LIB_DEPENDS+= libfcgi.so:www/fcgi -LIB_DEPENDS+= libfcgi++.so:www/fcgi -CMAKE_ARGS+= -DCONNECTOR_FCGI:BOOL=ON -PLIST_SUB+= FCGI="" -.else -CMAKE_ARGS+= -DCONNECTOR_FCGI:BOOL=OFF -PLIST_SUB+= FCGI="@comment " -.endif +LIB_DEPENDS+= libfcgi.so:www/fcgi \ + libfcgi++.so:www/fcgi -.if ${PORT_OPTIONS:MWTHTTP} -CMAKE_ARGS+= -DCONNECTOR_HTTP:BOOL=ON -PLIST_SUB+= WTHTTP="" -.else -CMAKE_ARGS+= -DCONNECTOR_HTTP:BOOL=OFF -PLIST_SUB+= WTHTTP="@comment " +CMAKE_ARGS+= -DFCGI_PREFIX:STRING=${LOCALBASE} .endif .if ${PORT_OPTIONS:MSQLITE3} \ @@ -244,50 +201,22 @@ PLIST_SUB+= DBO="@comment " .if ${PORT_OPTIONS:MSQLITE3} USES+= sqlite:3 -CMAKE_ARGS+= -DENABLE_SQLITE:BOOL=ON -PLIST_SUB+= SQLITE3="" -.else -CMAKE_ARGS+= -DENABLE_SQLITE:BOOL=OFF -PLIST_SUB+= SQLITE3="@comment " +CMAKE_ARGS+= -DSQLITE3_PREFIX:STRING=${LOCALBASE} .endif .if ${PORT_OPTIONS:MPOSTGRES} USE_PGSQL= yes -CMAKE_ARGS+= -DENABLE_POSTGRES:BOOL=ON -PLIST_SUB+= POSTGRES="" -.else -CMAKE_ARGS+= -DENABLE_POSTGRES:BOOL=OFF -PLIST_SUB+= POSTGRES="@comment " +CMAKE_ARGS+= -DPOSTGRES_PREFIX:STRING=${LOCALBASE} .endif .if ${PORT_OPTIONS:MFIREBIRD} USE_FIREBIRD= yes -CMAKE_ARGS+= -DENABLE_FIREBIRD:BOOL=ON -PLIST_SUB+= FIREBIRD="" -.else -CMAKE_ARGS+= -DENABLE_FIREBIRD:BOOL=OFF -PLIST_SUB+= FIREBIRD="@comment " +CMAKE_AGS+= -DFIREBIRD_PREFIX:STRING=${LOCALBASE} .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes -CMAKE_ARGS+= -DENABLE_MYSQL:BOOL=ON -PLIST_SUB+= MYSQL="" -.else -CMAKE_ARGS+= -DENABLE_MYSQL:BOOL=OFF -PLIST_SUB+= MYSQL="@comment " -.endif - -.if ${PORT_OPTIONS:MNO_STD_LOCALE} -CMAKE_ARGS+= -DWT_NO_STD_LOCALE:BOOL=ON -.else -CMAKE_ARGS+= -DWT_NO_STD_LOCALE:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MNO_STD_WSTRING} -CMAKE_ARGS+= -DWT_NO_STD_WSTRING:BOOL=ON -.else -CMAKE_ARGS+= -DWT_NO_STD_WSTRING:BOOL=OFF +CMAKE_ARGS+= -DMYSQL_PREFIX:STRING=${LOCALBASE} .endif post-stage: Modified: head/www/wt/distinfo ============================================================================== --- head/www/wt/distinfo Sat Aug 20 20:44:42 2016 (r420528) +++ head/www/wt/distinfo Sat Aug 20 21:04:16 2016 (r420529) @@ -1,3 +1,3 @@ -TIMESTAMP = 1471468688 -SHA256 (wt-3.3.6.tar.gz) = 8f82576076deb1d72cfb8ff42cf7ffb3553a45da32123b2a3cf36e66040678ab -SIZE (wt-3.3.6.tar.gz) = 7952106 +TIMESTAMP = 1471474081 +SHA256 (kdeforche-wt-3.3.6_GH0.tar.gz) = 8f82576076deb1d72cfb8ff42cf7ffb3553a45da32123b2a3cf36e66040678ab +SIZE (kdeforche-wt-3.3.6_GH0.tar.gz) = 7952106
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D1A7890-A14A-45D4-A14F-FBFB225EAB13>