mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Switch to USES=gmake.
- Add staging support. - Do not mute install commands. - Cleanup pkg-plist.
This commit is contained in:
parent
00573a2d91
commit
7a9a6b582e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333116
@ -17,14 +17,11 @@ RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
|
||||
|
||||
PLIST_SUB= VERSION="${PORTVERSION}"
|
||||
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
|
||||
|
||||
MAN3= erlang_xmlrpc.3
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -35,21 +32,17 @@ do-build:
|
||||
@cd ${WRKSRC}/src && ${GMAKE}
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@for FILE in xmlrpc.pdf xmlrpc.ps xmlrpc.txt; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/$${FILE} ${DOCSDIR}; \
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
for FILE in xmlrpc.pdf xmlrpc.ps xmlrpc.txt; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/$${FILE} ${STAGEDIR}${DOCSDIR}; \
|
||||
done
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
|
||||
@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
|
||||
@${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${MANPREFIX}/man/man3/erlang_xmlrpc.3
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
|
||||
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
|
||||
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,19 +1,20 @@
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/tcp_serv.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_decode.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_encode.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_http.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_util.beam
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/Makefile
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/example_serv.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/log.hrl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/tcp_serv.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.hrl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_decode.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_encode.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_http.erl
|
||||
%%LIB32DIR%%/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_util.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/tcp_serv.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_decode.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_encode.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_http.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/ebin/xmlrpc_util.beam
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/Makefile
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/example_serv.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/log.hrl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/tcp_serv.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc.hrl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_decode.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_encode.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_http.erl
|
||||
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_util.erl
|
||||
man/man3/erlang_xmlrpc.3.gz
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BankClient.java
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/DateClient.java
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/EchoClient.java
|
||||
|
Loading…
Reference in New Issue
Block a user