freebsd-ports/databases/postgresql-docs/Makefile
Palle Girgensohn c6dcf78107 PostgreSQL 9.0 is here! The PostgreSQL Global Development Group
announces the availability of our most eagerly awaited release.
PostgreSQL 9.0 includes built-in, binary replication, and over a dozen
other major features which will appeal to everyone from web developers
to database hackers.

9.0 includes more major features than any release before it, including:
* Hot standby
* Streaming replication
* In-place upgrades
* 64-bit Windows builds
* Easy mass permissions management
* Anonymous blocks and named parameter calls for stored procedures
* New windowing functions and ordered aggregates

... and many more.  For details on the over 200 additions and
improvements in this version, developed by over a hundred contributors,
please see the release notes.

"These kinds of feature additions continue to make a strong case for why
mission-critical technology tasks can continue to depend on the power,
flexibility and robustness of PostgreSQL,” said Afilias CTO Ram Mohan.

More information on PostgreSQL 9.0:
* Release notes
  http://www.postgresql.org/docs/9.0/static/release-9-0
* Presskit
  http://www.postgresql.org/about/press/presskit90
* Guide to 9.0:
  http://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.0

---
PR: 150430, Add dtrace
2010-09-20 13:46:47 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: PostgreSQL docs
# Date created: August 26, 2002
# Whom: Palle Girgensohn <girgen@pingpong.net>
#
# $FreeBSD$
#
PORTNAME= postgresql
PORTREVISION= 0
PKGNAMESUFFIX= -docs
MAINTAINER= girgen@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
DEFAULT_PGSQL_VER?=81
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
CONFLICTS= postgresql-docs
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/pg_config)
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p'
.else
PGSQL_VER= ${DEFAULT_PGSQL_VER}
.endif
.if (${PGSQL_VER} == 90)
BROKEN= "not implemented yet"
.endif
NO_BUILD= YES
SLAVE_ONLY= YES
PATCHDIR= mustnotexist
PGDOCSDIR?= ${DOCSDIR}/release-${PGSQL_VER}
do-install:
@ $(MKDIR) ${PGDOCSDIR}; \
${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \
( cd ${PGDOCSDIR} && $(TAR) xf - )
post-install:
@ ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} -v /$$ | \
${SED} "s,^,${PGDOCSDIR:S,^${PREFIX}/,,}/," >> ${TMPPLIST} ;\
${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \
${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\
${ECHO} @dirrm ${PGDOCSDIR:S,^${PREFIX}/,,} >> ${TMPPLIST} ;\
${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
.include "${MASTERDIR}/Makefile"