diff options
author | asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
commit | 827e1cc9e26d648ff6fe6cb649d03fb08d2998a9 (patch) | |
tree | b5ece043b8a3ce123d3c945f7244a9aae8113bc5 /databases | |
parent | 5d9fd8ad088a79a9af74a1f8e90cd9be659412bb (diff) | |
download | FreeBSD-ports-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.zip FreeBSD-ports-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.tar.gz |
Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around
in that case.
Diffstat (limited to 'databases')
34 files changed, 136 insertions, 34 deletions
diff --git a/databases/mysql322-client/Makefile b/databases/mysql322-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql322-client/Makefile +++ b/databases/mysql322-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql322-server/Makefile b/databases/mysql322-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql322-server/Makefile +++ b/databases/mysql322-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql323-client/Makefile b/databases/mysql323-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql323-client/Makefile +++ b/databases/mysql323-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql323-server/Makefile +++ b/databases/mysql323-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql40-client/Makefile b/databases/mysql40-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql40-client/Makefile +++ b/databases/mysql40-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql41-client/Makefile +++ b/databases/mysql41-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql41-server/Makefile +++ b/databases/mysql41-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql50-client/Makefile +++ b/databases/mysql50-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql50-server/Makefile +++ b/databases/mysql50-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql51-client/Makefile +++ b/databases/mysql51-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql54-client/Makefile b/databases/mysql54-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql54-client/Makefile +++ b/databases/mysql54-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql54-server/Makefile +++ b/databases/mysql54-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql55-client/Makefile +++ b/databases/mysql55-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql60-client/Makefile b/databases/mysql60-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql60-client/Makefile +++ b/databases/mysql60-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/mysql60-server/Makefile +++ b/databases/mysql60-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/percona55-client/Makefile b/databases/percona55-client/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/percona55-client/Makefile +++ b/databases/percona55-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile index 160fa8b..0dc20e5 100644 --- a/databases/percona55-server/Makefile +++ b/databases/percona55-server/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach <josh@ican.net> # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql-devel-server/Makefile +++ b/databases/postgresql-devel-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql-devel/Makefile +++ b/databases/postgresql-devel/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql7/Makefile b/databases/postgresql7/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql7/Makefile +++ b/databases/postgresql7/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql73-server/Makefile +++ b/databases/postgresql73-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql73/Makefile +++ b/databases/postgresql73/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql74-server/Makefile +++ b/databases/postgresql74-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql80-server/Makefile +++ b/databases/postgresql80-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql81-server/Makefile +++ b/databases/postgresql81-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql82-server/Makefile +++ b/databases/postgresql82-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql91-server/Makefile +++ b/databases/postgresql91-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index 1c98bc4..acbe10c 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser |