blob: 3becd59c00090a80e5ad999411cc9f4b159615c5 (
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
|
# $FreeBSD$
PORTNAME= xmlrpc
PORTVERSION= 1.13
PORTREVISION= 13
CATEGORIES= net
MASTER_SITES= http://www.erlang.org/contrib/
PKGNAMEPREFIX= erlang-
DIST_SUBDIR= erlang
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Library for XMLRPC support in Erlang
USES= gmake erlang tar:tgz
WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
ERL_DOCS= doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt
do-build:
cd ${WRKSRC}/src && ${GMAKE}
post-patch:
@${REINPLACE_CMD} -i '' -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile
@${RM} ${WRKSRC}/src/*.orig
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
.include <bsd.port.mk>
|