mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:24:52 +00:00
37893c2bae
A few mistakes in plists came up, so these ports get a PORTREVISION bump. Some of the older ports are still left out.
32 lines
799 B
Makefile
32 lines
799 B
Makefile
# $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>
|