1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/databases/ora2pg/Makefile
Wen Heping fdacacf463 Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL
compatible schema. It connects your Oracle database, scan it automatically
and extracts its structure or data, it then generates SQL scripts that you
can load into your PostgreSQL database. Ora2Pg can be used from reverse
engineering Oracle database to huge enterprise database migration or simply
to replicate some Oracle data into a PostgreSQL database. It is really easy
to used and doesn't need any Oracle database knowledge than providing the
parameters needed to connect to the Oracle database.

WWW: https://github.com/darold/ora2pg

PR:		219682
Submitted by:	amutu@amutu.com
2017-06-13 03:30:51 +00:00

31 lines
704 B
Makefile

# Created by: Jov amutu@amutu.com
# $FreeBSD$
PORTNAME= ora2pg
PORTVERSION= 18.1
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= amutu@amutu.com
COMMENT= Oracle to PostgreSQL database schema converter
LICENSE= GPLv3
BUILD_DEPENDS= p5-Class-DBI-Pg>=0:databases/p5-Class-DBI-Pg \
p5-Class-DBI-mysql>=0:databases/p5-Class-DBI-mysql \
p5-Class-DBI-Oracle>=0:databases/p5-Class-DBI-Oracle
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
USE_GITHUB= yes
GH_ACCOUNT= darold
do-patch:
${REINPLACE_CMD} -e '/install_all :/,/};/s=$$CONFDIR=${STAGEDIR}${ETCDIR}=g' \
-e '/install_all :/,/};/s=$$DOCDIR=${STAGEDIR}${DOCSDIR}=g' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>