From 2ce033097a5eb36ed0f707f4e8b462c9eaa40d95 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 23 Aug 2008 16:33:40 +0000 Subject: [PATCH] import postgresql_autodoc This is a utility which will run through PostgreSQL system tables and returns HTML, Dot, Dia and DocBook XML which describes the database. --- databases/postgresql_autodoc/Makefile | 38 ++++++++++++++++++++++++++ databases/postgresql_autodoc/distinfo | 5 ++++ databases/postgresql_autodoc/pkg/DESCR | 2 ++ databases/postgresql_autodoc/pkg/PLIST | 9 ++++++ 4 files changed, 54 insertions(+) create mode 100644 databases/postgresql_autodoc/Makefile create mode 100644 databases/postgresql_autodoc/distinfo create mode 100644 databases/postgresql_autodoc/pkg/DESCR create mode 100644 databases/postgresql_autodoc/pkg/PLIST diff --git a/databases/postgresql_autodoc/Makefile b/databases/postgresql_autodoc/Makefile new file mode 100644 index 00000000000..ce74eec4b45 --- /dev/null +++ b/databases/postgresql_autodoc/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/08/23 16:33:40 simon Exp $ + +COMMENT = documentation generator for postgresql databases + +DISTNAME = postgresql_autodoc-1.31 +CATEGORIES = databases + +HOMEPAGE = http://www.rbt.ca/autodoc/ +MASTER_SITES = ${HOMEPAGE}binaries/ + +MAINTAINER = Simon Bertrang + +# BSD +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +RUN_DEPENDS = ::databases/p5-DBD-Pg \ + ::devel/p5-Term-ReadKey \ + ::www/p5-HTML-Template + +WRKDIST = ${WRKDIR}/postgresql_autodoc + +PKG_ARCH = * +NO_REGRESS = Yes + +do-build: + sed -e 's,@@TEMPLATE-DIR@@,${LOCALBASE}/share/postgresql_autodoc,' \ + -e 's,/usr/bin/env perl,/usr/bin/perl,' \ + ${WRKSRC}/postgresql_autodoc.pl > ${WRKSRC}/postgresql_autodoc + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/postgresql_autodoc ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/postgresql_autodoc + ${INSTALL_DATA} ${WRKSRC}/*.tmpl ${PREFIX}/share/postgresql_autodoc + +.include diff --git a/databases/postgresql_autodoc/distinfo b/databases/postgresql_autodoc/distinfo new file mode 100644 index 00000000000..4870cdb571c --- /dev/null +++ b/databases/postgresql_autodoc/distinfo @@ -0,0 +1,5 @@ +MD5 (postgresql_autodoc-1.31.tar.gz) = Dbthz4t42nrp0SIh96FNJw== +RMD160 (postgresql_autodoc-1.31.tar.gz) = fHs6YMeazeU/qOtULU1DVCMyQAI= +SHA1 (postgresql_autodoc-1.31.tar.gz) = L529c1k85xIp/K9y1eacGLiBIRc= +SHA256 (postgresql_autodoc-1.31.tar.gz) = amg6MhKOlVPx1ffmf5NOFIwdW/gEHVgHaVc5plRYHls= +SIZE (postgresql_autodoc-1.31.tar.gz) = 48998 diff --git a/databases/postgresql_autodoc/pkg/DESCR b/databases/postgresql_autodoc/pkg/DESCR new file mode 100644 index 00000000000..c240fe1f15f --- /dev/null +++ b/databases/postgresql_autodoc/pkg/DESCR @@ -0,0 +1,2 @@ +This is a utility which will run through PostgreSQL system tables and +returns HTML, Dot, Dia and DocBook XML which describes the database. diff --git a/databases/postgresql_autodoc/pkg/PLIST b/databases/postgresql_autodoc/pkg/PLIST new file mode 100644 index 00000000000..858d9feabdc --- /dev/null +++ b/databases/postgresql_autodoc/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/23 16:33:40 simon Exp $ +bin/postgresql_autodoc +share/postgresql_autodoc/ +share/postgresql_autodoc/dia.tmpl +share/postgresql_autodoc/dot.tmpl +share/postgresql_autodoc/html.tmpl +share/postgresql_autodoc/neato.tmpl +share/postgresql_autodoc/xml.tmpl +share/postgresql_autodoc/zigzag.dia.tmpl