# $OpenBSD: Makefile,v 1.59 2002/12/18 05:13:15 brad Exp $ COMMENT= "PostgreSQL RDBMS" COMMENT-clients="PostgreSQL RDBMS client libraries and utilities" COMMENT-docs= "PostgreSQL RDBMS documentation" VERSION= 7.3 DISTNAME= postgresql-${VERSION} PKGNAME-clients=postgresql-clients-${VERSION} PKGNAME-docs= postgresql-docs-${VERSION} CATEGORIES= databases HOMEPAGE= http://www.postgresql.org/ MAINTAINER= Brandon Palmer , \ Peter Galbavy PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= \ ftp://ftp.us.postgresql.org/source/v${VERSION}/ \ ftp://ftp.au.postgresql.org/pub/postgresql/source/v${VERSION}/ \ ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub/source/v${VERSION}/ \ ftp://ftp.cl.postgresql.org/pub/GNU/pgsql/source/v${VERSION}/ \ ftp://ftp.cz.postgresql.org/pub/ftp.postgresql.org/source/v${VERSION}/ \ ftp://ftp.dk.postgresql.org/mirrors/postgresql/source/v${VERSION}/ MULTI_PACKAGES= -clients -docs SUBPACKAGE?= MAKE_FILE= GNUmakefile SUBST_VARS= VERSION USE_GMAKE= Yes CONFIGURE_STYLE=gnu CONFIGURE_ENV= LIBS=-lcurses CONFIGURE_ARGS= --disable-rpath \ --enable-integer-datetimes \ --includedir="${PREFIX}/include/postgresql" \ --datadir="${PREFIX}/share/postgresql" \ --docdir="${PREFIX}/share/doc/postgresql" MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config INSTALL_TARGET= install install-all-headers # Regression tests must be done manually and not as root. Successful # runs have been achieved on the i386 using the following: # # $ ulimit -p 128 # $ ulimit -n 1024 # $ make regress NO_REGRESS=No # # Note, you may also need to change a variety of SYSV IPC parameters. # See files/README.OpenBSD for more details NO_REGRESS= Yes DOCS= ${WRKSRC}/COPYRIGHT ${WRKSRC}/HISTORY \ ${WRKSRC}/INSTALL ${WRKSRC}/README \ ${WRKSRC}/doc/README.mb.big5 ${WRKSRC}/doc/README.mb.jp \ ${WRKSRC}/register.txt \ ${WRKSRC}/doc/FAQ ${WRKSRC}/doc/FAQ_DEV ${WRKSRC}/doc/TODO post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postgresql ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/postgresql @sed -e s#!!PREFIX!!#${TRUEPREFIX}#g ${FILESDIR}/README.OpenBSD > \ ${WRKBUILD}/README.OpenBSD ${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD ${PREFIX}/share/doc/postgresql .include