From owner-svn-ports-all@FreeBSD.ORG Mon Dec 9 13:35:02 2013 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 712B8160; Mon, 9 Dec 2013 13:35:02 +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 4333A1A4E; Mon, 9 Dec 2013 13:35:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9DZ2RJ019933; Mon, 9 Dec 2013 13:35:02 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB9DZ2qT019932; Mon, 9 Dec 2013 13:35:02 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201312091335.rB9DZ2qT019932@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Mon, 9 Dec 2013 13:35:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335982 - head/misc/quotes 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: Mon, 09 Dec 2013 13:35:02 -0000 Author: danilo Date: Mon Dec 9 13:35:01 2013 New Revision: 335982 URL: http://svnweb.freebsd.org/changeset/ports/335982 Log: - Remove MASTER_SITES sources, distfile unavailable. - Add stage support - Add DOCS and EXAMPLES options Modified: head/misc/quotes/Makefile Modified: head/misc/quotes/Makefile ============================================================================== --- head/misc/quotes/Makefile Mon Dec 9 13:24:51 2013 (r335981) +++ head/misc/quotes/Makefile Mon Dec 9 13:35:01 2013 (r335982) @@ -5,9 +5,7 @@ PORTNAME= quotes DISTVERSION= 1.7-2 PORTREVISION= 1 CATEGORIES= misc -MASTER_SITES= ${MASTER_SITE_TUCOWS} \ - http://freebsd.unixfreunde.de/sources/ -MASTER_SITE_SUBDIR= console/office +MASTER_SITES= # MAINTAINER= ports@FreeBSD.org COMMENT= Quote, currency, and Slashdot headline fetcher based on Perl @@ -16,24 +14,19 @@ NO_BUILD= yes USES= shebangfix perl5 SHEBANG_FILES= quotes quotesmailer QuExample.pm -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -i '' -e "s:/usr/local/lib/Quotes:${PREFIX}/etc:" \ -e "s:/usr/local:${PREFIX}:" ${WRKSRC}/quotes do-install: - @ ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin - @ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin - @ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample -.if ${PORT_OPTIONS:MDOCS} - @ ${MKDIR} ${DOCSDIR} - @ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @ ${MKDIR} ${EXAMPLESDIR} - @ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${EXAMPLESDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${STAGEDIR}${PREFIX}/etc/quotesrc.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${STAGEDIR}${EXAMPLESDIR} .include