From owner-svn-ports-head@FreeBSD.ORG Thu Feb 27 13:00:16 2014 Return-Path: Delivered-To: svn-ports-head@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 A17453F7; Thu, 27 Feb 2014 13:00:16 +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 88EDC1517; Thu, 27 Feb 2014 13:00:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1RD0Gp8050726; Thu, 27 Feb 2014 13:00:16 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1RD0GNB050725; Thu, 27 Feb 2014 13:00:16 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402271300.s1RD0GNB050725@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 27 Feb 2014 13:00:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346322 - head/www/bkmrkconv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 13:00:16 -0000 Author: ehaupt Date: Thu Feb 27 13:00:16 2014 New Revision: 346322 URL: http://svnweb.freebsd.org/changeset/ports/346322 QAT: https://qat.redports.org/buildarchive/r346322/ Log: Support staging Modified: head/www/bkmrkconv/Makefile Modified: head/www/bkmrkconv/Makefile ============================================================================== --- head/www/bkmrkconv/Makefile Thu Feb 27 12:58:01 2014 (r346321) +++ head/www/bkmrkconv/Makefile Thu Feb 27 13:00:16 2014 (r346322) @@ -12,21 +12,21 @@ COMMENT= Netscape bookmarks.html convert USES= perl5 NO_BUILD= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -i '' -e \ 's|/usr/bin/perl|${PERL}|g ; \ s|%%PREFIX%%|${PREFIX}|g' do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl ${PREFIX}/bin/bkmrkconv - @${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${DATADIR} - @${MKDIR} ${DATADIR}/src - ${INSTALL_DATA} ${WRKSRC}/src.example/* ${DATADIR}/src -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl \ + ${STAGEDIR}${PREFIX}/bin/bkmrkconv + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/src + ${INSTALL_DATA} ${WRKSRC}/src.example/* ${STAGEDIR}${DATADIR}/src + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include