svn commit: r334899 - in head/www: . faup faup/files
Antoine Brodin
antoine at FreeBSD.org
Mon Nov 25 22:07:23 UTC 2013
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 <antoine at FreeBSD.org>
+# $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 at 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 <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
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
+ at exec mkdir -p %D/%%DATADIR%%/modules_enabled
+ at dirrm %%DATADIR%%/modules_available
+ at dirrm %%DATADIR%%/modules_enabled
+ at dirrm %%DATADIR%%
+ at dirrm include/faup
More information about the svn-ports-head
mailing list