Index: head/databases/Makefile =================================================================== --- head/databases/Makefile +++ head/databases/Makefile @@ -965,6 +965,7 @@ SUBDIR += sqlite3 SUBDIR += sqlitebrowser SUBDIR += sqlitebrowser-qt5 + SUBDIR += sqliteconvert SUBDIR += sqliteman SUBDIR += sqlitemanager SUBDIR += sqliteodbc Index: head/databases/sqliteconvert/Makefile =================================================================== --- head/databases/sqliteconvert/Makefile +++ head/databases/sqliteconvert/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= sqliteconvert +DISTVERSIONPREFIX= VERSION_ +DISTVERSION= 0_1_2 +CATEGORIES= databases + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Tools to convert SQLite3 schema files into documentation + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= dot:graphics/graphviz + +USE_GITHUB= yes +GH_ACCOUNT= kristapsdz + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sqlite2html \ + ${STAGEDIR}${PREFIX}/bin/sqlite2dot + +.include Index: head/databases/sqliteconvert/distinfo =================================================================== --- head/databases/sqliteconvert/distinfo +++ head/databases/sqliteconvert/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488713412 +SHA256 (kristapsdz-sqliteconvert-VERSION_0_1_2_GH0.tar.gz) = df89d3e858dcd0aa4e16fce28ce6075df0e6594932b1dcca238d34c5d3a044e0 +SIZE (kristapsdz-sqliteconvert-VERSION_0_1_2_GH0.tar.gz) = 26833 Index: head/databases/sqliteconvert/pkg-descr =================================================================== --- head/databases/sqliteconvert/pkg-descr +++ head/databases/sqliteconvert/pkg-descr @@ -0,0 +1,7 @@ +Sqliteconvert is a set of tools to convert SQLite3 schema files into +documentation. It includes sqlite2dot(1), which converts into a +graphviz file; sqlite2html(1), which converts into an HTML5 fragment; +and sqliteconvert(1), which pulls these tools together with some sane +default templates. + +WWW: https://kristaps.bsd.lv/sqliteconvert/ Index: head/databases/sqliteconvert/pkg-plist =================================================================== --- head/databases/sqliteconvert/pkg-plist +++ head/databases/sqliteconvert/pkg-plist @@ -0,0 +1,7 @@ +bin/sqlite2dot +bin/sqlite2html +bin/sqliteconvert +man/man1/sqlite2dot.1.gz +man/man1/sqlite2html.1.gz +man/man1/sqliteconvert.1.gz +%%DATADIR%%/schema.xml