aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql82-server
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-10-20 21:07:29 +0000
committerChris Rees <crees@FreeBSD.org>2011-10-20 21:07:29 +0000
commit213e27c72bec3a4c5caed9f5eec6139762ab982c (patch)
tree5d9128cb92e4d3ab4cd13d51705aec249034d584 /databases/postgresql82-server
parent8e2df11eddd35afd5315d9a7feabb817846b8030 (diff)
downloadports-213e27c72bec3a4c5caed9f5eec6139762ab982c.tar.gz
ports-213e27c72bec3a4c5caed9f5eec6139762ab982c.zip
Notes
Diffstat (limited to 'databases/postgresql82-server')
-rw-r--r--databases/postgresql82-server/Makefile3
-rw-r--r--databases/postgresql82-server/pkg-plist-server1
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index a3c25f582d12..7fb3ddb9ef77 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/Makefile
@@ -91,8 +91,6 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-openssl
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(SLAVE_ONLY)
OPTIONS+= PAM "Build with PAM support (server only)" off
OPTIONS+= LDAP "Build with LDAP authentication support" off
@@ -233,6 +231,7 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
savepoint.7 values.7
.endif
+PLIST_SUB+= PG_USER=$(PG_USER)
SUB_LIST+= PG_GROUP=$(PG_GROUP) \
PG_USER=$(PG_USER) \
PG_UID=$(PG_UID)
diff --git a/databases/postgresql82-server/pkg-plist-server b/databases/postgresql82-server/pkg-plist-server
index f78ba2187495..b0469332e170 100644
--- a/databases/postgresql82-server/pkg-plist-server
+++ b/databases/postgresql82-server/pkg-plist-server
@@ -750,3 +750,4 @@ share/postgresql/timezonesets/Pacific.txt
@dirrmtry etc/periodic/daily
@dirrmtry etc/periodic
@dirrmtry lib/postgresql
+@dirrmtry %%PG_USER%%