From owner-svn-ports-all@FreeBSD.ORG Sat May 9 11:58:25 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7CE34C40; Sat, 9 May 2015 11:58:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B72D1D56; Sat, 9 May 2015 11:58:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t49BwPGh046581; Sat, 9 May 2015 11:58:25 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t49BwOQd046575; Sat, 9 May 2015 11:58:24 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505091158.t49BwOQd046575@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Sat, 9 May 2015 11:58:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385881 - in head/devel/meck: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 11:58:25 -0000 Author: olgeni Date: Sat May 9 11:58:23 2015 New Revision: 385881 URL: https://svnweb.freebsd.org/changeset/ports/385881 Log: Cleanup. - Simplify dependencies. - Use pkg-plist for the README (remove PORTDOCS). - Add support for DOCS. - Silence portlint warnings (make makepatch). Modified: head/devel/meck/Makefile head/devel/meck/files/patch-Makefile (contents, props changed) head/devel/meck/files/patch-test.config (contents, props changed) head/devel/meck/pkg-plist Modified: head/devel/meck/Makefile ============================================================================== --- head/devel/meck/Makefile Sat May 9 11:58:22 2015 (r385880) +++ head/devel/meck/Makefile Sat May 9 11:58:23 2015 (r385881) @@ -9,9 +9,8 @@ COMMENT= Erlang library for building moc LICENSE= APACHE20 -BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ - rebar:${PORTSDIR}/devel/rebar -RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang +BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= ${BUILD_DEPENDS} PLIST_SUB= VERSION="${PORTVERSION}" @@ -19,17 +18,17 @@ USES= gmake USE_GITHUB= yes GH_ACCOUNT= eproxus -PORTDOCS= * - .include do-install: +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src - ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin - ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src +.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src .include Modified: head/devel/meck/files/patch-Makefile ============================================================================== --- head/devel/meck/files/patch-Makefile Sat May 9 11:58:22 2015 (r385880) +++ head/devel/meck/files/patch-Makefile Sat May 9 11:58:23 2015 (r385881) @@ -1,9 +1,6 @@ - -$FreeBSD$ - ---- Makefile.orig +--- Makefile.orig 2014-05-05 09:33:59 UTC +++ Makefile -@@ -18,7 +18,7 @@ +@@ -18,7 +18,7 @@ DIALYZER_INC=$(shell test -d include && .PHONY: all rebuild compile doc clean test dialyzer typer get-deps clean-deps \ shell clean-plt clean-doc distclean Modified: head/devel/meck/files/patch-test.config ============================================================================== --- head/devel/meck/files/patch-test.config Sat May 9 11:58:22 2015 (r385880) +++ head/devel/meck/files/patch-test.config Sat May 9 11:58:23 2015 (r385881) @@ -1,7 +1,4 @@ - -$FreeBSD$ - ---- test.config.orig +--- test.config.orig 2014-05-05 09:33:59 UTC +++ test.config @@ -1,7 +1,4 @@ %% Dependencies =============================================================== Modified: head/devel/meck/pkg-plist ============================================================================== --- head/devel/meck/pkg-plist Sat May 9 11:58:22 2015 (r385880) +++ head/devel/meck/pkg-plist Sat May 9 11:58:23 2015 (r385881) @@ -22,3 +22,4 @@ lib/erlang/lib/meck-%%VERSION%%/src/meck lib/erlang/lib/meck-%%VERSION%%/src/meck_proc.erl lib/erlang/lib/meck-%%VERSION%%/src/meck_ret_spec.erl lib/erlang/lib/meck-%%VERSION%%/src/meck_util.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md