c3e855c760
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
33 lines
621 B
Makefile
33 lines
621 B
Makefile
# $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>
|