blob: d0fb1a309c138e6de26477b694f3d9358c3271ce (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: xmerl
# Date Created: 5 March 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xmerl
PORTVERSION= 0.18
PORTREVISION= 1
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
post-extract:
@${MV} ${WRKSRC}/inc ${WRKSRC}/include
post-patch:
@${RM} ${WRKSRC}/src/*.orig
do-install:
@${MKDIR} ${DOCSDIR}
@for FILE in ${XMERL_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
done
@${MKDIR} ${PREFIX}/lib/erlang/lib/xmerl
@for FILE in ebin include priv src; do \
${MKDIR} ${PREFIX}/lib/erlang/lib/xmerl/$${FILE}; \
${CP} -r ${WRKSRC}/$${FILE}/* \
${PREFIX}/lib/erlang/lib/xmerl/$${FILE}; \
${CHMOD} ${SHAREMODE} \
${PREFIX}/lib/erlang/lib/xmerl/$${FILE}/*; \
done
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang/lib/xmerl
.include <bsd.port.mk>
|