aboutsummaryrefslogtreecommitdiff
path: root/www/apache22-itk-mpm/Makefile
blob: 44d7e579814b6ca21679eaf5a1830afedc586cd3 (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
# $FreeBSD$

# To build this port with the additional mpm-itk-perdir-regex
# patch use -DWITH_ITK_PERDIR_REGEX
#
# To build this port with the additional mpm-itk-limits
# patch use -DWITH_ITK_LIMITS
#
# Note:
# It's not possible to use both patches together
#
# For a quick description take a look into the mpm-itk* patches
# in the files directory

MASTERDIR=		${.CURDIR}/../apache22

MAINTAINER=		apache@FreeBSD.org

WITH_MPM=		itk

LATEST_LINK=		apache22-${WITH_MPM}-mpm
DESCR=			${.CURDIR}/pkg-descr

MPM_ITK_VERSION?=	20110321-01
NO_STAGE=	yes

EXTRA_PATCHES+=		${.CURDIR}/files/mpm-itk-${MPM_ITK_VERSION}

.if defined (WITH_ITK_PERDIR_REGEX) && defined (WITH_ITK_LIMITS)
IGNORE=	use only one patch option not both (WITH_ITK_PERDIR_REGEX or WITH_ITK_LIMITS)
.endif

.if defined (WITH_ITK_PERDIR_REGEX)
EXTRA_PATCHES+=		${.CURDIR}/files/mpm-itk-perdir-regex
.endif

.if defined (WITH_ITK_LIMITS)
EXTRA_PATCHES+=		${.CURDIR}/files/mpm-itk-limits
.endif

.include "${MASTERDIR}/Makefile"