blob: a362dc78a7b74e613f7f55e486683df285c306f9 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: mod_perl2
# Date created: February 13th 2003
# Whom: Lars Eggert <larse@isi.edu>
#
# $FreeBSD$
#
PORTNAME= mod_perl
PORTVERSION= 1.99r18
CATEGORIES= www perl5
MASTER_SITES= http://perl.apache.org/dist/ \
http://perl.apache.org/dist/old/
PKGNAMESUFFIX= 2
DISTNAME= ${PORTNAME}-2.0.0-RC1
MAINTAINER= lars.eggert@gmx.net
COMMENT= Embeds a Perl interpreter in the Apache2 server
# no idea why they still call it r18 when the tarball is 2.0.0-RC1
# PORTVERSION= 2.0.0r1
# DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-RC/}
USE_APACHE= yes
WITH_APACHE2= yes
PERL_CONFIGURE= yes
GMAKE= yes
CONFIGURE_ARGS= MP_APXS=${LOCALBASE}/sbin/apxs \
MP_INST_APACHE2=1 PREFIX=${PREFIX}
MAN3= Apache::Build.3 Apache::Test.3 Apache::TestConfig.3 \
Apache::TestMB.3 Apache::TestMM.3 Apache::TestReport.3 \
Apache::TestRequest.3 Apache::TestRun.3 Apache::TestRunPHP.3 \
Apache::TestRunPerl.3 Apache::TestSmoke.3 \
Apache::TestTrace.3 Apache::TestUtil.3 Bundle::Apache2.3 \
Bundle::ApacheTest.3 ModPerl::CScan.3 ModPerl::Code.3 \
ModPerl::Config.3 mod_perl.3
.include <bsd.port.pre.mk>
# it is time to require perl 5.8.x
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 then try again
.endif
post-install:
${MKDIR} ${PREFIX}/include/apache2/modules/perl
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
${PREFIX}/include/apache2/modules/perl
${MKDIR} ${PREFIX}/libexec/apache2
${INSTALL_PROGRAM} ${WRKSRC}/src/modules/perl/mod_perl.so \
${PREFIX}/libexec/apache2/mod_perl.so
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|