aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mathml-xsd/Makefile
blob: c9e0e4a4944f90694c8c4ce0b4dc1dc7e88b207a (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
# ex:ts=8
# Ports collection makefile for:    mathml-xsd
# Date created:         Feb 9, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   mathml-xsd
PORTVERSION=    2
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://www.w3.org/Math/XMLSchema/
DISTNAME=   mathml${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    The MathML XML Schema

NO_BUILD=   yes

post-extract:
    @${FIND} ${WRKSRC} -name "CVS" -type d -delete

do-install:
    @${MKDIR} ${DATADIR}
    @${CP} -R ${WRKSRC}/* ${DATADIR}
    @${FIND} ${DATADIR} -type f | \
        ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
    @${FIND} ${DATADIR} -type d | ${SORT} -r | \
        ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}

.include <bsd.port.mk>