aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql84-server/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-01-22 06:59:27 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-01-22 06:59:27 +0000
commit8575a6c9429d22a7cce80691cc623d60c638d41f (patch)
tree8f9b5f19a20db6d8ea463b211943b3bd6a08ba94 /databases/postgresql84-server/Makefile
parent747dd62de6bc0f875ed789019c47d745781894a2 (diff)
downloadports-8575a6c9429d22a7cce80691cc623d60c638d41f.tar.gz
ports-8575a6c9429d22a7cce80691cc623d60c638d41f.zip
Notes
Diffstat (limited to 'databases/postgresql84-server/Makefile')
-rw-r--r--databases/postgresql84-server/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 06264c59c3e4..321274c62771 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
DISTVERSION?= 8.4.10
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -280,7 +280,8 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \
savepoint.7 values.7 with.7
.endif
-PLIST_SUB+= PG_USER=$(PG_USER)
+PLIST_SUB+= PG_USER=$(PG_USER) \
+ PG_GROUP=$(PG_GROUP)
SUB_LIST+= PG_GROUP=$(PG_GROUP) \
PG_USER=$(PG_USER) \
PG_UID=$(PG_UID)
@@ -339,7 +340,7 @@ do-install:
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
${INSTALL_SCRIPT} ${WRKDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily
- ${MKDIR} ${LOCALBASE}/${PG_USER} && ${CHOWN} ${PG_USER}:${PG_GROUP} ${LOCALBASE}/${PG_USER}
+ ${MKDIR} ${PREFIX}/${PG_USER} && ${CHOWN} ${PG_USER}:${PG_GROUP} ${PREFIX}/${PG_USER}
. endif # SERVER_ONLY
. if defined(CLIENT_ONLY)
@ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} install-local