From owner-svn-ports-all@FreeBSD.ORG Sun Jun 15 03:02:37 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 41D5E484; Sun, 15 Jun 2014 03:02:37 +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 2F85E27E3; Sun, 15 Jun 2014 03:02:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5F32au6052471; Sun, 15 Jun 2014 03:02:36 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5F32a5F052470; Sun, 15 Jun 2014 03:02:36 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406150302.s5F32a5F052470@svn.freebsd.org> From: Martin Wilke Date: Sun, 15 Jun 2014 03:02:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357814 - head/www/webinject 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.18 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: Sun, 15 Jun 2014 03:02:37 -0000 Author: miwi Date: Sun Jun 15 03:02:36 2014 New Revision: 357814 URL: http://svnweb.freebsd.org/changeset/ports/357814 QAT: https://qat.redports.org/buildarchive/r357814/ Log: - Stage support PR: 191005 Modified: head/www/webinject/Makefile Modified: head/www/webinject/Makefile ============================================================================== --- head/www/webinject/Makefile Sun Jun 15 03:01:58 2014 (r357813) +++ head/www/webinject/Makefile Sun Jun 15 03:02:36 2014 (r357814) @@ -21,7 +21,8 @@ RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/ww #RUN_DEPENDS+= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk .endif -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= webinject.pl NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} @@ -30,19 +31,15 @@ PLIST_FILES= bin/webinject.pl \ ${DATADIR:S,^${PREFIX}/,,}/testcases.xml PLIST_DIRS= ${DATADIR:S,^${PREFIX}/,,} -NO_STAGE= yes do-install: - @${MKDIR} ${DATADIR} - @cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${DATADIR} - @cd ${WRKSRC} && ${INSTALL_SCRIPT} webinject.pl ${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + @cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${STAGEDIR}${DATADIR} + @cd ${WRKSRC} && ${INSTALL_SCRIPT} webinject.pl ${STAGEDIR}${PREFIX}/bin -.if !defined(NOPORTDOCS) PORTDOCS= LICENSE README post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include