svn commit: r321149 - head/mail/exact

Antoine Brodin antoine at FreeBSD.org
Mon Jun 17 19:50:26 UTC 2013


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 at uct.ac.za
-#
+# Created by: mwest at 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
+ at exec mkdir -p %%EXACTDIR%%
+ at exec chown %%MAILUSER%%:%%MAILGROUP%% %%EXACTDIR%%
+ at unexec rmdir %%EXACTDIR%% 2>/dev/null || true


More information about the svn-ports-head mailing list