From owner-svn-ports-head@FreeBSD.ORG Mon Nov 25 22:07:23 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1681A721; Mon, 25 Nov 2013 22:07:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EB1252D24; Mon, 25 Nov 2013 22:07:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAPM7MD9056785; Mon, 25 Nov 2013 22:07:22 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAPM7LWk056776; Mon, 25 Nov 2013 22:07:21 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201311252207.rAPM7LWk056776@svn.freebsd.org> From: Antoine Brodin Date: Mon, 25 Nov 2013 22:07:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334899 - in head/www: . faup faup/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 22:07:23 -0000 Author: antoine Date: Mon Nov 25 22:07:21 2013 New Revision: 334899 URL: http://svnweb.freebsd.org/changeset/ports/334899 Log: New port: www/faup Faup stands for Finally An Url Parser and is a library and command line tool to parse URLs and normalize fields with two constraints: - Work with real-life urls (resilient to badly formated ones) - Be fast: no allocation for string parsing and read characters only once WWW: http://stricaud.github.io/faup/ Added: head/www/faup/ head/www/faup/Makefile (contents, props changed) head/www/faup/distinfo (contents, props changed) head/www/faup/files/ head/www/faup/files/patch-CMakeLists.txt (contents, props changed) head/www/faup/files/patch-src__lib__modules__CMakeLists.txt (contents, props changed) head/www/faup/pkg-descr (contents, props changed) head/www/faup/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Nov 25 22:04:36 2013 (r334898) +++ head/www/Makefile Mon Nov 25 22:07:21 2013 (r334899) @@ -204,6 +204,7 @@ SUBDIR += eyeos SUBDIR += eyeos-themes SUBDIR += fancybox + SUBDIR += faup SUBDIR += fcgi SUBDIR += fcgiwrap SUBDIR += feedjack Added: head/www/faup/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/Makefile Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,35 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= faup +PORTVERSION= 1.4 +CATEGORIES= www devel +MASTER_SITES= http://github.com/stricaud/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/ \ + LOCAL/antoine + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Fast URL decoder library + +LICENSE= WTFPL +LICENSE_NAME= Do What The [expletive] You Want To Public License, Version 2 +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +FETCH_ARGS= -Fpr +USES= cmake:outsource +USE_LDCONFIG= yes +USE_LUA= 5.1 + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} +.endif + +.include Added: head/www/faup/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/distinfo Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,2 @@ +SHA256 (faup-1.4.tar.gz) = 4cee73571ae35694b4a741c4a6b6fac7039c5e014bc63b67aab716b6ae177086 +SIZE (faup-1.4.tar.gz) = 570002 Added: head/www/faup/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/files/patch-CMakeLists.txt Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,11 @@ +--- ./CMakeLists.txt.orig 2013-09-25 08:53:24.000000000 +0000 ++++ ./CMakeLists.txt 2013-11-16 12:02:09.000000000 +0000 +@@ -74,7 +74,7 @@ + + set(FAUP_INCLUDE_DIRS "${faup-project_SOURCE_DIR}/src/lib/include/" "${faup-project_BINARY_DIR}/src/lib/include") + +-set(FAUP_LIBRARY "${faup-project_BINARY_DIR}/src/lib/libfaupl.so") ++set(FAUP_LIBRARY faupl) + if(WIN32) + set(FAUP_LIBRARY "${faup-project_BINARY_DIR}/src/lib/${CMAKE_BUILD_TYPE}/faup_static.lib") + endif(WIN32) Added: head/www/faup/files/patch-src__lib__modules__CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/files/patch-src__lib__modules__CMakeLists.txt Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,8 @@ +--- ./src/lib/modules/CMakeLists.txt.orig 2013-09-25 08:53:24.000000000 +0000 ++++ ./src/lib/modules/CMakeLists.txt 2013-11-16 12:02:09.000000000 +0000 +@@ -5,4 +5,4 @@ + + install(FILES ${MODULES_AVAILABLE} DESTINATION share/faup/modules_available) + +-install(CODE "file(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/faup/modules_enabled)") ++install(DIRECTORY DESTINATION share/faup/modules_enabled) Added: head/www/faup/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/pkg-descr Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,6 @@ +Faup stands for Finally An Url Parser and is a library and command line tool to +parse URLs and normalize fields with two constraints: +- Work with real-life urls (resilient to badly formated ones) +- Be fast: no allocation for string parsing and read characters only once + +WWW: http://stricaud.github.io/faup/ Added: head/www/faup/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/faup/pkg-plist Mon Nov 25 22:07:21 2013 (r334899) @@ -0,0 +1,23 @@ +bin/faup +include/faup/compat.h +include/faup/datadir.h +include/faup/decode.h +include/faup/faup.h +include/faup/features.h +include/faup/modules.h +include/faup/options.h +include/faup/output.h +include/faup/portable.h +include/faup/tld-tree.h +include/faup/tld.h +lib/libfaupl.so +lib/libfaupl.so.1 +%%DATADIR%%/README.txt +%%DATADIR%%/mozilla.tlds +%%DATADIR%%/modules_available/emulation_ie.lua +%%DATADIR%%/modules_available/uppercase.lua +@exec mkdir -p %D/%%DATADIR%%/modules_enabled +@dirrm %%DATADIR%%/modules_available +@dirrm %%DATADIR%%/modules_enabled +@dirrm %%DATADIR%% +@dirrm include/faup