diff options
author | asami <asami@FreeBSD.org> | 1997-12-04 19:44:52 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-12-04 19:44:52 +0800 |
commit | 827e1cc9e26d648ff6fe6cb649d03fb08d2998a9 (patch) | |
tree | b5ece043b8a3ce123d3c945f7244a9aae8113bc5 /databases/postgresql82-server | |
parent | 5d9fd8ad088a79a9af74a1f8e90cd9be659412bb (diff) | |
download | freebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.tar.gz freebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.tar.zst freebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.zip |
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/postgresql82-server')
-rw-r--r-- | databases/postgresql82-server/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile index 1c98bc493c16..acbe10c0c3b1 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 |