- integrate COMMENT's
- bump NEED_VERSION - use PKGNAME-foo instead of overriding PKGNAME - fixup INSTALL/DEINSTALL - takeover as MAINTAINER until Pavel has a working e-mail address that doesn't bounce.
This commit is contained in:
parent
1eabde0bc3
commit
cc6ce411e4
@ -1,15 +1,22 @@
|
|||||||
# $OpenBSD: Makefile,v 1.45 2001/03/10 19:27:15 brad Exp $
|
# $OpenBSD: Makefile,v 1.46 2001/04/13 07:00:44 brad Exp $
|
||||||
# $FreeBSD: Makefile,v 1.25 1998/04/22 08:28:07 asami Exp $
|
# $FreeBSD: Makefile,v 1.25 1998/04/22 08:28:07 asami Exp $
|
||||||
|
|
||||||
|
COMMENT= "PostgreSQL RDBMS"
|
||||||
|
COMMENT-clients="PostgreSQL RDBMS clients"
|
||||||
|
COMMENT-docs= "PostgreSQL RDBMS documentation"
|
||||||
|
|
||||||
VERSION= 7.0.3
|
VERSION= 7.0.3
|
||||||
DISTNAME= postgresql-${VERSION}
|
DISTNAME= postgresql-${VERSION}
|
||||||
PKGNAME= pgsql-${VERSION}
|
PKGNAME= pgsql-${VERSION}
|
||||||
|
PKGNAME-clients=pgsql-clients-${VERSION}
|
||||||
|
PKGNAME-docs= pgsql-docs-${VERSION}
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
NEED_VERSION= 1.356
|
NEED_VERSION= 1.384
|
||||||
|
|
||||||
HOMEPAGE= http://www.postgresql.org/
|
HOMEPAGE= http://www.postgresql.org/
|
||||||
|
|
||||||
MAINTAINER= Pavel Korovin <pvk@openbsd.ru>
|
#MAINTAINER= Pavel Korovin <pvk@openbsd.ru>
|
||||||
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||||
|
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
PERMIT_PACKAGE_FTP= Yes
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
@ -73,7 +80,7 @@ MULTI_PACKAGES= -clients -docs
|
|||||||
SUBPACKAGE?=
|
SUBPACKAGE?=
|
||||||
|
|
||||||
## build dependencies
|
## build dependencies
|
||||||
USE_GMAKE= Yes
|
USE_GMAKE= Yes
|
||||||
.if ${FLAVOR:L:Mtcl}
|
.if ${FLAVOR:L:Mtcl}
|
||||||
LIB_DEPENDS= tk83::x11/tk/8.3
|
LIB_DEPENDS= tk83::x11/tk/8.3
|
||||||
.endif
|
.endif
|
||||||
@ -153,12 +160,6 @@ post-install:
|
|||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.if ${SUBPACKAGE} == "-clients"
|
|
||||||
PKGNAME:= pgsql-clients-${VERSION}
|
|
||||||
.elif ${SUBPACKAGE} == "-docs"
|
|
||||||
PKGNAME:= pgsql-docs-${VERSION}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${FLAVOR:L:Mtcl} && !defined(NO_SHARED_LIBS)
|
.if ${FLAVOR:L:Mtcl} && !defined(NO_SHARED_LIBS)
|
||||||
SED_PLIST+=-e '/%%SHARED-tcl%%/r${PKGDIR}/PFRAG.tcl.shared' -e '//d'
|
SED_PLIST+=-e '/%%SHARED-tcl%%/r${PKGDIR}/PFRAG.tcl.shared' -e '//d'
|
||||||
.else if ${FLAVOR:L:Mtcl} && defined(NO_SHARED_LIBS) && \
|
.else if ${FLAVOR:L:Mtcl} && defined(NO_SHARED_LIBS) && \
|
||||||
|
@ -1 +0,0 @@
|
|||||||
PostgreSQL RDBMS
|
|
@ -1 +0,0 @@
|
|||||||
PostgreSQL RDBMS clients
|
|
@ -1 +0,0 @@
|
|||||||
PostgreSQL RDBMS documentation
|
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $OpenBSD: DEINSTALL,v 1.1 1999/11/11 02:13:42 kevlo Exp $
|
# $OpenBSD: DEINSTALL,v 1.2 2001/04/13 07:00:46 brad Exp $
|
||||||
#
|
#
|
||||||
# postgresql de-installation
|
# postgresql de-installation
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ echo "+---------------"
|
|||||||
echo "| To completely deinstall the $1 package you need to perform"
|
echo "| To completely deinstall the $1 package you need to perform"
|
||||||
echo "| these steps as root:"
|
echo "| these steps as root:"
|
||||||
echo "|"
|
echo "|"
|
||||||
echo "| rm -rf ${PGPREFIX}"
|
echo "| rm -rf $PGPREFIX"
|
||||||
echo "| rmuser pgsql"
|
echo "| rmuser pgsql"
|
||||||
echo "|"
|
echo "|"
|
||||||
echo "| Do not do this if you plan on re-installing postgresql package"
|
echo "| Do not do this if you plan on re-installing postgresql package"
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $OpenBSD: INSTALL,v 1.1 1999/11/11 02:13:43 kevlo Exp $
|
# $OpenBSD: INSTALL,v 1.2 2001/04/13 07:00:46 brad Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# exit on errors, use a sane path and install prefix
|
||||||
|
#
|
||||||
|
set -e
|
||||||
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
|
|
||||||
# Pre/post-installation setup of postgresql
|
# Pre/post-installation setup of postgresql
|
||||||
|
|
||||||
# Function: tell the user what s/he needs to do to use the port just installed
|
# Function: tell the user what s/he needs to do to use the port just installed
|
||||||
@ -11,18 +18,12 @@ do_notice()
|
|||||||
echo
|
echo
|
||||||
echo "+---------------"
|
echo "+---------------"
|
||||||
echo "| The $1 package installation completed."
|
echo "| The $1 package installation completed."
|
||||||
echo "| See ${PREFIX}/share/doc/pgsql/README.OpenBSD for"
|
echo "| See $PREFIX/share/doc/pgsql/README.OpenBSD for"
|
||||||
echo "| information on using PostgreSQL package in OpenBSD environment."
|
echo "| information on using PostgreSQL package in OpenBSD environment."
|
||||||
echo "+---------------"
|
echo "+---------------"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
# exit on errors, use a sane path and install prefix
|
|
||||||
#
|
|
||||||
set -e
|
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
||||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
||||||
|
|
||||||
# verify proper execution
|
# verify proper execution
|
||||||
#
|
#
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user