diff options
author | olgeni <olgeni@FreeBSD.org> | 2013-11-07 23:15:48 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2013-11-07 23:15:48 +0800 |
commit | 73d91f9d24881f9933015b6089768aebff840bb5 (patch) | |
tree | f3288d91bc22deed298916c9f4a4410a39e52d3d /net | |
parent | 58939fbe7e9077e0bdad2d2c81d0828c7b0063ed (diff) | |
download | freebsd-ports-gnome-73d91f9d24881f9933015b6089768aebff840bb5.tar.gz freebsd-ports-gnome-73d91f9d24881f9933015b6089768aebff840bb5.tar.zst freebsd-ports-gnome-73d91f9d24881f9933015b6089768aebff840bb5.zip |
- Switch to USES=gmake.
- Add staging support.
- Do not mute install commands.
- Cleanup pkg-plist.
Diffstat (limited to 'net')
-rw-r--r-- | net/erlang_xmlrpc/Makefile | 31 | ||||
-rw-r--r-- | net/erlang_xmlrpc/pkg-plist | 33 |
2 files changed, 29 insertions, 35 deletions
diff --git a/net/erlang_xmlrpc/Makefile b/net/erlang_xmlrpc/Makefile index 3674169a6ddd..fb3301138b1e 100644 --- a/net/erlang_xmlrpc/Makefile +++ b/net/erlang_xmlrpc/Makefile @@ -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> diff --git a/net/erlang_xmlrpc/pkg-plist b/net/erlang_xmlrpc/pkg-plist index 46667acdcd0a..2c9e63dc7889 100644 --- a/net/erlang_xmlrpc/pkg-plist +++ b/net/erlang_xmlrpc/pkg-plist @@ -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 |