summaryrefslogtreecommitdiff
path: root/devel/scmgit-docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/scmgit-docs/Makefile')
-rw-r--r--devel/scmgit-docs/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/scmgit-docs/Makefile b/devel/scmgit-docs/Makefile
index 840c5456a4d..c4d2e1b72ea 100644
--- a/devel/scmgit-docs/Makefile
+++ b/devel/scmgit-docs/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/02/22 09:20:30 obache Exp $
-#
+# $NetBSD: Makefile,v 1.10 2010/10/28 10:23:08 adam Exp $
PKGNAME= scmgit-docs-${GIT_VERSION}
COMMENT= GIT Tree History Storage Tool (documentation)
@@ -20,6 +19,14 @@ INSTALL_TARGET= install-doc
UNLIMIT_RESOURCES+= datasize
+# our asciidoc doesn't handle {litdd} in titles
+SUBST_CLASSES+= litdd
+SUBST_STAGE.litdd= pre-configure
+SUBST_MESSAGE.litdd= Fixing {litdd} in text files.
+SUBST_FILES.litdd= Documentation/git-*--*.txt
+SUBST_SED.litdd= -e 's,{litdd},--,g'
+SUBST_SED.litdd+= -e 's,^=====,,g'
+
.include "../../devel/scmgit/Makefile.common"
.include "../../mk/bsd.pkg.mk"