1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/apache22-itk-mpm/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

40 lines
937 B
Makefile

# $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
DESCR= ${.CURDIR}/pkg-descr
MPM_ITK_VERSION?= 20110321-01
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"