From f6bf35dd1fcc61e225b2010a403fccb5827b156c Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 21 Aug 2016 09:01:13 +0000 Subject: [PATCH] - Add NO_ARCH - Switch to options helpers - Regenerate patches with `make makepatch` --- textproc/db2latex/Makefile | 12 ++++++++---- textproc/db2latex/files/patch-xsl-common-common.xsl | 6 +++--- textproc/db2latex/files/patch-xsl-lists.mod.xsl | 5 ++--- 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 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. 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 @@ @@ -13,4 +13,3 @@ -