# New ports collection makefile for:    psa-perl-modules
# Date created:                         2007-09-24
# Whom:                                 SWSoft Ltd.
# OS Version:                           5.5
#
# $FreeBSD: ports/swsoft/psa-perl-modules/Makefile 8.2.1 2007/09/24 22:57:23 SWSoft Exp $
#

PORTNAME= psa-perl-modules
PORTVERSION= 8.2.1
PORTREVISION= 0

CATEGORIES= swsoft
MASTER_SITES?= http://autoinstall.plesk.com/PSA_8.2.1/dist-pkg-FreeBSD-5.5-i386/distfiles/

MAINTAINER= admins@swsoft.com
COMMENT= Pre compiled perl modules

EXTRACT_SUFX= .tar.gz
NO_SCRIPTS=	yes

USE_MYSQL= yes

PRE_DEPENDS+= swsoft/psa-mysql-configurator

.include <plesk.install.mk>

. if (${MYSQL_VER} == "50" )
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/auto/DBD/mysql/mysql.so:${PORTSDIR}/databases/p5-DBD-mysql50
. elif (${MYSQL_VER} == "41")
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/auto/DBD/mysql/mysql.so:${PORTSDIR}/databases/p5-DBD-mysql41
. else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/auto/DBD/mysql/mysql.so:${PORTSDIR}/databases/p5-DBD-mysql
. endif

