From owner-cvs-ports@FreeBSD.ORG Thu Jan 5 00:43:43 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1885116A41F; Thu, 5 Jan 2006 00:43:43 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB5EC43D66; Thu, 5 Jan 2006 00:43:42 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k050hg8t043042; Thu, 5 Jan 2006 00:43:42 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k050hgJd043041; Thu, 5 Jan 2006 00:43:42 GMT (envelope-from edwin) Message-Id: <200601050043.k050hgJd043041@repoman.freebsd.org> From: Edwin Groothuis Date: Thu, 5 Jan 2006 00:43:42 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/news/newscache Makefile pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 00:43:43 -0000 edwin 2006-01-05 00:43:42 UTC FreeBSD ports repository Modified files: news/newscache Makefile pkg-plist Log: Implement feedback from dougb@ It would be better to replace the SUB_FILES line in the Makefile with: USE_RC_SUBR= ${PORTNAME}.sh This provides several benefits in the short term. It would obviate the need for the post-install target and the pkg-plist entry, as the USE_RC_SUBR macro handles that stuff (as well as the SUB_FILES stuff) for you automatically. In the long term, we're going to add even more support for good things in the USE_RC_SUBR code, so it's a good idea to move that direction now. Revision Changes Path 1.22 +1 -4 ports/news/newscache/Makefile 1.6 +0 -1 ports/news/newscache/pkg-plist