diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-08-23 19:35:29 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-08-23 19:35:29 +0000 |
commit | 11c7988567ab186e0d24d7ee255bbde8af6845e6 (patch) | |
tree | 7ce83c21c552c9f1258d75755d92f3feb9a5dfa9 /textproc/iso-schematron-xslt | |
parent | 18278c113d4ca593bee294b6958a20bc9b9bc8d7 (diff) | |
download | ports-11c7988567ab186e0d24d7ee255bbde8af6845e6.tar.gz ports-11c7988567ab186e0d24d7ee255bbde8af6845e6.zip |
Use USES=zip
- Add my LOCAL to MASTER_SITES
- Add NO_ARCH
- Simplify do-extract: and do-install:
- Take maintainership
Notes
Notes:
svn path=/head/; revision=545846
Diffstat (limited to 'textproc/iso-schematron-xslt')
-rw-r--r-- | textproc/iso-schematron-xslt/Makefile | 24 | ||||
-rw-r--r-- | textproc/iso-schematron-xslt/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/iso-schematron-xslt/pkg-plist | 46 |
3 files changed, 34 insertions, 38 deletions
diff --git a/textproc/iso-schematron-xslt/Makefile b/textproc/iso-schematron-xslt/Makefile index 48061850cb0d..1235f3a902f2 100644 --- a/textproc/iso-schematron-xslt/Makefile +++ b/textproc/iso-schematron-xslt/Makefile @@ -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@FreeBSD.org +MAINTAINER= sunpoet@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 ) - -INSTDIR= share/xsl/iso-schematron -PLIST_SUB+= INSTDIR="${INSTDIR}" + @${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 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> diff --git a/textproc/iso-schematron-xslt/pkg-descr b/textproc/iso-schematron-xslt/pkg-descr index 9e4880f1326b..019e9b9fcce1 100644 --- a/textproc/iso-schematron-xslt/pkg-descr +++ b/textproc/iso-schematron-xslt/pkg-descr @@ -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 diff --git a/textproc/iso-schematron-xslt/pkg-plist b/textproc/iso-schematron-xslt/pkg-plist index 3a6ca3406645..22a557ff40a8 100644 --- a/textproc/iso-schematron-xslt/pkg-plist +++ b/textproc/iso-schematron-xslt/pkg-plist @@ -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 |