aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql2pgsql/Makefile
blob: 1ec8e9df72b178296fc0aa031e1af7258da1605f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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

RUN_DEPENDS=    ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
        ${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>