[Midnightbsd-cvs] mports [22155] trunk/databases: add postgres docs

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Dec 24 18:12:04 EST 2016


Revision: 22155
          http://svnweb.midnightbsd.org/mports/?rev=22155
Author:   laffer1
Date:     2016-12-24 18:12:04 -0500 (Sat, 24 Dec 2016)
Log Message:
-----------
add postgres docs

Modified Paths:
--------------
    trunk/databases/Makefile

Added Paths:
-----------
    trunk/databases/postgresql96-docs/
    trunk/databases/postgresql96-docs/Makefile

Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile	2016-12-24 23:07:56 UTC (rev 22154)
+++ trunk/databases/Makefile	2016-12-24 23:12:04 UTC (rev 22155)
@@ -135,6 +135,7 @@
 SUBDIR += postgresql95-server
 SUBDIR += postgresql96-client
 SUBDIR += postgresql96-contrib
+SUBDIR += postgresql96-docs
 SUBDIR += postgresql96-server
 SUBDIR += py-MySQLdb
 SUBDIR += py-bsddb

Added: trunk/databases/postgresql96-docs/Makefile
===================================================================
--- trunk/databases/postgresql96-docs/Makefile	                        (rev 0)
+++ trunk/databases/postgresql96-docs/Makefile	2016-12-24 23:12:04 UTC (rev 22155)
@@ -0,0 +1,46 @@
+# Created by: Palle Girgensohn <girgen at pingpong.net>
+# $FreeBSD: head/databases/postgresql96-docs/Makefile 423058 2016-10-01 13:16:04Z antoine $
+# $MidnightBSD$
+
+PORTNAME=	postgresql
+PKGNAMESUFFIX?=	${DISTV:S/.//}-docs
+DISTV=	${DISTVERSION:R}
+
+MAINTAINER=	ports at MidnightBSD.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:${PORTSDIR}/textproc/opensp			\
+		openjade:${PORTSDIR}/textproc/openjade			\
+		${sgmldir}/iso8879/catalog:${PORTSDIR}/textproc/iso8879	\
+		${dbdir}/dsssl/modular/catalog:${PORTSDIR}/textproc/dsssl-docbook-modular \
+		docbook-sgml>0:${PORTSDIR}/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,.*, at unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST}
+
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/databases/postgresql96-docs/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list