svn commit: r420542 - in head/textproc/db2latex: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Aug 21 09:01:14 UTC 2016
Author: amdmi3
Date: Sun Aug 21 09:01:13 2016
New Revision: 420542
URL: https://svnweb.freebsd.org/changeset/ports/420542
Log:
- Add NO_ARCH
- Switch to options helpers
- Regenerate patches with `make makepatch`
Modified:
head/textproc/db2latex/Makefile
head/textproc/db2latex/files/patch-xsl-common-common.xsl
head/textproc/db2latex/files/patch-xsl-lists.mod.xsl
Modified: head/textproc/db2latex/Makefile
==============================================================================
--- head/textproc/db2latex/Makefile Sun Aug 21 08:01:47 2016 (r420541)
+++ head/textproc/db2latex/Makefile Sun Aug 21 09:01:13 2016 (r420542)
@@ -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>
Modified: head/textproc/db2latex/files/patch-xsl-common-common.xsl
==============================================================================
--- head/textproc/db2latex/files/patch-xsl-common-common.xsl Sun Aug 21 08:01:47 2016 (r420541)
+++ head/textproc/db2latex/files/patch-xsl-common-common.xsl Sun Aug 21 09:01:13 2016 (r420542)
@@ -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>
Modified: head/textproc/db2latex/files/patch-xsl-lists.mod.xsl
==============================================================================
--- head/textproc/db2latex/files/patch-xsl-lists.mod.xsl Sun Aug 21 08:01:47 2016 (r420541)
+++ head/textproc/db2latex/files/patch-xsl-lists.mod.xsl Sun Aug 21 09:01:13 2016 (r420542)
@@ -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>
-
More information about the svn-ports-all
mailing list