summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>1999-12-28 04:56:09 +0000
committerwiz <wiz@pkgsrc.org>1999-12-28 04:56:09 +0000
commit65954a0c01ac3d287a24923403342eb2051f0810 (patch)
tree53bc3ed7d4f4c1b46800de6ac3aa483723bd7c89 /databases
parent5f7a4ca6c7d2f74c4ff755e91f1fb170900e8c97 (diff)
downloadpkgsrc-65954a0c01ac3d287a24923403342eb2051f0810.tar.gz
replaced some commands by their ${COMMAND} counterparts
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql/Makefile4
-rw-r--r--databases/zope-mysql/Makefile10
2 files changed, 7 insertions, 7 deletions
diff --git a/databases/postgresql/Makefile b/databases/postgresql/Makefile
index bc5010e0aae..4e9ef9bc3c8 100644
--- a/databases/postgresql/Makefile
+++ b/databases/postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 1999/12/02 01:47:05 darcy Exp $
+# $NetBSD: Makefile,v 1.44 1999/12/28 04:56:09 wiz Exp $
# FreeBSD Id: Makefile,v 1.22 1997/12/24 01:21:37 alex Exp
#
@@ -168,6 +168,6 @@ post-install:
@${CHOWN} -R ${PGUSER}:${PGGROUP} ${PGPREFIX}
@${ECHO} 'Initializing PostgreSQL Databases - this may take a few minutes...'
- @${ECHO} '${SETENV} PATH=${PGPREFIX}/bin:$$PATH ${PGPREFIX}/bin/initdb --pglib=${PGPREFIX}/lib --pgdata=${PGPREFIX}/data' | su -l ${PGUSER}
+ @${ECHO} '${SETENV} PATH=${PGPREFIX}/bin:$$PATH ${PGPREFIX}/bin/initdb --pglib=${PGPREFIX}/lib --pgdata=${PGPREFIX}/data' | ${SU} -l ${PGUSER}
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/zope-mysql/Makefile b/databases/zope-mysql/Makefile
index 7e0a470cc18..5ea0668ae97 100644
--- a/databases/zope-mysql/Makefile
+++ b/databases/zope-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/12/17 11:17:59 agc Exp $
+# $NetBSD: Makefile,v 1.7 1999/12/28 04:56:10 wiz Exp $
#
DISTNAME= ZMySQLDA-1.1.3-nonbin
@@ -23,14 +23,14 @@ do-configure:
(cd ${WRKDIR}/${DAPATH}; ${RM} -rf Makefile* *.pyc *.orig src Setup)
do-build:
-
+
do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
- (cd ${WRKDIR}; pax -r -w lib ${ZOPEDIR})
- chmod -R a+rX ${ZOPEDIR}/${DAPATH}
+ (cd ${WRKDIR}; ${PAX} -r -w lib ${ZOPEDIR})
+ ${CHMOD} -R a+rX ${ZOPEDIR}/${DAPATH}
${PREFIX}/bin/python ${PREFIX}/lib/python1.5/compileall.py \
${WRKDIR}/${DAPATH}
- (cd ${PREFIX}; find lib/zope/${DAPATH} -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} lib/zope/${DAPATH} -type f -print >>${PLIST_SRC})
${ECHO} "@dirrm lib/zope/${DAPATH}" >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"