summaryrefslogtreecommitdiff
path: root/www/ap-perl/Makefile
blob: c25a0153eddabaacd2777b942af660edb5d80ac9 (plain)
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
# $NetBSD: Makefile,v 1.53 2014/05/29 23:37:55 wiz Exp $
#

DISTNAME=		mod_perl-1.31
PKGNAME=		ap13-perl-1.31
PKGREVISION=		3
CATEGORIES=		www perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=Apache/} \
			http://perl.apache.org/dist/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://perl.apache.org/
COMMENT=		Module that embeds a Perl interpreter into Apache
LICENSE=		apache-1.1

CONFLICTS=		ap-perl-[0-9]*
CONFLICTS+=		ap2-perl-[0-9]*

DEPENDS+=		${BUILDLINK_API_DEPENDS.apache}:../../www/apache
DEPENDS+=		p5-BSD-Resource>=1.10:../../devel/p5-BSD-Resource

APACHE_MODULE=		YES
PERL5_PACKLIST=		auto/mod_perl/.packlist

MAKE_PARAMS+=		USE_APXS=1
MAKE_PARAMS+=		WITH_APXS=${APXS}
MAKE_PARAMS+=		EVERYTHING=1

INSTALLATION_DIRS+=	lib/httpd share/httpd/htdocs/manual/mod

.include "../../lang/perl5/module.mk"
.include "../../www/apache/buildlink3.mk"

post-install:
	${INSTALL_LIB} ${WRKSRC}/apaci/libperl.so \
	    ${DESTDIR}${PREFIX}/lib/httpd/mod_perl.so
	${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/mod_perl.html \
	    ${DESTDIR}${PREFIX}/share/httpd/htdocs/manual/mod

.include "../../mk/bsd.pkg.mk"