mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
8a928af72d
regarded as a major release with features with interest to those with large databases. The updates are extensive and the best source of info is in the release notes. Enjoy and direct questions to database@! Release notes: http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4 PR: ports/59403, ports/59404, ports/59393, ports/59394, ports/59395, ports/59397, ports/59398, ports/59402, && ports/59401 Submitted by: maintainer Approved by: marcus (portmgr@ hat)
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
# New ports collection makefile for: PostgreSQL docs
|
|
# Date created: August 26, 2002
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTREVISION= 0
|
|
PKGNAMESUFFIX= -docs
|
|
|
|
MAINTAINER= girgen@pingpong.net
|
|
COMMENT= The PostgreSQL documentation set
|
|
|
|
POSTGRESQL_SUBPORT= YES
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
|
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
|
|
DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
|
|
.undef USE_GMAKE
|
|
.undef GNU_CONFIGURE
|
|
NO_BUILD= YES
|
|
|
|
do-install:
|
|
@ $(MKDIR) ${DOCSDIR}/html; \
|
|
${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \
|
|
( cd ${DOCSDIR}/html && $(TAR) xf - )
|
|
|
|
post-install:
|
|
@ ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} -v /$$ | \
|
|
${SED} "s,^,${DOCSDIR:S,^${PREFIX}/,,}/html/," >> ${TMPPLIST} ;\
|
|
${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \
|
|
${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\
|
|
${ECHO} @dirrm ${DOCSDIR:S,^${PREFIX}/,,}/html >> ${TMPPLIST} ;\
|
|
${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|