mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
ec1e4f8f2e
Pgloader loads data into PostgreSQL using the COPY streaming protocol,and doing so with separate threads for reading and writing data.Asynchronous IO,compiled to the metal programming language. pgloader knows how to read data from MySQL,SQLite or dBase databases,and knows how to discover the schema and properly cast data types over.It also knows how to read CSV files in several definitions of CSV,and fixed columns files. WWW: http://pgloader.io PR: 219165 Submitted by: Jov <amutu@amutu.com>
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pgloader
|
|
PORTVERSION= 3.4.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= databases
|
|
PKGNAMESUFFIX= 3
|
|
|
|
MAINTAINER= amutu@amutu.com
|
|
COMMENT= Data loading tool for PostgreSQL,using the COPY command
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
BUILD_DEPENDS= ccl:lang/ccl
|
|
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
|
|
libtdsodbc.so:databases/freetds
|
|
|
|
CONFLICTS= pgloader-2*
|
|
|
|
USES= gmake
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dimitri
|
|
GH_TUPLE= amutu:quicklisp_offline:e9008cc:qlp/build/quicklisp
|
|
|
|
PLIST_FILES= bin/pgloader \
|
|
bin/pgloader3 \
|
|
man/man1/pgloader.1.gz
|
|
|
|
MAKE_ARGS= CL=ccl
|
|
MAKE_ENV= ASDF_OUTPUT_TRANSLATIONS=/:
|
|
|
|
# stripping can break lisp binaries
|
|
STRIP=
|
|
|
|
post-patch:
|
|
${LN} ${WRKSRC}/build/quicklisp/quicklisp.lisp ${WRKSRC}/build
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/bin/pgloader ${STAGEDIR}${PREFIX}/bin/pgloader3
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pgloader_wrapper.sh ${STAGEDIR}${PREFIX}/bin/pgloader
|
|
${INSTALL_MAN} ${WRKSRC}/pgloader.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|