summaryrefslogtreecommitdiff
path: root/databases/postgresql80-docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql80-docs/Makefile')
-rw-r--r--databases/postgresql80-docs/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/databases/postgresql80-docs/Makefile b/databases/postgresql80-docs/Makefile
new file mode 100644
index 00000000000..938354cd5f7
--- /dev/null
+++ b/databases/postgresql80-docs/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/06 12:32:05 jdolecek Exp $
+
+PKGNAME= postgresql80-docs-${BASE_VERS}
+COMMENT= PostgreSQL database system documentation
+
+.include "../../wip/postgresql80/Makefile.common"
+
+NO_BUILD= yes
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+
+#BUILD_DIRS= ${WRKSRC}/doc
+DOCDIR= ${PREFIX}/share/doc/postgresql80
+
+# The manpage documentation is installed with the relevant packages.
+#pre-build:
+# cd ${WRKSRC}/doc && ${RM} -f man.tar.gz
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DOCDIR}/TODO.detail
+ cd ${WRKSRC}/doc; for file in \
+ FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
+ bug.template; \
+ do \
+ ${INSTALL_DATA} $${file} ${DOCDIR}/$${file}; \
+ done
+ cd ${WRKSRC}/doc/TODO.detail && \
+ ${PAX} -rwppm . ${DOCDIR}/TODO.detail
+ ${TAR} -zxm -C ${DOCDIR} -f ${WRKSRC}/doc/postgres.tar.gz
+
+.include "../../mk/bsd.pkg.mk"