aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmerl/Makefile
blob: 1a70819cddc32529e122fb503c765027ac1101b2 (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
34
35
36
# New ports collection makefile for:    xmerl
# Date Created:             5 March 2003
# Whom:                 olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   xmerl
PORTVERSION=    0.18
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sowap
DIST_SUBDIR=    erlang

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    A library for XML processing in Erlang

BUILD_DEPENDS=  erlc:${PORTSDIR}/lang/erlang

USE_GMAKE=  yes

XMERL_DOCS= README.html changes.txt xpath-grammar.txt xslt-example.dtd xslt-example.xls

do-install:
    @${MKDIR} ${DOCSDIR}
    @for FILE in ${XMERL_DOCS}; do \
        ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
    done
    @${MKDIR} ${PREFIX}/lib/erlang/lib/xmerl
    @${CP} -r ${WRKSRC}/ebin ${PREFIX}/lib/erlang/lib/xmerl
    @${CP} -r ${WRKSRC}/inc ${PREFIX}/lib/erlang/lib/xmerl
    @${CP} -r ${WRKSRC}/priv ${PREFIX}/lib/erlang/lib/xmerl
    @${CP} -r ${WRKSRC}/src ${PREFIX}/lib/erlang/lib/xmerl
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang/lib/xmerl

.include <bsd.port.mk>