aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iso-schematron-xslt/Makefile
blob: 659e4f8b8c13cb8f799f10860bedd463f9430fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $FreeBSD$

PORTNAME=   iso-schematron-xslt
PORTVERSION=    20130313
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://www.schematron.com/tmp/
DISTFILES=  iso-schematron-xslt1.zip \
        iso-schematron-xslt2.zip

MAINTAINER= gabor@FreeBSD.org
COMMENT=    The Leading Implementation of ISO Schematron

USE_ZIP=    yes
NO_BUILD=   yes

NO_STAGE=   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}"

do-install:
    ${MKDIR} ${PREFIX}/${INSTDIR}/xslt1
    ( ${FIND} ${WRKDIR}/xslt1 -type f -exec ${INSTALL_DATA} {} ${PREFIX}/${INSTDIR}/xslt1/ \; )
    ${MKDIR} ${PREFIX}/${INSTDIR}/xslt2
    ( ${FIND} ${WRKDIR}/xslt2 -type f -exec ${INSTALL_DATA} {} ${PREFIX}/${INSTDIR}/xslt2/ \; )

.include <bsd.port.mk>