aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-06-18 03:50:25 +0800
committerantoine <antoine@FreeBSD.org>2013-06-18 03:50:25 +0800
commitbc8e5e848f147205be5461cd7a858bab2161d8ca (patch)
tree52bb0a7f365d4ff9595a751a4aecdf175a8e2baa /mail
parent9c41935970eb6551ff40a7f12a2bd90a0b9de405 (diff)
downloadfreebsd-ports-gnome-bc8e5e848f147205be5461cd7a858bab2161d8ca.tar.gz
freebsd-ports-gnome-bc8e5e848f147205be5461cd7a858bab2161d8ca.tar.zst
freebsd-ports-gnome-bc8e5e848f147205be5461cd7a858bab2161d8ca.zip
Add a directory created by the port to pkg-plist
Diffstat (limited to 'mail')
-rw-r--r--mail/exact/Makefile8
-rw-r--r--mail/exact/pkg-plist3
2 files changed, 6 insertions, 5 deletions
diff --git a/mail/exact/Makefile b/mail/exact/Makefile
index 3fe55540d8f8..a9156ae9d543 100644
--- a/mail/exact/Makefile
+++ b/mail/exact/Makefile
@@ -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
diff --git a/mail/exact/pkg-plist b/mail/exact/pkg-plist
index b4965bf95dab..38ba9fd53f26 100644
--- a/mail/exact/pkg-plist
+++ b/mail/exact/pkg-plist
@@ -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