aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql74-server/Makefile
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-08-22 19:01:07 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-08-22 19:01:07 +0000
commit5281212be38447df70380d4e9e8cd0ef1cf11517 (patch)
tree655e734faae358d2c0edeefd08e9aeac6202b150 /databases/postgresql74-server/Makefile
parentacfa648bd4bbbfcd4dd84f668832b2ab47009cbd (diff)
downloadports-5281212be38447df70380d4e9e8cd0ef1cf11517.tar.gz
ports-5281212be38447df70380d4e9e8cd0ef1cf11517.zip
chmod -> ${CHMOD}
chown -> ${CHOWN}
Notes
Notes: svn path=/head/; revision=20885
Diffstat (limited to 'databases/postgresql74-server/Makefile')
-rw-r--r--databases/postgresql74-server/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index 2e30cb0dcb70..920f675abe20 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-server/Makefile
@@ -3,7 +3,7 @@
# Date created: November 13, 1998
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.43 1999/06/29 20:21:18 andreas Exp $
+# $Id: Makefile,v 1.44 1999/07/21 07:16:25 andreas Exp $
#
DISTNAME= postgresql-6.5.1
@@ -159,14 +159,14 @@ post-install:
${ECHO} "#export TZ" \
>> ${PREFIX}/pgsql/.profile; \
fi
- @ chown -R pgsql:pgsql ${PREFIX}/pgsql
+ @ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
@ ${ECHO} 'Initializing PostgreSQL Databases - this may take a few minutes...'
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/pgsql/lib
@ su -l pgsql -c 'PATH=${PREFIX}/pgsql/bin:${PATH} ${PREFIX}/pgsql/bin/initdb --pglib=${PREFIX}/pgsql/lib --pgdata=${PREFIX}/pgsql/data'
@ ${SED} -e "s=!!PREFIX!!=${PREFIX}=g" < ${FILESDIR}/pgsql.sh.tmpl \
> ${PREFIX}/etc/rc.d/pgsql.sh
- @ chmod 554 ${PREFIX}/etc/rc.d/pgsql.sh
- @ chown root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
+ @ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
+ @ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)