diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-17 21:45:08 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-17 21:45:08 +0800 |
commit | 7e4617a1d33f871be50877cd17e0ce4dff543ef5 (patch) | |
tree | f30f8319a2a15ca753ad561b439cbd515a50e790 /textproc/source-highlight | |
parent | 3152626574bd559742a2c77a4af7e1d0f19c10c3 (diff) | |
download | freebsd-ports-gnome-7e4617a1d33f871be50877cd17e0ce4dff543ef5.tar.gz freebsd-ports-gnome-7e4617a1d33f871be50877cd17e0ce4dff543ef5.tar.zst freebsd-ports-gnome-7e4617a1d33f871be50877cd17e0ce4dff543ef5.zip |
Support stage
Use options helpers
Let stage handle examples and docs case
Drop NOPORTDATA support which is a nonsense
Use USES=pathfix instead of custom patches
Diffstat (limited to 'textproc/source-highlight')
-rw-r--r-- | textproc/source-highlight/Makefile | 41 | ||||
-rw-r--r-- | textproc/source-highlight/pkg-plist | 357 |
2 files changed, 186 insertions, 212 deletions
diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile index 6ef7e08d0761..08684f0c3dc3 100644 --- a/textproc/source-highlight/Makefile +++ b/textproc/source-highlight/Makefile @@ -17,50 +17,21 @@ GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -USE_GMAKE= yes +USES= gmake pathfix USE_LDCONFIG= yes -MAN1= check-regexp.1 source-highlight.1 source-highlight-settings.1 INFO= source-highlight source-highlight-lib OPTIONS_DEFINE= BASH DOCS EXAMPLES -NO_STAGE= yes -.include <bsd.port.pre.mk> -.include <bsd.port.options.mk> +BROKEN_sparc64= Does not compile with GCC 4.2 -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif +BASH_RUN_DEPENDS= ${LOCALBASE}/etc/bash_completion:${PORTSDIR}/shells/bash-completion +BASH_CONFIGURE_WITH= --with-bash-completion -.if ${PORT_OPTIONS:MBASH} -RUN_DEPENDS+= ${LOCALBASE}/etc/bash_completion:${PORTSDIR}/shells/bash-completion -CONFIGURE_ARGS+= --with-bash-completion -PLIST_SUB+= BASH="" -.else -CONFIGURE_ARGS+= --without-bash-completion -PLIST_SUB+= BASH="@comment " -.endif - -post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \ - 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' -.if defined(NOPORTDATA) - @${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightdataDATA//g' \ - ${WRKSRC}/doc/Makefile.in ${WRKSRC}/src/Makefile.in -.endif -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightdocDATA//g' \ - ${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in ${WRKSRC}/tests/Makefile.in -.endif -.if ! ${PORT_OPTIONS:MEXAMPLES} - @${REINPLACE_CMD} -e '/install-data-am:/,/:/s/install-source_highlightlibexampleDATA//g' \ - ${WRKSRC}/lib/examples/Makefile.in -.endif +OPTIONS_SUB= yes test: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check) -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/source-highlight/pkg-plist b/textproc/source-highlight/pkg-plist index 7bc434701ae8..170b611d996f 100644 --- a/textproc/source-highlight/pkg-plist +++ b/textproc/source-highlight/pkg-plist @@ -97,182 +97,185 @@ lib/libsource-highlight.la lib/libsource-highlight.so lib/libsource-highlight.so.4 libdata/pkgconfig/source-highlight.pc -%%PORTDATA%%%%DATADIR%%/Hello.css -%%PORTDATA%%%%DATADIR%%/Hello2.css -%%PORTDATA%%%%DATADIR%%/ada.lang -%%PORTDATA%%%%DATADIR%%/applescript.lang -%%PORTDATA%%%%DATADIR%%/asm.lang -%%PORTDATA%%%%DATADIR%%/awk.lang -%%PORTDATA%%%%DATADIR%%/bat.lang -%%PORTDATA%%%%DATADIR%%/bib.lang -%%PORTDATA%%%%DATADIR%%/bison.lang -%%PORTDATA%%%%DATADIR%%/c.lang -%%PORTDATA%%%%DATADIR%%/c_comment.lang -%%PORTDATA%%%%DATADIR%%/c_string.lang -%%PORTDATA%%%%DATADIR%%/caml.lang -%%PORTDATA%%%%DATADIR%%/changelog.lang -%%PORTDATA%%%%DATADIR%%/clike_vardeclaration.lang -%%PORTDATA%%%%DATADIR%%/clipper.lang -%%PORTDATA%%%%DATADIR%%/cobol.lang -%%PORTDATA%%%%DATADIR%%/conf.lang -%%PORTDATA%%%%DATADIR%%/cpp.lang -%%PORTDATA%%%%DATADIR%%/cpp2html.css -%%PORTDATA%%%%DATADIR%%/csharp.lang -%%PORTDATA%%%%DATADIR%%/css.lang -%%PORTDATA%%%%DATADIR%%/css_common.outlang -%%PORTDATA%%%%DATADIR%%/d.lang -%%PORTDATA%%%%DATADIR%%/default.css -%%PORTDATA%%%%DATADIR%%/default.lang -%%PORTDATA%%%%DATADIR%%/default.style -%%PORTDATA%%%%DATADIR%%/desktop.lang -%%PORTDATA%%%%DATADIR%%/diff.lang -%%PORTDATA%%%%DATADIR%%/docbook.outlang -%%PORTDATA%%%%DATADIR%%/erlang.lang -%%PORTDATA%%%%DATADIR%%/errors.lang -%%PORTDATA%%%%DATADIR%%/esc.outlang -%%PORTDATA%%%%DATADIR%%/esc.style -%%PORTDATA%%%%DATADIR%%/extreme_comment.lang -%%PORTDATA%%%%DATADIR%%/extreme_comment2.lang -%%PORTDATA%%%%DATADIR%%/extreme_comment3.lang -%%PORTDATA%%%%DATADIR%%/fixed-fortran.lang -%%PORTDATA%%%%DATADIR%%/flex.lang -%%PORTDATA%%%%DATADIR%%/fortran.lang -%%PORTDATA%%%%DATADIR%%/function.lang -%%PORTDATA%%%%DATADIR%%/glsl.lang -%%PORTDATA%%%%DATADIR%%/haskell.lang -%%PORTDATA%%%%DATADIR%%/haskell_literate.lang -%%PORTDATA%%%%DATADIR%%/haxe.lang -%%PORTDATA%%%%DATADIR%%/html.lang -%%PORTDATA%%%%DATADIR%%/html.outlang -%%PORTDATA%%%%DATADIR%%/html_common.outlang -%%PORTDATA%%%%DATADIR%%/html_notfixed.outlang -%%PORTDATA%%%%DATADIR%%/html_ref.outlang -%%PORTDATA%%%%DATADIR%%/html_simple.lang -%%PORTDATA%%%%DATADIR%%/htmlcss.outlang -%%PORTDATA%%%%DATADIR%%/htmltable.outlang -%%PORTDATA%%%%DATADIR%%/htmltablelinenum.outlang -%%PORTDATA%%%%DATADIR%%/java.lang -%%PORTDATA%%%%DATADIR%%/javadoc.outlang -%%PORTDATA%%%%DATADIR%%/javalog.lang -%%PORTDATA%%%%DATADIR%%/javalog.style -%%PORTDATA%%%%DATADIR%%/javascript.lang -%%PORTDATA%%%%DATADIR%%/key_string.lang -%%PORTDATA%%%%DATADIR%%/lang.map -%%PORTDATA%%%%DATADIR%%/langdef.lang -%%PORTDATA%%%%DATADIR%%/latex.lang -%%PORTDATA%%%%DATADIR%%/latex.outlang -%%PORTDATA%%%%DATADIR%%/latexcolor.outlang -%%PORTDATA%%%%DATADIR%%/ldap.lang -%%PORTDATA%%%%DATADIR%%/lisp.lang -%%PORTDATA%%%%DATADIR%%/log.lang -%%PORTDATA%%%%DATADIR%%/logtalk.lang -%%PORTDATA%%%%DATADIR%%/lsm.lang -%%PORTDATA%%%%DATADIR%%/lua.lang -%%PORTDATA%%%%DATADIR%%/m4.lang -%%PORTDATA%%%%DATADIR%%/makefile.lang -%%PORTDATA%%%%DATADIR%%/manifest.lang -%%PORTDATA%%%%DATADIR%%/mediawiki.outlang -%%PORTDATA%%%%DATADIR%%/mono-alt.css -%%PORTDATA%%%%DATADIR%%/mono.css -%%PORTDATA%%%%DATADIR%%/nohilite.lang -%%PORTDATA%%%%DATADIR%%/number.lang -%%PORTDATA%%%%DATADIR%%/odf.outlang -%%PORTDATA%%%%DATADIR%%/opa.lang -%%PORTDATA%%%%DATADIR%%/outlang.lang -%%PORTDATA%%%%DATADIR%%/outlang.map -%%PORTDATA%%%%DATADIR%%/oz.lang -%%PORTDATA%%%%DATADIR%%/pascal.lang -%%PORTDATA%%%%DATADIR%%/pc.lang -%%PORTDATA%%%%DATADIR%%/perl.lang -%%PORTDATA%%%%DATADIR%%/php.lang -%%PORTDATA%%%%DATADIR%%/po.lang -%%PORTDATA%%%%DATADIR%%/postscript.lang -%%PORTDATA%%%%DATADIR%%/prolog.lang -%%PORTDATA%%%%DATADIR%%/properties.lang -%%PORTDATA%%%%DATADIR%%/proto.lang -%%PORTDATA%%%%DATADIR%%/python.lang -%%PORTDATA%%%%DATADIR%%/ruby.lang -%%PORTDATA%%%%DATADIR%%/scala.lang -%%PORTDATA%%%%DATADIR%%/scheme.lang -%%PORTDATA%%%%DATADIR%%/script_comment.lang -%%PORTDATA%%%%DATADIR%%/sh.lang -%%PORTDATA%%%%DATADIR%%/sh_acid.css -%%PORTDATA%%%%DATADIR%%/sh_berries-dark.css -%%PORTDATA%%%%DATADIR%%/sh_berries-light.css -%%PORTDATA%%%%DATADIR%%/sh_bipolar.css -%%PORTDATA%%%%DATADIR%%/sh_blacknblue.css -%%PORTDATA%%%%DATADIR%%/sh_bright.css -%%PORTDATA%%%%DATADIR%%/sh_contrast.css -%%PORTDATA%%%%DATADIR%%/sh_darkblue.css -%%PORTDATA%%%%DATADIR%%/sh_darkness.css -%%PORTDATA%%%%DATADIR%%/sh_desert.css -%%PORTDATA%%%%DATADIR%%/sh_dull.css -%%PORTDATA%%%%DATADIR%%/sh_easter.css -%%PORTDATA%%%%DATADIR%%/sh_emacs.css -%%PORTDATA%%%%DATADIR%%/sh_golden.css -%%PORTDATA%%%%DATADIR%%/sh_greenlcd.css -%%PORTDATA%%%%DATADIR%%/sh_ide-anjuta.css -%%PORTDATA%%%%DATADIR%%/sh_ide-codewarrior.css -%%PORTDATA%%%%DATADIR%%/sh_ide-devcpp.css -%%PORTDATA%%%%DATADIR%%/sh_ide-eclipse.css -%%PORTDATA%%%%DATADIR%%/sh_ide-kdev.css -%%PORTDATA%%%%DATADIR%%/sh_ide-msvcpp.css -%%PORTDATA%%%%DATADIR%%/sh_kwrite.css -%%PORTDATA%%%%DATADIR%%/sh_matlab.css -%%PORTDATA%%%%DATADIR%%/sh_navy.css -%%PORTDATA%%%%DATADIR%%/sh_nedit.css -%%PORTDATA%%%%DATADIR%%/sh_neon.css -%%PORTDATA%%%%DATADIR%%/sh_night.css -%%PORTDATA%%%%DATADIR%%/sh_pablo.css -%%PORTDATA%%%%DATADIR%%/sh_peachpuff.css -%%PORTDATA%%%%DATADIR%%/sh_print.css -%%PORTDATA%%%%DATADIR%%/sh_rand01.css -%%PORTDATA%%%%DATADIR%%/sh_the.css -%%PORTDATA%%%%DATADIR%%/sh_typical.css -%%PORTDATA%%%%DATADIR%%/sh_vampire.css -%%PORTDATA%%%%DATADIR%%/sh_vim-dark.css -%%PORTDATA%%%%DATADIR%%/sh_vim.css -%%PORTDATA%%%%DATADIR%%/sh_whatis.css -%%PORTDATA%%%%DATADIR%%/sh_whitengrey.css -%%PORTDATA%%%%DATADIR%%/sh_zellner.css -%%PORTDATA%%%%DATADIR%%/slang.lang -%%PORTDATA%%%%DATADIR%%/sml.lang -%%PORTDATA%%%%DATADIR%%/spec.lang -%%PORTDATA%%%%DATADIR%%/sql.lang -%%PORTDATA%%%%DATADIR%%/style.defaults -%%PORTDATA%%%%DATADIR%%/style.lang -%%PORTDATA%%%%DATADIR%%/style2.style -%%PORTDATA%%%%DATADIR%%/style3.style -%%PORTDATA%%%%DATADIR%%/symbols.lang -%%PORTDATA%%%%DATADIR%%/tcl.lang -%%PORTDATA%%%%DATADIR%%/texinfo.lang -%%PORTDATA%%%%DATADIR%%/texinfo.outlang -%%PORTDATA%%%%DATADIR%%/texinfo.style -%%PORTDATA%%%%DATADIR%%/tml.lang -%%PORTDATA%%%%DATADIR%%/tml_formatting.lang -%%PORTDATA%%%%DATADIR%%/tml_formatting_all.lang -%%PORTDATA%%%%DATADIR%%/tml_glue.lang -%%PORTDATA%%%%DATADIR%%/tml_macrolinks.lang -%%PORTDATA%%%%DATADIR%%/tml_macros.lang -%%PORTDATA%%%%DATADIR%%/tml_macros1.lang -%%PORTDATA%%%%DATADIR%%/tml_macros2.lang -%%PORTDATA%%%%DATADIR%%/tml_macrosdelayed1.lang -%%PORTDATA%%%%DATADIR%%/tml_macrosdelayed2.lang -%%PORTDATA%%%%DATADIR%%/tml_macrosdelayed3.lang -%%PORTDATA%%%%DATADIR%%/tml_macrotokens.lang -%%PORTDATA%%%%DATADIR%%/todo.lang -%%PORTDATA%%%%DATADIR%%/upc.lang -%%PORTDATA%%%%DATADIR%%/url.lang -%%PORTDATA%%%%DATADIR%%/vala.lang -%%PORTDATA%%%%DATADIR%%/vbscript.lang -%%PORTDATA%%%%DATADIR%%/xhtml.css -%%PORTDATA%%%%DATADIR%%/xhtml.outlang -%%PORTDATA%%%%DATADIR%%/xhtml_common.outlang -%%PORTDATA%%%%DATADIR%%/xhtml_notfixed.outlang -%%PORTDATA%%%%DATADIR%%/xhtmlcss.outlang -%%PORTDATA%%%%DATADIR%%/xhtmltable.outlang -%%PORTDATA%%%%DATADIR%%/xml.lang -%%PORTDATA%%%%DATADIR%%/xorg.lang +man/man1/check-regexp.1.gz +man/man1/source-highlight-settings.1.gz +man/man1/source-highlight.1.gz +%%DATADIR%%/Hello.css +%%DATADIR%%/Hello2.css +%%DATADIR%%/ada.lang +%%DATADIR%%/applescript.lang +%%DATADIR%%/asm.lang +%%DATADIR%%/awk.lang +%%DATADIR%%/bat.lang +%%DATADIR%%/bib.lang +%%DATADIR%%/bison.lang +%%DATADIR%%/c.lang +%%DATADIR%%/c_comment.lang +%%DATADIR%%/c_string.lang +%%DATADIR%%/caml.lang +%%DATADIR%%/changelog.lang +%%DATADIR%%/clike_vardeclaration.lang +%%DATADIR%%/clipper.lang +%%DATADIR%%/cobol.lang +%%DATADIR%%/conf.lang +%%DATADIR%%/cpp.lang +%%DATADIR%%/cpp2html.css +%%DATADIR%%/csharp.lang +%%DATADIR%%/css.lang +%%DATADIR%%/css_common.outlang +%%DATADIR%%/d.lang +%%DATADIR%%/default.css +%%DATADIR%%/default.lang +%%DATADIR%%/default.style +%%DATADIR%%/desktop.lang +%%DATADIR%%/diff.lang +%%DATADIR%%/docbook.outlang +%%DATADIR%%/erlang.lang +%%DATADIR%%/errors.lang +%%DATADIR%%/esc.outlang +%%DATADIR%%/esc.style +%%DATADIR%%/extreme_comment.lang +%%DATADIR%%/extreme_comment2.lang +%%DATADIR%%/extreme_comment3.lang +%%DATADIR%%/fixed-fortran.lang +%%DATADIR%%/flex.lang +%%DATADIR%%/fortran.lang +%%DATADIR%%/function.lang +%%DATADIR%%/glsl.lang +%%DATADIR%%/haskell.lang +%%DATADIR%%/haskell_literate.lang +%%DATADIR%%/haxe.lang +%%DATADIR%%/html.lang +%%DATADIR%%/html.outlang +%%DATADIR%%/html_common.outlang +%%DATADIR%%/html_notfixed.outlang +%%DATADIR%%/html_ref.outlang +%%DATADIR%%/html_simple.lang +%%DATADIR%%/htmlcss.outlang +%%DATADIR%%/htmltable.outlang +%%DATADIR%%/htmltablelinenum.outlang +%%DATADIR%%/java.lang +%%DATADIR%%/javadoc.outlang +%%DATADIR%%/javalog.lang +%%DATADIR%%/javalog.style +%%DATADIR%%/javascript.lang +%%DATADIR%%/key_string.lang +%%DATADIR%%/lang.map +%%DATADIR%%/langdef.lang +%%DATADIR%%/latex.lang +%%DATADIR%%/latex.outlang +%%DATADIR%%/latexcolor.outlang +%%DATADIR%%/ldap.lang +%%DATADIR%%/lisp.lang +%%DATADIR%%/log.lang +%%DATADIR%%/logtalk.lang +%%DATADIR%%/lsm.lang +%%DATADIR%%/lua.lang +%%DATADIR%%/m4.lang +%%DATADIR%%/makefile.lang +%%DATADIR%%/manifest.lang +%%DATADIR%%/mediawiki.outlang +%%DATADIR%%/mono-alt.css +%%DATADIR%%/mono.css +%%DATADIR%%/nohilite.lang +%%DATADIR%%/number.lang +%%DATADIR%%/odf.outlang +%%DATADIR%%/opa.lang +%%DATADIR%%/outlang.lang +%%DATADIR%%/outlang.map +%%DATADIR%%/oz.lang +%%DATADIR%%/pascal.lang +%%DATADIR%%/pc.lang +%%DATADIR%%/perl.lang +%%DATADIR%%/php.lang +%%DATADIR%%/po.lang +%%DATADIR%%/postscript.lang +%%DATADIR%%/prolog.lang +%%DATADIR%%/properties.lang +%%DATADIR%%/proto.lang +%%DATADIR%%/python.lang +%%DATADIR%%/ruby.lang +%%DATADIR%%/scala.lang +%%DATADIR%%/scheme.lang +%%DATADIR%%/script_comment.lang +%%DATADIR%%/sh.lang +%%DATADIR%%/sh_acid.css +%%DATADIR%%/sh_berries-dark.css +%%DATADIR%%/sh_berries-light.css +%%DATADIR%%/sh_bipolar.css +%%DATADIR%%/sh_blacknblue.css +%%DATADIR%%/sh_bright.css +%%DATADIR%%/sh_contrast.css +%%DATADIR%%/sh_darkblue.css +%%DATADIR%%/sh_darkness.css +%%DATADIR%%/sh_desert.css +%%DATADIR%%/sh_dull.css +%%DATADIR%%/sh_easter.css +%%DATADIR%%/sh_emacs.css +%%DATADIR%%/sh_golden.css +%%DATADIR%%/sh_greenlcd.css +%%DATADIR%%/sh_ide-anjuta.css +%%DATADIR%%/sh_ide-codewarrior.css +%%DATADIR%%/sh_ide-devcpp.css +%%DATADIR%%/sh_ide-eclipse.css +%%DATADIR%%/sh_ide-kdev.css +%%DATADIR%%/sh_ide-msvcpp.css +%%DATADIR%%/sh_kwrite.css +%%DATADIR%%/sh_matlab.css +%%DATADIR%%/sh_navy.css +%%DATADIR%%/sh_nedit.css +%%DATADIR%%/sh_neon.css +%%DATADIR%%/sh_night.css +%%DATADIR%%/sh_pablo.css +%%DATADIR%%/sh_peachpuff.css +%%DATADIR%%/sh_print.css +%%DATADIR%%/sh_rand01.css +%%DATADIR%%/sh_the.css +%%DATADIR%%/sh_typical.css +%%DATADIR%%/sh_vampire.css +%%DATADIR%%/sh_vim-dark.css +%%DATADIR%%/sh_vim.css +%%DATADIR%%/sh_whatis.css +%%DATADIR%%/sh_whitengrey.css +%%DATADIR%%/sh_zellner.css +%%DATADIR%%/slang.lang +%%DATADIR%%/sml.lang +%%DATADIR%%/spec.lang +%%DATADIR%%/sql.lang +%%DATADIR%%/style.defaults +%%DATADIR%%/style.lang +%%DATADIR%%/style2.style +%%DATADIR%%/style3.style +%%DATADIR%%/symbols.lang +%%DATADIR%%/tcl.lang +%%DATADIR%%/texinfo.lang +%%DATADIR%%/texinfo.outlang +%%DATADIR%%/texinfo.style +%%DATADIR%%/tml.lang +%%DATADIR%%/tml_formatting.lang +%%DATADIR%%/tml_formatting_all.lang +%%DATADIR%%/tml_glue.lang +%%DATADIR%%/tml_macrolinks.lang +%%DATADIR%%/tml_macros.lang +%%DATADIR%%/tml_macros1.lang +%%DATADIR%%/tml_macros2.lang +%%DATADIR%%/tml_macrosdelayed1.lang +%%DATADIR%%/tml_macrosdelayed2.lang +%%DATADIR%%/tml_macrosdelayed3.lang +%%DATADIR%%/tml_macrotokens.lang +%%DATADIR%%/todo.lang +%%DATADIR%%/upc.lang +%%DATADIR%%/url.lang +%%DATADIR%%/vala.lang +%%DATADIR%%/vbscript.lang +%%DATADIR%%/xhtml.css +%%DATADIR%%/xhtml.outlang +%%DATADIR%%/xhtml_common.outlang +%%DATADIR%%/xhtml_notfixed.outlang +%%DATADIR%%/xhtmlcss.outlang +%%DATADIR%%/xhtmltable.outlang +%%DATADIR%%/xml.lang +%%DATADIR%%/xorg.lang %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog @@ -387,7 +390,7 @@ libdata/pkgconfig/source-highlight.pc %%PORTDOCS%%%%DOCSDIR%%/test_regexrange4.html %%PORTDOCS%%%%DOCSDIR%%/xhtml.css @dirrm include/srchilite -%%PORTDATA%%@dirrm %%DATADIR%% +@dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%BASH%%@dirrmtry etc/bash_completion.d |