diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-19 09:04:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-19 09:04:02 +0000 |
commit | 5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 (patch) | |
tree | 185ab29c04b06eec36c6497410047b36b8b6958d /databases | |
parent | 26ffd9ecf001eea6ac61f806c06dfb733a4c6634 (diff) | |
download | pkgsrc-5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6.tar.gz |
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/openldap/Makefile | 12 | ||||
-rw-r--r-- | databases/postgresql-server/Makefile | 4 |
2 files changed, 2 insertions, 14 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 0eba60899c4..a180a5931b9 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2002/08/25 18:38:23 jlam Exp $ +# $NetBSD: Makefile,v 1.47 2002/09/19 09:04:07 jlam Exp $ DISTNAME= openldap-2.0.25 SVR4_PKGNAME= oldap @@ -81,17 +81,7 @@ SUPPORT_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE} .endfor RCD_SCRIPTS= slapd -post-build: - @for script in ${RCD_SCRIPTS}; do \ - ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \ - > ${WRKDIR}/$${script}; \ - done - post-install: - for script in ${RCD_SCRIPTS}; do \ - ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \ - ${PREFIX}/etc/rc.d/$${script}; \ - done ${INSTALL_DATA_DIR} ${EGDIR}/schema for file in ${CNFS} ${CNFS_PERMS} ${SUPPS}; do \ if [ ! -e ${PKG_SYSCONFDIR}/$${file}.default ]; then \ diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile index e05e183ca81..27d987e0849 100644 --- a/databases/postgresql-server/Makefile +++ b/databases/postgresql-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2002/09/18 21:15:09 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2002/09/19 09:04:08 jlam Exp $ PKGNAME= postgresql-server-${BASE_VERS} COMMENT= PostgreSQL database server programs @@ -63,7 +63,6 @@ pre-install: ${FALSE}; \ ;; \ esac - ${SED} ${FILES_SUBST_SED} ${FILESDIR}/pgsql.sh > ${WRKDIR}/pgsql.sh do-install: .for DIR in ${DIRS_TO_BUILD} @@ -74,7 +73,6 @@ do-install: post-install: ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \ `${SED} -e "s|^#.*||" ${FILESDIR}/man.server` - ${INSTALL_SCRIPT} ${WRKDIR}/pgsql.sh ${PREFIX}/etc/rc.d/pgsql .include "../../databases/postgresql-lib/buildlink2.mk" .include "../../mk/bsd.pkg.install.mk" |