- Add DEBUG option

- Look for sasl2 in LOCALBASE instead of PREFIX

PR:		ports/123955
Submitted by:	Tomoyuki Sakurai <cherry@trombik.org>
Approved by:	maintainer timeout (se; 2 months)
This commit is contained in:
Pav Lucistnik 2008-08-01 12:06:53 +00:00
parent 6954462c92
commit 0e0a00e01a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217912

View file

@ -14,7 +14,8 @@ MASTER_SITES= http://qosient.com/argus/src/ \
MAINTAINER= se@freebsd.org
COMMENT= Client programs for the argus IP network transaction auditing tool
OPTIONS+= SASL "SASL authentication support 1" on
OPTIONS+= SASL "SASL authentication support 1" on \
DEBUG "Enable debug" off
.include <bsd.port.pre.mk>
@ -27,7 +28,7 @@ USE_BISON= build
GNU_CONFIGURE= true
.if defined(WITH_SASL)
CONFIGURE_ARGS+= --with-sasl=${PREFIX}
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
.endif
MAN1= ra.1 rabins.1 racluster.1 racount.1 ragraph.1 ragrep.1 rahisto.1 \
@ -35,6 +36,11 @@ MAN1= ra.1 rabins.1 racluster.1 racount.1 ragraph.1 ragrep.1 rahisto.1 \
MAN5= racluster.5 radium.conf.5 rarc.5
MAN8= radium.8
pre-configure:
.if defined(WITH_DEBUG)
${TOUCH} ${WRKSRC}/.debug
.endif
do-install:
.for i in ra rabins racluster racount radump rafilteraddr \
ragrep rahisto ralabel ranonymize rapath rapolicy \