pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

doxy2man: Import git commit 5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Thu Feb 18 16:23:29 2021 +0100
Changeset:	17432251c533c18b02b1a53554863c686d66107a

Modified Files:
	Makefile
Added Files:
	doxy2man/DESCR
	doxy2man/Makefile
	doxy2man/PLIST
	doxy2man/distinfo

Log Message:
doxy2man: Import git commit 5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1

Doxy2man takes the XML generated by Doxygen as input and creates several
man pages from that. It creates a summary man page for a header and for
each function a detailed man page. The output is optimized for C
projects.

It supports the most common doxygen features, e.g. implicit and explicit
see also tags, copyright, author information, brief and detailed
descriptions, etc.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=17432251c533c18b02b1a53554863c686d66107a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |  1 +
 doxy2man/DESCR    |  8 ++++++++
 doxy2man/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 doxy2man/PLIST    |  3 +++
 doxy2man/distinfo |  6 ++++++
 5 files changed, 64 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index add8231aec..0e25213cf9 100644
--- a/Makefile
+++ b/Makefile
@@ -658,6 +658,7 @@ SUBDIR+=	dotproject
 SUBDIR+=	dovecot-antispam
 SUBDIR+=	dovecot2-fts-xapian
 SUBDIR+=	downtimed
+SUBDIR+=	doxy2man
 SUBDIR+=	dpic
 SUBDIR+=	dps8m
 SUBDIR+=	dragbox-git
diff --git a/doxy2man/DESCR b/doxy2man/DESCR
new file mode 100644
index 0000000000..4ababeb92f
--- /dev/null
+++ b/doxy2man/DESCR
@@ -0,0 +1,8 @@
+Doxy2man takes the XML generated by Doxygen as input and creates several
+man pages from that. It creates a summary man page for a header and for
+each function a detailed man page. The output is optimized for C
+projects.
+
+It supports the most common doxygen features, e.g. implicit and explicit
+see also tags, copyright, author information, brief and detailed
+descriptions, etc.
diff --git a/doxy2man/Makefile b/doxy2man/Makefile
new file mode 100644
index 0000000000..f5d6ffc1f1
--- /dev/null
+++ b/doxy2man/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+DISTNAME=	doxy2man-0.0.0.12
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=gsauthof/}
+GITHUB_PROJECT=	doxy2man
+GITHUB_TAG=	5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1
+
+MAINTAINER=	micha%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/gsauthof/doxy2man
+COMMENT=	Create man pages from doxygen XML output
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	c++
+
+TOOL_DEPENDS+=	asciidoc-[0-9]*:../../textproc/asciidoc
+TOOL_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man8
+
+# Our asciidoc has no ".py" suffic.
+# Honor PREFIX when searching doxbook-xsl files
+SUBST_CLASSES+=		edit-pro
+SUBST_STAGE.edit-pro=	pre-configure
+SUBST_MESSAGE.edit-pro=	Preparing main.pro file ...
+SUBST_FILES.edit-pro=	main.pro
+SUBST_SED.edit-pro=	-e 's,asciidoc\.py,asciidoc,g'
+SUBST_SED.edit-pro+=	-e 's,/usr/share/asciidoc,${PREFIX}/share/asciidoc,g'
+
+do-configure:
+	cd ${WRKSRC} && ${QTDIR}/bin/qmake
+
+post-build:
+	cd ${WRKSRC} && env ${MAKE_ENV} \
+            ${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} doxy2man.8
+
+do-install:
+	cd ${WRKSRC} &&						\
+		${INSTALL_PROGRAM} ${WRKSRC}/doxy2man		\
+			${DESTDIR}${PREFIX}/bin ;		\
+		${INSTALL_MAN} ${WRKSRC}/doxy2man.8		\
+			${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/doxy2man/PLIST b/doxy2man/PLIST
new file mode 100644
index 0000000000..d579fab5dd
--- /dev/null
+++ b/doxy2man/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/doxy2man
+man/man8/doxy2man.8
diff --git a/doxy2man/distinfo b/doxy2man/distinfo
new file mode 100644
index 0000000000..27cf1bbb32
--- /dev/null
+++ b/doxy2man/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (doxy2man-0.0.0.12-5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1.tar.gz) = 7feba434ed449c5331b03a796c07789b85b5a2be
+RMD160 (doxy2man-0.0.0.12-5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1.tar.gz) = 7e775cf0d4a497d25e9cdab406561f589be88c28
+SHA512 (doxy2man-0.0.0.12-5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1.tar.gz) = 1ca07897bb7d1312ccac7a9d9291f32783c39182674096b587b7ba04646335c74b4529f5644772f58a18cc8a25c50cad61d4d622ceaf7d6e6a836f9781b503a5
+Size (doxy2man-0.0.0.12-5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1.tar.gz) = 51606 bytes


Home | Main Index | Thread Index | Old Index