Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 15:15:49 +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: r333116 - head/net/erlang_xmlrpc
Message-ID:  <201311071515.rA7FFnOj031717@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Thu Nov  7 15:15:48 2013
New Revision: 333116
URL: http://svnweb.freebsd.org/changeset/ports/333116

Log:
  - Switch to USES=gmake.
  - Add staging support.
  - Do not mute install commands.
  - Cleanup pkg-plist.

Modified:
  head/net/erlang_xmlrpc/Makefile
  head/net/erlang_xmlrpc/pkg-plist

Modified: head/net/erlang_xmlrpc/Makefile
==============================================================================
--- head/net/erlang_xmlrpc/Makefile	Thu Nov  7 15:12:17 2013	(r333115)
+++ head/net/erlang_xmlrpc/Makefile	Thu Nov  7 15:15:48 2013	(r333116)
@@ -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>

Modified: head/net/erlang_xmlrpc/pkg-plist
==============================================================================
--- head/net/erlang_xmlrpc/pkg-plist	Thu Nov  7 15:12:17 2013	(r333115)
+++ head/net/erlang_xmlrpc/pkg-plist	Thu Nov  7 15:15:48 2013	(r333116)
@@ -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



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