svn commit: r354367 - head/security/clamav

Renato Botelho garga at FreeBSD.org
Sat May 17 20:26:30 UTC 2014


Author: garga
Date: Sat May 17 20:26:29 2014
New Revision: 354367
URL: http://svnweb.freebsd.org/changeset/ports/354367
QAT: https://qat.redports.org/buildarchive/r354367/

Log:
  Fix plist with old pkg_ tools

Modified:
  head/security/clamav/Makefile
  head/security/clamav/pkg-plist

Modified: head/security/clamav/Makefile
==============================================================================
--- head/security/clamav/Makefile	Sat May 17 20:17:25 2014	(r354366)
+++ head/security/clamav/Makefile	Sat May 17 20:26:29 2014	(r354367)
@@ -3,7 +3,7 @@
 
 PORTNAME=	clamav
 PORTVERSION=	0.98.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF
 
@@ -58,11 +58,12 @@ PORTDOCS=	*
 DBDIR=		/var/db/clamav
 LOGDIR=		/var/log/clamav
 RUNDIR=		/var/run/clamav
-PLIST_SUB+=	DBDIR=${DBDIR} \
-		LOGDIR=${LOGDIR} \
-		RUNDIR=${RUNDIR} \
+PLIST_SUB+=	DBDIR=${DBDIR:S/^\///} \
+		LOGDIR=${LOGDIR:S/^\///} \
+		RUNDIR=${RUNDIR:S/^\///} \
 		CLAMAVUSER=${CLAMAVUSER} \
-		CLAMAVGROUP=${CLAMAVGROUP}
+		CLAMAVGROUP=${CLAMAVGROUP} \
+		RESETPREFIX=${PREFIX}
 PY_NO_THREAD=	${WRKDIR}/.python-has-no-threads
 USE_AUTOTOOLS=	libltdl
 OPTIONS_SUB=	yes

Modified: head/security/clamav/pkg-plist
==============================================================================
--- head/security/clamav/pkg-plist	Sat May 17 20:17:25 2014	(r354366)
+++ head/security/clamav/pkg-plist	Sat May 17 20:26:29 2014	(r354367)
@@ -45,3 +45,4 @@ man/man8/clamd.8.gz
 @dirrmtry %%RUNDIR%%
 @group
 @owner
+ at cwd %%RESETPREFIX%%


More information about the svn-ports-all mailing list