Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 19:50:26 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321149 - head/mail/exact
Message-ID:  <201306171950.r5HJoQsx016323@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jun 17 19:50:25 2013
New Revision: 321149
URL: http://svnweb.freebsd.org/changeset/ports/321149

Log:
  Add a directory created by the port to pkg-plist

Modified:
  head/mail/exact/Makefile
  head/mail/exact/pkg-plist

Modified: head/mail/exact/Makefile
==============================================================================
--- head/mail/exact/Makefile	Mon Jun 17 19:41:46 2013	(r321148)
+++ head/mail/exact/Makefile	Mon Jun 17 19:50:25 2013	(r321149)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	exact
-# Date created:				26/05/2003
-# Whom:					mwest@uct.ac.za
-#
+# Created by: mwest@uct.ac.za
 # $FreeBSD$
-#
 
 PORTNAME=	exact
 PORTVERSION=	1.41
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://adju.st/dist/exact/
 
@@ -17,6 +14,7 @@ MAILUSER?=	mailnull
 MAILGROUP?=	mailnull
 MAILLOG?=	/var/log/maillog
 EXACTDIR?=	/var/exact
+PLIST_SUB+=	MAILUSER=${MAILUSER} MAILGROUP=${MAILGROUP} EXACTDIR=${EXACTDIR}
 
 FETCH_CMD=	/usr/bin/fetch -Rr
 USE_GMAKE=	yes

Modified: head/mail/exact/pkg-plist
==============================================================================
--- head/mail/exact/pkg-plist	Mon Jun 17 19:41:46 2013	(r321148)
+++ head/mail/exact/pkg-plist	Mon Jun 17 19:50:25 2013	(r321149)
@@ -1,3 +1,6 @@
 sbin/exact
 etc/exact.conf.sample
 etc/rc.d/exact.sh
+@exec mkdir -p %%EXACTDIR%%
+@exec chown %%MAILUSER%%:%%MAILGROUP%% %%EXACTDIR%%
+@unexec rmdir %%EXACTDIR%% 2>/dev/null || true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306171950.r5HJoQsx016323>