From owner-svn-ports-all@FreeBSD.ORG Thu Feb 27 13:32:51 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3595D96C; Thu, 27 Feb 2014 13:32:51 +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 2189A18C9; Thu, 27 Feb 2014 13:32:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1RDWpLp067766; Thu, 27 Feb 2014 13:32:51 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1RDWoh9067765; Thu, 27 Feb 2014 13:32:50 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402271332.s1RDWoh9067765@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 27 Feb 2014 13:32:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346327 - head/www/script4rss 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: Thu, 27 Feb 2014 13:32:51 -0000 Author: ehaupt Date: Thu Feb 27 13:32:50 2014 New Revision: 346327 URL: http://svnweb.freebsd.org/changeset/ports/346327 QAT: https://qat.redports.org/buildarchive/r346327/ Log: - Support staging - Use shebangfix - Define EXAMPLES option Deleted: head/www/script4rss/pkg-plist Modified: head/www/script4rss/Makefile Modified: head/www/script4rss/Makefile ============================================================================== --- head/www/script4rss/Makefile Thu Feb 27 13:20:11 2014 (r346326) +++ head/www/script4rss/Makefile Thu Feb 27 13:32:50 2014 (r346327) @@ -9,20 +9,21 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Easily create scripts to convert HTML pages to RSS feeds -USES= perl5 +USES= perl5 shebangfix USE_BZIP2= yes USE_PERL5= run NO_BUILD= yes -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e "s,#!/usr/bin/perl,#!${SETENV} perl," ${WRKSRC}/script4rss.pl +PLIST_FILES= bin/script4rss +PORTEXAMPLES= * +SHEBANG_FILES= script4rss.pl + +OPTIONS_DEFINE= EXAMPLES do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/script4rss.pl ${PREFIX}/bin/script4rss -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/script4rss.pl \ + ${STAGEDIR}${PREFIX}/bin/script4rss + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include