Date: Sat, 16 Mar 2013 06:24:42 GMT From: Alexander Lunkov <lunkov@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/177014: new port: databases/sqlayer Message-ID: <201303160624.r2G6OgMv095400@red.freebsd.org> Resent-Message-ID: <201303160630.r2G6U04f042499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177014 >Category: ports >Synopsis: new port: databases/sqlayer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Mar 16 06:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexander Lunkov >Release: 9.1 >Organization: >Environment: FreeBSD localhost 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245690: Sun Jan 20 20:06:13 MSK 2013 is@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: SQL Abstraction Layer - Common interface for MySQL and PostgreSQL databases >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sqlayer/Makefile # sqlayer/distinfo # sqlayer/pkg-descr # sqlayer/pkg-plist # echo x - sqlayer/Makefile sed 's/^X//' >sqlayer/Makefile << 'eac8866d78eaf7125896726af6928253' X# New ports collection makefile for: sqlayer X# Date created: 14 Mar 2013 X# Whom: Alexander Lunkov <lunkov@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= sqlayer XPORTVERSION= 1.0.4 XCATEGORIES= databases devel XMASTER_SITES= http://havoc.ru/download/ X XMAINTAINER= lunkov@gmail.com XCOMMENT= SQL abstraction layer X XMAKE_JOBS_SAFE= yes XUSE_CMAKE= yes XUSE_LDCONFIG= yes X XOPTIONS_DEFINE= DEBUG_MODE \ X ENABLE_OPTIMIZATION \ X ENABLE_THREADS \ X ENABLE_MYSQL \ X ENABLE_PGSQL \ X ENABLE_CDT_MAPPER X XOPTIONS_DEFAULT=ENABLE_OPTIMIZATION \ X ENABLE_THREADS \ X ENABLE_MYSQL \ X ENABLE_PGSQL \ X ENABLE_CDT_MAPPER X XDEBUG_MODE_DESC= Enable debug output XENABLE_OPTIMIZATION_DESC= Enable optimization XENABLE_THREADS_DESC= Enable threads support XENABLE_MYSQL_DESC= Enable MySQL support XENABLE_PGSQL_DESC= Enable PostgreSQL support XENABLE_CDT_MAPPER_DESC= Install SQL-to-CDT data mapper X XPLIST_SUB+= PORTVERSION=${PORTVERSION} X X.include <bsd.port.options.mk> X X.if defined(WITH_DEBUG_MODE) XCMAKE_ARGS+= -DDEBUG_MODE=ON X.else XCMAKE_ARGS+= -DDEBUG_MODE=OFF X.endif X X.if defined(WITH_ENABLE_OPTIMIZATION) XCMAKE_ARGS+= -DENABLE_OPTIMIZATION=ON X.else XCMAKE_ARGS+= -DENABLE_OPTIMIZATION=OFF X.endif X X.if defined(WITH_ENABLE_THREADS) XCMAKE_ARGS+= -DWITH_THREADS=ON XPLIST_SUB+= THREADED="" X.else XCMAKE_ARGS+= -DWITH_THREADS=OFF XPLIST_SUB+= THREADED="@comment " X.endif X X.if defined(WITH_ENABLE_MYSQL) XUSE_MYSQL= yes XCMAKE_ARGS+= -DWITH_MYSQL=ON X.else XCMAKE_ARGS+= -DWITH_MYSQL=OFF X.endif X X.if defined(WITH_ENABLE_PGSQL) XUSE_PGSQL= yes XCMAKE_ARGS+= -DWITH_POSTGRESQL=ON X.else XCMAKE_ARGS+= -DWITH_POSTGRESQL=OFF X.endif X X.if defined(WITH_ENABLE_CDT_MAPPER) XLIB_DEPENDS= ctpp2:${PORTSDIR}/textproc/ctpp2 XCMAKE_ARGS+= -DINSTALL_SQL_CDT_MAPPER=ON XPLIST_SUB+= CDT_MAPPER="" X.else XCMAKE_ARGS+= -DINSTALL_SQL_CDT_MAPPER=OFF XPLIST_SUB+= CDT_MAPPER="@comment " X.endif X X.include <bsd.port.mk> eac8866d78eaf7125896726af6928253 echo x - sqlayer/distinfo sed 's/^X//' >sqlayer/distinfo << 'aea196723ca6b5b3cf264b10f0b217e5' XSHA256 (sqlayer-1.0.4.tar.gz) = 5c9312d0a9d643bae9000c4e411e818616daec0c56434efbf747a722b4871172 XSIZE (sqlayer-1.0.4.tar.gz) = 35934 aea196723ca6b5b3cf264b10f0b217e5 echo x - sqlayer/pkg-descr sed 's/^X//' >sqlayer/pkg-descr << 'fe0412781cac4371b20143cbadd8e0af' XSQL Abstraction Layer - Common interface for MySQL and PostgreSQL databases fe0412781cac4371b20143cbadd8e0af echo x - sqlayer/pkg-plist sed 's/^X//' >sqlayer/pkg-plist << '82ea569fbeb0b261b023201a24d79059' Xinclude/sqlayer/SQLCredentialsParser.hpp Xinclude/sqlayer/SQLGlobalDefines.h Xinclude/sqlayer/SQLMutex.hpp Xinclude/sqlayer/SQLSysHeaders.h Xinclude/sqlayer/SQLTypes.h Xinclude/sqlayer/SQLayer.hpp Xinclude/sqlayer/SQLayerAF.hpp X%%CDT_MAPPER%%include/sqlayer/SQLayerCDT.hpp Xinclude/sqlayer/SQLayerConnStats.hpp Xinclude/sqlayer/SQLayerException.hpp Xinclude/sqlayer/SQLayerFlags.hpp Xinclude/sqlayer/SQLayerInterface.hpp Xlib/libsqlayer-st.a Xlib/libsqlayer.so Xlib/libsqlayer.so.1 Xlib/libsqlayer.so.%%PORTVERSION%% X%%THREADED%%lib/libsqlayer-st_r.a X%%THREADED%%lib/libsqlayer_r.so X%%THREADED%%lib/libsqlayer_r.so.1 X%%THREADED%%lib/libsqlayer_r.so.%%PORTVERSION%% X@exec mkdir -p %D/include/sqlayer X@dirrm include/sqlayer 82ea569fbeb0b261b023201a24d79059 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303160624.r2G6OgMv095400>