From owner-svn-ports-all@FreeBSD.ORG Fri Feb 28 07:16:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B36B7BD8; Fri, 28 Feb 2014 07:16:42 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F30B18C7; Fri, 28 Feb 2014 07:16:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1S7Gg4L042574; Fri, 28 Feb 2014 07:16:42 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1S7GgUm042573; Fri, 28 Feb 2014 07:16:42 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402280716.s1S7GgUm042573@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 28 Feb 2014 07:16:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346440 - head/misc/mtail 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.17 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: Fri, 28 Feb 2014 07:16:42 -0000 Author: ehaupt Date: Fri Feb 28 07:16:42 2014 New Revision: 346440 URL: http://svnweb.freebsd.org/changeset/ports/346440 QAT: https://qat.redports.org/buildarchive/r346440/ Log: Support staging Modified: head/misc/mtail/Makefile Modified: head/misc/mtail/Makefile ============================================================================== --- head/misc/mtail/Makefile Fri Feb 28 07:12:57 2014 (r346439) +++ head/misc/mtail/Makefile Fri Feb 28 07:16:42 2014 (r346440) @@ -16,24 +16,17 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGES LICENSE README PORTEXAMPLES= mtailrc -NO_STAGE= yes - OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-patch: @${REINPLACE_CMD} -e '1s|/.*|${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - @${INSTALL} -d ${DOCSDIR}/ - @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${INSTALL} -d ${EXAMPLESDIR}/ - @${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${EXAMPLESDIR}/mtailrc -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + @${MKDIR} $ ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/mtailrc.sample \ + ${STAGEDIR}${EXAMPLESDIR}/mtailrc .include