mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Update to 12.0.8
- Convert REINPLACE_CMD to patch file - Convert to options target helper - Update pkg-descr - Take maintainership Changes: https://github.com/wolkykim/qdecoder/releases
This commit is contained in:
parent
b3b7580d3d
commit
60db6c84ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547088
@ -2,35 +2,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= qdecoder
|
||||
PORTVERSION= 12.0.5
|
||||
DISTVERSIONPREFIX= r
|
||||
PORTVERSION= 12.0.8
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= C/C++ language library including CGI supports
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= C/C++ language library including CGI support
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= pathfix
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= wolkykim
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_ARGS= exec_prefix="${PREFIX}"
|
||||
PORTEXAMPLES= *
|
||||
OPTIONS_DEFINE= DEBUG EXAMPLES
|
||||
|
||||
PLIST_FILES= include/qdecoder.h lib/libqdecoder.a \
|
||||
lib/libqdecoder.so lib/libqdecoder.so.12
|
||||
|
||||
OPTIONS_DEFINE= DEBUG EXAMPLES
|
||||
DEBUG_CONFIGURE_ENABLE= debug
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's/.{[A-Z]*DIR/$${DESTDIR}&/' ${WRKSRC}/src/Makefile.in
|
||||
${REINPLACE_CMD} '/<limits/{p;s//<errno/;}' ${WRKSRC}/src/qcgireq.c
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" \
|
||||
${STAGEDIR}${EXAMPLESDIR}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqdecoder.so
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} 'Makefile *.c *.html' ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (wolkykim-qdecoder-r12.0.5_GH0.tar.gz) = 641d3df4895626d7a530c5d26724e9b5887e9845d4b47f42c1cbce4a17ebf6af
|
||||
SIZE (wolkykim-qdecoder-r12.0.5_GH0.tar.gz) = 195021
|
||||
TIMESTAMP = 1598777624
|
||||
SHA256 (wolkykim-qdecoder-v12.0.8_GH0.tar.gz) = 3911576ad8766697a9c8c767458edc953ae686eb53cd31d21e38edd7831ed9aa
|
||||
SIZE (wolkykim-qdecoder-v12.0.8_GH0.tar.gz) = 163038
|
||||
|
@ -1,18 +1,11 @@
|
||||
The qDecoder Project
|
||||
====================
|
||||
qDecoder is a simple and powerful CGI library for C/C++ programming language.
|
||||
|
||||
qDecoder is a C/C++ language library including CGI supports.
|
||||
|
||||
CGI Interfaces
|
||||
o Request Parser, Response Generator, Session, Cookies
|
||||
Network & IPC Interfaces
|
||||
o Socket, Shared memory, Semaphore, Database wrapper
|
||||
Data structures
|
||||
o Linked-list, Hash tables, Queue, qDecoder implementation of Obstack
|
||||
Useful APIs
|
||||
o Configuration parser, Automated file logger, Server side includes
|
||||
Common Utilities
|
||||
o String libraries, File libraries, Hashes & En/decoders
|
||||
And more...
|
||||
Features:
|
||||
- Supports parsing a request encoded by GET/POST method
|
||||
- Supports parsing multipart/form-data encoding. (in-memory and direct disk)
|
||||
- Supports COOKIE handling.
|
||||
- Supports Session management.
|
||||
- Supports FastCGI
|
||||
|
||||
WWW: http://wolkykim.github.io/qdecoder/
|
||||
WWW: https://github.com/wolkykim/qdecoder
|
||||
|
14
www/qdecoder/pkg-plist
Normal file
14
www/qdecoder/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
include/qdecoder.h
|
||||
lib/libqdecoder.a
|
||||
lib/libqdecoder.so
|
||||
lib/libqdecoder.so.12
|
||||
libdata/pkgconfig/qdecoder.pc
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/download.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multivalue.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/query.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/session.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uploadfile.c
|
Loading…
Reference in New Issue
Block a user