svn commit: r545846 - head/textproc/iso-schematron-xslt
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 23 19:35:38 UTC 2020
Author: sunpoet
Date: Sun Aug 23 19:35:29 2020
New Revision: 545846
URL: https://svnweb.freebsd.org/changeset/ports/545846
Log:
Use USES=zip
- Add my LOCAL to MASTER_SITES
- Add NO_ARCH
- Simplify do-extract: and do-install:
- Take maintainership
Modified:
head/textproc/iso-schematron-xslt/Makefile
head/textproc/iso-schematron-xslt/pkg-descr
head/textproc/iso-schematron-xslt/pkg-plist
Modified: head/textproc/iso-schematron-xslt/Makefile
==============================================================================
--- head/textproc/iso-schematron-xslt/Makefile Sun Aug 23 19:35:24 2020 (r545845)
+++ head/textproc/iso-schematron-xslt/Makefile Sun Aug 23 19:35:29 2020 (r545846)
@@ -4,29 +4,25 @@ PORTNAME= iso-schematron-xslt
PORTVERSION= 20130313
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://www.schematron.com/tmp/
+MASTER_SITES= http://www.schematron.com/tmp/ \
+ LOCAL/sunpoet
DISTFILES= iso-schematron-xslt1.zip \
iso-schematron-xslt2.zip
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= The Leading Implementation of ISO Schematron
-USES= zip:infozip
+USES= zip
+
+NO_ARCH= yes
NO_BUILD= yes
do-extract:
- ${MKDIR} ${WRKDIR}/xslt1
- ${MKDIR} ${WRKDIR}/xslt2
- ( cd ${WRKDIR}/xslt1 && ${UNZIP_CMD} ${DISTDIR}/iso-schematron-xslt1.zip )
- ( cd ${WRKDIR}/xslt2 && ${UNZIP_CMD} ${DISTDIR}/iso-schematron-xslt2.zip )
+ @${MKDIR} ${WRKSRC}/xslt1 ${WRKSRC}/xslt2
+ @${EXTRACT_CMD} -d ${WRKSRC}/xslt1 -q ${DISTDIR}/iso-schematron-xslt1.zip
+ @${EXTRACT_CMD} -d ${WRKSRC}/xslt2 -q ${DISTDIR}/iso-schematron-xslt2.zip
-INSTDIR= share/xsl/iso-schematron
-PLIST_SUB+= INSTDIR="${INSTDIR}"
-
do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xslt1
- ( ${FIND} ${WRKDIR}/xslt1 -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/${INSTDIR}/xslt1/ \; )
- ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xslt2
- ( ${FIND} ${WRKDIR}/xslt2 -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/${INSTDIR}/xslt2/ \; )
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/xsl/iso-schematron
.include <bsd.port.mk>
Modified: head/textproc/iso-schematron-xslt/pkg-descr
==============================================================================
--- head/textproc/iso-schematron-xslt/pkg-descr Sun Aug 23 19:35:24 2020 (r545845)
+++ head/textproc/iso-schematron-xslt/pkg-descr Sun Aug 23 19:35:29 2020 (r545846)
@@ -1,3 +1,3 @@
-This is Rick Jelliffe's implementation of ISO Schematron using XSLT.
+This is Rick Jelliffe's implementation of ISO Schematron using XSLT.
WWW: http://www.schematron.com/implementation.html
Modified: head/textproc/iso-schematron-xslt/pkg-plist
==============================================================================
--- head/textproc/iso-schematron-xslt/pkg-plist Sun Aug 23 19:35:24 2020 (r545845)
+++ head/textproc/iso-schematron-xslt/pkg-plist Sun Aug 23 19:35:29 2020 (r545846)
@@ -1,23 +1,23 @@
-%%INSTDIR%%/xslt1/ExtractSchFromRNG.xsl
-%%INSTDIR%%/xslt1/ExtractSchFromXSD.xsl
-%%INSTDIR%%/xslt1/iso_abstract_expand.xsl
-%%INSTDIR%%/xslt1/iso_dsdl_include.xsl
-%%INSTDIR%%/xslt1/iso_schematron_message.xsl
-%%INSTDIR%%/xslt1/iso_schematron_skeleton_for_xslt1.xsl
-%%INSTDIR%%/xslt1/iso_svrl_for_xslt1.xsl
-%%INSTDIR%%/xslt1/readme.txt
-%%INSTDIR%%/xslt1/schematron-skeleton-api.htm
-%%INSTDIR%%/xslt2/ExtractSchFromRNG-2.xsl
-%%INSTDIR%%/xslt2/ExtractSchFromXSD-2.xsl
-%%INSTDIR%%/xslt2/iso_abstract_expand.xsl
-%%INSTDIR%%/xslt2/iso_dsdl_include.xsl
-%%INSTDIR%%/xslt2/iso_schematron_message_xslt2.xsl
-%%INSTDIR%%/xslt2/iso_schematron_skeleton_for_saxon.xsl
-%%INSTDIR%%/xslt2/iso_svrl_for_xslt2.xsl
-%%INSTDIR%%/xslt2/readme.txt
-%%INSTDIR%%/xslt2/sch-messages-cs.xhtml
-%%INSTDIR%%/xslt2/sch-messages-de.xhtml
-%%INSTDIR%%/xslt2/sch-messages-en.xhtml
-%%INSTDIR%%/xslt2/sch-messages-fr.xhtml
-%%INSTDIR%%/xslt2/sch-messages-nl.xhtml
-%%INSTDIR%%/xslt2/schematron-skeleton-api.htm
+share/xsl/iso-schematron/xslt1/ExtractSchFromRNG.xsl
+share/xsl/iso-schematron/xslt1/ExtractSchFromXSD.xsl
+share/xsl/iso-schematron/xslt1/iso_abstract_expand.xsl
+share/xsl/iso-schematron/xslt1/iso_dsdl_include.xsl
+share/xsl/iso-schematron/xslt1/iso_schematron_message.xsl
+share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl
+share/xsl/iso-schematron/xslt1/iso_svrl_for_xslt1.xsl
+share/xsl/iso-schematron/xslt1/readme.txt
+share/xsl/iso-schematron/xslt1/schematron-skeleton-api.htm
+share/xsl/iso-schematron/xslt2/ExtractSchFromRNG-2.xsl
+share/xsl/iso-schematron/xslt2/ExtractSchFromXSD-2.xsl
+share/xsl/iso-schematron/xslt2/iso_abstract_expand.xsl
+share/xsl/iso-schematron/xslt2/iso_dsdl_include.xsl
+share/xsl/iso-schematron/xslt2/iso_schematron_message_xslt2.xsl
+share/xsl/iso-schematron/xslt2/iso_schematron_skeleton_for_saxon.xsl
+share/xsl/iso-schematron/xslt2/iso_svrl_for_xslt2.xsl
+share/xsl/iso-schematron/xslt2/readme.txt
+share/xsl/iso-schematron/xslt2/sch-messages-cs.xhtml
+share/xsl/iso-schematron/xslt2/sch-messages-de.xhtml
+share/xsl/iso-schematron/xslt2/sch-messages-en.xhtml
+share/xsl/iso-schematron/xslt2/sch-messages-fr.xhtml
+share/xsl/iso-schematron/xslt2/sch-messages-nl.xhtml
+share/xsl/iso-schematron/xslt2/schematron-skeleton-api.htm
More information about the svn-ports-all
mailing list