Lines 7-15
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= Apache-DBI |
8 |
PORTNAME= Apache-DBI |
9 |
PORTVERSION= 1.00 |
9 |
PORTVERSION= 1.00 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= www databases perl5 |
11 |
CATEGORIES= www databases perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= Apache |
13 |
MASTER_SITE_SUBDIR= ../../authors/id/P/PG/PGOLLUCCI |
13 |
PKGNAMEPREFIX= p5- |
14 |
PKGNAMEPREFIX= p5- |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION}_01 |
15 |
DISTNAME= ${PORTNAME}-${PORTVERSION}_01 |
15 |
|
16 |
|
Lines 24-35
Link Here
|
24 |
.include <bsd.port.pre.mk> |
25 |
.include <bsd.port.pre.mk> |
25 |
|
26 |
|
26 |
.if defined(WITH_MODPERL2) |
27 |
.if defined(WITH_MODPERL2) |
27 |
.if exists(${APXS}) |
28 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 |
28 |
APACHE_MODULE_DIR!=${APXS} -q LIBEXECDIR |
|
|
29 |
.else |
30 |
APACHE_MODULE_DIR?=${PREFIX}/libexec/apache2 |
31 |
.endif |
32 |
RUN_DEPENDS+= ${APACHE_MODULE_DIR}/mod_perl.so:${PORTSDIR}/www/mod_perl2 |
33 |
.else |
29 |
.else |
34 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl |
30 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl |
35 |
.endif |
31 |
.endif |