summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/mp_doccer/Makefile32
-rw-r--r--textproc/mp_doccer/distinfo3
-rw-r--r--textproc/mp_doccer/pkg-descr6
4 files changed, 42 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c8aebac1d475..6250fbe4790f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -452,6 +452,7 @@
SUBDIR += ml1
SUBDIR += mn-aspell
SUBDIR += modlogan
+ SUBDIR += mp_doccer
SUBDIR += mr-aspell
SUBDIR += ms-aspell
SUBDIR += msort
diff --git a/textproc/mp_doccer/Makefile b/textproc/mp_doccer/Makefile
new file mode 100644
index 000000000000..87453cbaa9c9
--- /dev/null
+++ b/textproc/mp_doccer/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= mp_doccer
+PORTVERSION= 1.2.2
+CATEGORIES= textproc perl5
+MASTER_SITES= https://triptico.com/download/
+
+MAINTAINER= jhale@FreeBSD.org
+COMMENT= C source code documentation generator
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= perl5 shebangfix
+USE_PERL5= run
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+SHEBANG_FILES= mp_doccer
+
+PLIST_FILES= bin/mp_doccer
+PORTDOCS= AUTHORS README
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mp_doccer ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/textproc/mp_doccer/distinfo b/textproc/mp_doccer/distinfo
new file mode 100644
index 000000000000..ac06c8654a51
--- /dev/null
+++ b/textproc/mp_doccer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604038422
+SHA256 (mp_doccer-1.2.2.tar.gz) = 359c699830fa3b9545500dbe1f8d40967bd06b8e8054eff3c67a3c41ecb6f55e
+SIZE (mp_doccer-1.2.2.tar.gz) = 16275
diff --git a/textproc/mp_doccer/pkg-descr b/textproc/mp_doccer/pkg-descr
new file mode 100644
index 000000000000..ba83afdddb7a
--- /dev/null
+++ b/textproc/mp_doccer/pkg-descr
@@ -0,0 +1,6 @@
+mp_doccer is a tool that travels C code files, and extracts specially
+marked information to build documentation. This documentation can be
+generated in HTML, man pages, or an executable shell script. The markup
+is very similar to that in the Linux 2.4.x kernel sources.
+
+WWW: https://triptico.com/software/mp_doccer.html