From owner-svn-ports-head@freebsd.org Sat Oct 1 13:16:06 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BDEAC04210; Sat, 1 Oct 2016 13:16:06 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8A83168C; Sat, 1 Oct 2016 13:16:05 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u91DG5aY008026; Sat, 1 Oct 2016 13:16:05 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u91DG4ov008021; Sat, 1 Oct 2016 13:16:04 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201610011316.u91DG4ov008021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 1 Oct 2016 13:16:04 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2016 13:16:06 -0000 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 # $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"