summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/db2latex/Makefile12
-rw-r--r--textproc/db2latex/files/patch-xsl-common-common.xsl6
-rw-r--r--textproc/db2latex/files/patch-xsl-lists.mod.xsl5
3 files changed, 13 insertions, 10 deletions
diff --git a/textproc/db2latex/Makefile b/textproc/db2latex/Makefile
index 2f302efe8d72..56c5b094e174 100644
--- a/textproc/db2latex/Makefile
+++ b/textproc/db2latex/Makefile
@@ -19,15 +19,19 @@ RUN_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/VERSION:textproc/docbook-xsl
NO_BUILD= yes
+NO_ARCH= yes
PORTDOCS= *
+PORTDATA= *
+
+OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
- ${CP} -R ${WRKSRC}/xsl ${STAGEDIR}${DATADIR}
- @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
- ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+ cd ${WRKSRC}/xsl && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/textproc/db2latex/files/patch-xsl-common-common.xsl b/textproc/db2latex/files/patch-xsl-common-common.xsl
index 23babdd6c7e5..bc08ca704a9e 100644
--- a/textproc/db2latex/files/patch-xsl-common-common.xsl
+++ b/textproc/db2latex/files/patch-xsl-common-common.xsl
@@ -1,6 +1,6 @@
---- xsl/common/common.xsl~ 2005-03-10 23:09:55.639189152 +0100
-+++ xsl/common/common.xsl 2005-03-10 23:10:50.762690340 +0100
-@@ -356,89 +356,6 @@
+--- xsl/common/common.xsl.orig 2004-01-04 09:25:06 UTC
++++ xsl/common/common.xsl
+@@ -356,89 +356,6 @@ Defaults to the context node.</para>
<xsl:value-of select="count($anc.divs) + number($section.level)"/>
</xsl:template>
diff --git a/textproc/db2latex/files/patch-xsl-lists.mod.xsl b/textproc/db2latex/files/patch-xsl-lists.mod.xsl
index 08b8d7282028..cb84d0517632 100644
--- a/textproc/db2latex/files/patch-xsl-lists.mod.xsl
+++ b/textproc/db2latex/files/patch-xsl-lists.mod.xsl
@@ -1,5 +1,5 @@
---- xsl/lists.mod.xsl.orig 2004-01-31 11:53:50.000000000 +0000
-+++ xsl/lists.mod.xsl 2012-11-13 21:15:16.000000000 +0000
+--- xsl/lists.mod.xsl.orig 2004-01-31 11:53:50 UTC
++++ xsl/lists.mod.xsl
@@ -269,10 +269,8 @@
</doc:notes>
</doc:template>
@@ -13,4 +13,3 @@
<xsl:variable name="id">
<xsl:call-template name="label.id"/>
</xsl:variable>
-