pkgsrc-wip/postgresql80-client/Makefile
Marc Recht c930c39418 initial import of postgresql-8.0.0beta4
Beware! The postgresql80 packages are undergoing some changes currently and
"not quite there" yet.

PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system.  While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.

PostgreSQL is free and the complete source is available.
2004-11-09 20:10:57 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/11/09 20:13:03 marc Exp $
PKGNAME= postgresql80-client-${BASE_VERS}
PKGREVISION= # empty
COMMENT= PostgreSQL database client programs
.include "../../wip/postgresql80/Makefile.common"
# XXX work around core dumps with the native libedit
USE_GNU_READLINE= yes
CONFIGURE_ARGS+= --with-openssl
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-readline
MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/bin
pre-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${WRKSRC}/src/backend && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
post-install:
${EGREP} -v "^#" ${FILESDIR}/man.exclude > ${WRKDIR}/man_tar_exclude
${TAR} -zxm -C ${PG_DIR}/man -X ${WRKDIR}/man_tar_exclude \
-f ${WRKSRC}/doc/man.tar.gz
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD" && ${LOWER_OPSYS_VERSUFFIX} == "4"
USE_GNU_READLINE=yes
.endif
.include "../../wip/postgresql80-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"