Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 21:27:13 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332010 - head/www/mochiweb-basho
Message-ID:  <201310292127.r9TLRD2W043179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Oct 29 21:27:12 2013
New Revision: 332010
URL: http://svnweb.freebsd.org/changeset/ports/332010

Log:
  - Add staging support.
  - Do not mute install commands.
  - Cleanup pkg-plist.

Modified:
  head/www/mochiweb-basho/Makefile
  head/www/mochiweb-basho/pkg-plist

Modified: head/www/mochiweb-basho/Makefile
==============================================================================
--- head/www/mochiweb-basho/Makefile	Tue Oct 29 21:27:00 2013	(r332009)
+++ head/www/mochiweb-basho/Makefile	Tue Oct 29 21:27:12 2013	(r332010)
@@ -26,26 +26,19 @@ GH_TAGNAME=	${PORTVERSION}
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@for FILE in README; do \
-		${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	for FILE in README; do \
+		${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \
 	done
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
-.endif
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
-	@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin
-	@${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
-	@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
 
 .include <bsd.port.mk>

Modified: head/www/mochiweb-basho/pkg-plist
==============================================================================
--- head/www/mochiweb-basho/pkg-plist	Tue Oct 29 21:27:00 2013	(r332009)
+++ head/www/mochiweb-basho/pkg-plist	Tue Oct 29 21:27:12 2013	(r332010)
@@ -1,82 +1,82 @@
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_records.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_std.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiglobal.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochihex.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson2.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilists.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilogfile2.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochinum.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochitemp.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiutf8.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.app
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_acceptor.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_app.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_charref.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cookies.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cover.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_echo.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_headers.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_html.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_http.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_io.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_mime.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_multipart.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request_tests.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_response.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_skel.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket_server.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_sup.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_util.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/reloader.beam
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/include/internal.hrl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_records.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_std.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiglobal.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochihex.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochijson.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochijson2.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochilists.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochilogfile2.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochinum.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochitemp.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiutf8.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.app.src
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_acceptor.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_app.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_charref.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cookies.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cover.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_echo.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_headers.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_html.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_http.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_io.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_mime.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_multipart.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request_tests.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_response.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_skel.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket_server.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_sup.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_util.erl
-%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/reloader.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_records.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_std.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiglobal.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochihex.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson2.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilists.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilogfile2.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochinum.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochitemp.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiutf8.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.app
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_acceptor.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_app.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_charref.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cookies.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cover.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_echo.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_headers.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_html.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_http.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_io.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_mime.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_multipart.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request_tests.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_response.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_skel.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket_server.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_sup.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_util.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/ebin/reloader.beam
+lib/erlang/lib/mochiweb-%%VERSION%%/include/internal.hrl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_records.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_std.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiglobal.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochihex.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochijson.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochijson2.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochilists.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochilogfile2.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochinum.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochitemp.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiutf8.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.app.src
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_acceptor.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_app.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_charref.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cookies.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cover.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_echo.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_headers.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_html.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_http.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_io.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_mime.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_multipart.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request_tests.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_response.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_skel.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket_server.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_sup.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_util.erl
+lib/erlang/lib/mochiweb-%%VERSION%%/src/reloader.erl
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/https_store.erl
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_cert.pem
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_key.pem
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/keepalive/keepalive.erl
-@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src
-@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/include
-@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin
-@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%
+@dirrm lib/erlang/lib/mochiweb-%%VERSION%%/src
+@dirrm lib/erlang/lib/mochiweb-%%VERSION%%/include
+@dirrm lib/erlang/lib/mochiweb-%%VERSION%%/ebin
+@dirrm lib/erlang/lib/mochiweb-%%VERSION%%
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/keepalive
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/https
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310292127.r9TLRD2W043179>