mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
aa25396790
Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
31 lines
786 B
Makefile
31 lines
786 B
Makefile
# Provide support for Varnish
|
|
#
|
|
# Feature: varnish
|
|
# Usage: USES=varnish
|
|
# Valid ARGS: 4, 6, 7, run
|
|
#
|
|
# MAINTAINER: ports@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_VARNISH_MK)
|
|
_INCLUDE_USES_VARNISH_MK= yes
|
|
|
|
VARNISH_VERSION= ${VARNISH_DEFAULT}
|
|
|
|
. if ${varnish_ARGS:M4}
|
|
VARNISH_VERSION= 4
|
|
. elif ${varnish_ARGS:M6}
|
|
VARNISH_VERSION= 6
|
|
. elif ${varnish_ARGS:M7}
|
|
VARNISH_VERSION= 7
|
|
. elif defined(VARNISH_DEFAULT)
|
|
. endif
|
|
|
|
RUN_DEPENDS+= varnish${VARNISH_VERSION}>=${VARNISH_VERSION}:www/varnish${VARNISH_VERSION}
|
|
BUILD_DEPENDS+= varnish${VARNISH_VERSION}>=${VARNISH_VERSION}:www/varnish${VARNISH_VERSION}
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
.endif
|