diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2013-06-17 19:50:25 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2013-06-17 19:50:25 +0000 |
commit | ec8baec6a98184ebc62319d29a5aad2fb560fa16 (patch) | |
tree | 52bb0a7f365d4ff9595a751a4aecdf175a8e2baa /mail | |
parent | 79efd45f338ce8cd3a2223e055e9e91df91f3a84 (diff) | |
download | ports-ec8baec6a98184ebc62319d29a5aad2fb560fa16.tar.gz ports-ec8baec6a98184ebc62319d29a5aad2fb560fa16.zip |
Add a directory created by the port to pkg-plist
Notes
Notes:
svn path=/head/; revision=321149
Diffstat (limited to 'mail')
-rw-r--r-- | mail/exact/Makefile | 8 | ||||
-rw-r--r-- | mail/exact/pkg-plist | 3 |
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 |