ports/databases/mysql2pgsql/Makefile
Erwin Lansing 6b470bae86 Conditionalise dependencies on databases/p5-DBI: for perl
5.005_03 use databases/p5-DBI-137 as newer versions do not
support the old perl.

Note that for some port, I merely removed the explicit
dependency as they already have implicit dependencies
via other ports.

Approved by:	portmgr (marcus)
2003-09-16 05:43:52 +00:00

32 lines
749 B
Makefile

# New ports collection makefile for: mysql2pgsql
# Date Created: 27 May 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= mysql2pgsql
PORTVERSION= 20010527
CATEGORIES= databases
MASTER_SITES= http://www.rot13.org/~dpavlin/projects/sql/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
EXTRACT_ONLY= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
COMMENT= Convert a MySQL dump to a PostgreSQL dump
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PATCH_WRKSRC= ${WRKDIR}
USE_PERL5= yes
NO_BUILD= yes
do-extract:
${MKDIR} ${WRKDIR}
${CP} -p ${DISTDIR}/mysql2pgsql ${WRKDIR}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql ${PREFIX}/bin
.include <bsd.port.mk>