Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2016 13:16:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423058 - in head/databases: postgresql92-docs postgresql93-docs postgresql94-docs postgresql95-docs postgresql96-docs
Message-ID:  <201610011316.u91DG4ov008021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Oct  1 13:16:04 2016
New Revision: 423058
URL: https://svnweb.freebsd.org/changeset/ports/423058

Log:
  Modify postgresql9[2-5]-docs to include postgresql96-docs/Makefile
  instead of expired postgresql91-docs/Makefile

Modified:
  head/databases/postgresql92-docs/Makefile
  head/databases/postgresql93-docs/Makefile
  head/databases/postgresql94-docs/Makefile
  head/databases/postgresql95-docs/Makefile
  head/databases/postgresql96-docs/Makefile

Modified: head/databases/postgresql92-docs/Makefile
==============================================================================
--- head/databases/postgresql92-docs/Makefile	Sat Oct  1 13:05:01 2016	(r423057)
+++ head/databases/postgresql92-docs/Makefile	Sat Oct  1 13:16:04 2016	(r423058)
@@ -4,4 +4,4 @@
 WANT_PGSQL_VER=9.2
 COMPONENT=	-docs
 
-.include "${.CURDIR}/../postgresql91-docs/Makefile"
+.include "${.CURDIR}/../postgresql96-docs/Makefile"

Modified: head/databases/postgresql93-docs/Makefile
==============================================================================
--- head/databases/postgresql93-docs/Makefile	Sat Oct  1 13:05:01 2016	(r423057)
+++ head/databases/postgresql93-docs/Makefile	Sat Oct  1 13:16:04 2016	(r423058)
@@ -3,4 +3,4 @@
 
 WANT_PGSQL_VER=9.3
 
-.include "${.CURDIR}/../postgresql91-docs/Makefile"
+.include "${.CURDIR}/../postgresql96-docs/Makefile"

Modified: head/databases/postgresql94-docs/Makefile
==============================================================================
--- head/databases/postgresql94-docs/Makefile	Sat Oct  1 13:05:01 2016	(r423057)
+++ head/databases/postgresql94-docs/Makefile	Sat Oct  1 13:16:04 2016	(r423058)
@@ -3,4 +3,4 @@
 
 WANT_PGSQL_VER=9.4
 
-.include "${.CURDIR}/../postgresql91-docs/Makefile"
+.include "${.CURDIR}/../postgresql96-docs/Makefile"

Modified: head/databases/postgresql95-docs/Makefile
==============================================================================
--- head/databases/postgresql95-docs/Makefile	Sat Oct  1 13:05:01 2016	(r423057)
+++ head/databases/postgresql95-docs/Makefile	Sat Oct  1 13:16:04 2016	(r423058)
@@ -3,4 +3,4 @@
 
 WANT_PGSQL_VER=9.5
 
-.include "${.CURDIR}/../postgresql91-docs/Makefile"
+.include "${.CURDIR}/../postgresql96-docs/Makefile"

Modified: head/databases/postgresql96-docs/Makefile
==============================================================================
--- head/databases/postgresql96-docs/Makefile	Sat Oct  1 13:05:01 2016	(r423057)
+++ head/databases/postgresql96-docs/Makefile	Sat Oct  1 13:16:04 2016	(r423058)
@@ -1,6 +1,45 @@
 # Created by: Palle Girgensohn <girgen@pingpong.net>
 # $FreeBSD$
 
-WANT_PGSQL_VER=9.6
+PORTNAME=	postgresql
+PKGNAMESUFFIX?=	${DISTV:S/.//}-docs
+DISTV=	${DISTVERSION:R}
 
-.include "${.CURDIR}/../postgresql91-docs/Makefile"
+MAINTAINER=	pgsql@FreeBSD.org
+COMMENT=	The PostgreSQL documentation set
+
+MASTERDIR=	${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+USES+=		pgsql:${WANT_PGSQL_VER}
+WANT_PGSQL_VER?=9.6
+
+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
+
+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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610011316.u91DG4ov008021>