Trevor Johnson 63c7505c62 Add ports/databases/postgresql-docs, which will install the documentation
formerly found in ports/databases/postgresql7.

PR:		42008
Submitted by:	Palle Girgensohn (maintainer)
2002-08-26 23:14:23 +00:00

25 lines
584 B
Makefile

# New ports collection makefile for: PostgreSQL docs
# Date created: August 26, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
PORTNAME= postgresql
PKGNAMESUFFIX= -docs
MAINTAINER= girgen@partitur.se
POSTGRESQL_SUBPORT= YES
.include <${.CURDIR}/../postgresql7/Makefile>
DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
.undef GNU_CONFIGURE
NO_BUILD= YES
do-install:
$(MKDIR) ${PREFIX}/share/doc/postgresql/html; \
${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \
( cd $(PREFIX)/share/doc/postgresql/html && $(TAR) xf - )
.include <bsd.port.mk>