mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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= ports@FreeBSD.org
|
|
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>
|