freebsd-ports/databases/postgresql14-docs/Makefile
Palle Girgensohn a271b9d5b7 databases/postgresql*: update to latest versions
The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 13.4, 12.8, 11.13, 10.18, and
9.6.23, as well as the third beta release of PostgreSQL 14. This release closes
one security vulnerability and fixes over 75 bugs reported over the last three
months.

Turn off parallel builds since we continue to struggle with build problems when
it is activated. [1]

Avoid chasing latest LLVM version. [2]

PR:		256466 [1], 256167 [2]
Release notes:	https://www.postgresql.org/docs/release/
Security:	b471130b-fb86-11eb-87db-6cc21735f730
2021-08-12 18:23:00 +02:00

43 lines
1.1 KiB
Makefile

# Created by: Palle Girgensohn <girgen@pingpong.net>
PORTNAME= postgresql
PORTREVISION= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S,.,,}-docs
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
WANT_PGSQL_VER?=14
DISTV= ${DISTVERSION:R}
SLAVE_ONLY= YES
COMPONENT= -docs
PGDOCSREL?= ${DOCSDIR_REL}/release-${WANT_PGSQL_VER}
PGDOCSDIR?= ${PREFIX}/${PGDOCSREL}
sgmldir= ${LOCALBASE}/share/sgml
dbdir= ${sgmldir}/docbook
BUILD_DEPENDS+= onsgmls:textproc/opensp \
openjade:textproc/openjade \
${sgmldir}/iso8879/catalog:textproc/iso8879 \
${dbdir}/dsssl/modular/catalog:textproc/dsssl-docbook-modular \
docbook-sgml>0:textproc/docbook-sgml
CONFIGURE_ARGS= --without-readline
NO_ARCH= yes
do-build:
${MAKE_CMD} -C ${WRKSRC} html
do-install:
@ ${MKDIR} ${STAGEDIR}${PGDOCSDIR}
( cd ${WRKSRC}/doc/src/sgml/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${PGDOCSDIR} )
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type f) >> ${TMPPLIST}
.include "${MASTERDIR}/Makefile"