aboutsummaryrefslogtreecommitdiff
path: root/misc/tpp
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-04 03:40:14 +0000
commit511c49bdecf1a9776490a13ab0dab1f7fc561bbf (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /misc/tpp
parent5dfe9b3be2f14294a78990688d738da43cf60950 (diff)
downloadports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.tar.gz
ports-511c49bdecf1a9776490a13ab0dab1f7fc561bbf.zip
Notes
Diffstat (limited to 'misc/tpp')
-rw-r--r--misc/tpp/Makefile2
-rw-r--r--misc/tpp/pkg-plist54
2 files changed, 29 insertions, 27 deletions
diff --git a/misc/tpp/Makefile b/misc/tpp/Makefile
index 620820e7a872..bb63cfdf4802 100644
--- a/misc/tpp/Makefile
+++ b/misc/tpp/Makefile
@@ -16,6 +16,8 @@ NO_BUILD= yes
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -E -e 's,share/man,man,' \
-e 's,(DOC|INS|MAN)PATH),DESTDIR)$$(&,' \
diff --git a/misc/tpp/pkg-plist b/misc/tpp/pkg-plist
index d80d8330212b..72300cd1c6a9 100644
--- a/misc/tpp/pkg-plist
+++ b/misc/tpp/pkg-plist
@@ -1,29 +1,29 @@
bin/tpp
man/man1/tpp.1.gz
-%%DOCSDIR%%/CHANGES
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/DESIGN
-%%DOCSDIR%%/README
-%%DOCSDIR%%/THANKS
-%%DOCSDIR%%/contrib/tpp-mode.el
-%%DOCSDIR%%/contrib/tpp.vim
-%%DOCSDIR%%/examples/ac-am.tpp
-%%DOCSDIR%%/examples/align-footer.tpp
-%%DOCSDIR%%/examples/bold.tpp
-%%DOCSDIR%%/examples/colors.tpp
-%%DOCSDIR%%/examples/colors2.tpp
-%%DOCSDIR%%/examples/debian-packaging.tpp
-%%DOCSDIR%%/examples/exec.tpp
-%%DOCSDIR%%/examples/horline.tpp
-%%DOCSDIR%%/examples/huge.tpp
-%%DOCSDIR%%/examples/list.tpp
-%%DOCSDIR%%/examples/manyslides.tpp
-%%DOCSDIR%%/examples/shell.tpp
-%%DOCSDIR%%/examples/slidein.tpp
-%%DOCSDIR%%/examples/source.tpp
-%%DOCSDIR%%/examples/test.tpp
-%%DOCSDIR%%/examples/tpp-features.tpp
-%%DOCSDIR%%/examples/wrap.tpp
-@dirrm %%DOCSDIR%%/contrib
-@dirrm %%DOCSDIR%%/examples
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/DESIGN
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/contrib/tpp-mode.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/tpp.vim
+%%PORTDOCS%%%%DOCSDIR%%/examples/ac-am.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/align-footer.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/bold.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/colors.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/colors2.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/debian-packaging.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/exec.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/horline.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/huge.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/list.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/manyslides.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/shell.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/slidein.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/source.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/test.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/tpp-features.tpp
+%%PORTDOCS%%%%DOCSDIR%%/examples/wrap.tpp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%