1999-12-27 03:20:45 +01:00
|
|
|
# New ports collection makefile for: p5-Apache-DBI
|
|
|
|
# Date created: 21 December 1999
|
|
|
|
# Whom: Igor Vinokurov <igor@zynaps.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2008-08-28 20:30:27 +02:00
|
|
|
PORTNAME?= Apache-DBI
|
2011-10-08 20:57:31 +02:00
|
|
|
PORTVERSION= 1.11
|
1999-12-27 03:20:45 +01:00
|
|
|
CATEGORIES= www databases perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
1999-12-27 03:20:45 +01:00
|
|
|
|
2010-04-29 19:32:08 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2008-08-28 20:30:27 +02:00
|
|
|
COMMENT?= DBI persistent connection, authentication and authorization
|
|
|
|
|
2009-12-15 06:47:45 +01:00
|
|
|
SLAVEDIRS= www/p5-Apache-DBI-mp1 www/p5-Apache-DBI-mp2
|
1999-12-27 03:20:45 +01:00
|
|
|
|
2007-07-03 21:59:13 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
|
|
|
|
2009-12-15 06:47:45 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 08:27:56 +02:00
|
|
|
|
2006-01-24 10:40:50 +01:00
|
|
|
MAN3= Apache::DBI.3 Apache::AuthDBI.3
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
2011-05-23 00:09:29 +02:00
|
|
|
USE_APACHE?= 13+
|
2011-06-12 03:14:14 +02:00
|
|
|
|
2011-05-23 00:09:29 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# prevent from direct including
|
|
|
|
# ports should use one of the SLAVEPORTS
|
|
|
|
.if !defined(PKGNAMESUFFIX)
|
2011-06-12 03:14:14 +02:00
|
|
|
IGNORE= use ${SLAVEDIRS} instead
|
2011-05-23 00:09:29 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MODPERL) && ${APACHE_VERSION} > 13
|
2011-06-12 03:14:14 +02:00
|
|
|
IGNORE= mod_perl require apache13 but ${APACHE_PORT} is installed
|
2011-05-23 00:09:29 +02:00
|
|
|
.elif defined(WITH_MODPERL2) && ${APACHE_VERSION} < 20
|
2011-06-12 03:14:14 +02:00
|
|
|
IGNORE= mod_perl2 require at last apache20 but ${APACHE_PORT} is installed
|
2011-05-23 00:09:29 +02:00
|
|
|
.endif
|
2006-01-24 10:40:50 +01:00
|
|
|
|
2003-06-20 10:17:55 +02:00
|
|
|
.if defined(WITH_MODPERL2)
|
2006-06-02 11:53:28 +02:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
|
2008-08-28 20:30:27 +02:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
|
2003-06-20 10:17:55 +02:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
2008-08-28 20:30:27 +02:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
2003-06-20 10:17:55 +02:00
|
|
|
.endif
|
2006-12-22 14:49:38 +01:00
|
|
|
|
2009-12-15 06:47:45 +01:00
|
|
|
PLIST_FILES= %%SITE_PERL%%/Apache/DBI.pm \
|
2011-06-12 03:14:14 +02:00
|
|
|
%%SITE_PERL%%/Apache/AuthDBI.pm \
|
|
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DBI/.packlist
|
|
|
|
|
|
|
|
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DBI
|
2008-08-28 20:30:27 +02:00
|
|
|
|
2011-06-12 03:14:14 +02:00
|
|
|
PLIST_DIRSTRY= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache \
|
|
|
|
%%SITE_PERL%%/Apache
|
2008-08-28 20:30:27 +02:00
|
|
|
|
2011-05-23 00:09:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|