blob: 319e7a731adb9f4c16b3800f893397a1a2e59166 (
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
|
# New ports collection makefile for: Apache::Reload
# Date created: 15 Jan 2001
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Apache-Reload
PORTVERSION= 0.10
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Reload changed modules
PERL_CONFIGURE= yes
MAN3= Apache2::Reload.3 Apache::Reload.3
.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
MAKE_ENV+= MOD_PERL=2
_APACHE= Apache2
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
MAKE_ENV+= MOD_PERL=1
_APACHE= Apache
.endif
PLIST_DIRS= %%SITE_PERL%%/Apache2 \
%%SITE_PERL%%/Apache \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/${_APACHE}/Reload
PLIST_FILES= %%SITE_PERL%%/%%PERL_ARCH%%/auto/${_APACHE}/Reload/.packlist \
%%SITE_PERL%%/Apache2/Reload.pm \
%%SITE_PERL%%/Apache/Reload.pm
.include <bsd.port.post.mk>
|