mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
4ee225f90a
URL: https://www.postgresql.org/about/news/postgresql-16-beta-1-released-2643/ Release notes: https://www.postgresql.org/docs/16/release-16.html
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
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?=16
|
|
|
|
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 --without-icu
|
|
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"
|