From fccc45e5ff4a8aea150005196c0d4f2cbaeed5db Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Thu, 20 May 2021 10:53:00 +0200 Subject: databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree. Release notes: https://www.postgresql.org/docs/devel/release-14.html Also reintroduce parallel builds. Some components, namely plperl, plpython, pltcl and contrib, fail to build properly when using parallel builds. Something with static linking using `ar` that fails. MAKE_JOBS_UNSAFE is set for these ports. --- databases/postgresql14-docs/Makefile | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 databases/postgresql14-docs/Makefile (limited to 'databases/postgresql14-docs') diff --git a/databases/postgresql14-docs/Makefile b/databases/postgresql14-docs/Makefile new file mode 100644 index 000000000000..95607df48ed3 --- /dev/null +++ b/databases/postgresql14-docs/Makefile @@ -0,0 +1,45 @@ +# Created by: Palle Girgensohn + +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?=13 + +DISTV= ${DISTVERSION:R} + +SLAVE_ONLY= YES +COMPONENT= -docs + +PGDOCSREL?= ${DOCSDIR_REL}/release-${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} + @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \ + ${SED} 's,.*,@unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST} + +.include "${MASTERDIR}/Makefile" -- cgit v1.2.3