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.
This commit is contained in:
simon 2008-08-23 16:33:40 +00:00
parent 08b04ca7c7
commit 2ce033097a
4 changed files with 54 additions and 0 deletions

View File

@ -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 <simon@openbsd.org>
# 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 <bsd.port.mk>

View File

@ -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

View File

@ -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.

View File

@ -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