From owner-svn-ports-head@FreeBSD.ORG Mon Dec 9 16:46:41 2013 Return-Path: Delivered-To: svn-ports-head@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 EAF79861; Mon, 9 Dec 2013 16:46:41 +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 BB2E01A22; Mon, 9 Dec 2013 16:46:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9Gkfit090862; Mon, 9 Dec 2013 16:46:41 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB9GkfMP090860; Mon, 9 Dec 2013 16:46:41 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201312091646.rB9GkfMP090860@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Mon, 9 Dec 2013 16:46:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336005 - head/misc/dphys-config 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: Mon, 09 Dec 2013 16:46:42 -0000 Author: danilo Date: Mon Dec 9 16:46:41 2013 New Revision: 336005 URL: http://svnweb.freebsd.org/changeset/ports/336005 Log: - Add stage support Modified: head/misc/dphys-config/Makefile head/misc/dphys-config/pkg-plist (contents, props changed) Modified: head/misc/dphys-config/Makefile ============================================================================== --- head/misc/dphys-config/Makefile Mon Dec 9 16:41:34 2013 (r336004) +++ head/misc/dphys-config/Makefile Mon Dec 9 16:46:41 2013 (r336005) @@ -14,28 +14,22 @@ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget NO_BUILD= yes -MAN1= dphys-config.1 - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 - ${MKDIR} ${EXAMPLESDIR}/site.example/local/sbin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dphys-config.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/site.example/local/sbin .for f in dphys-config.example cron.d.example init.d.example - ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/site.example/${PORTNAME}* \ - ${EXAMPLESDIR}/site.example/ + ${STAGEDIR}${EXAMPLESDIR}/site.example/ ${INSTALL_DATA} ${WRKSRC}/site.example/local/sbin/${PORTNAME}-* \ - ${EXAMPLESDIR}/site.example/local/sbin/ - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.example ${PREFIX}/etc/${PORTNAME}.sample -.if !exists(${PREFIX}/etc/${PORTNAME}) - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.example ${PREFIX}/etc/${PORTNAME} -.endif + ${STAGEDIR}${EXAMPLESDIR}/site.example/local/sbin/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.example ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.sample .include Modified: head/misc/dphys-config/pkg-plist ============================================================================== --- head/misc/dphys-config/pkg-plist Mon Dec 9 16:41:34 2013 (r336004) +++ head/misc/dphys-config/pkg-plist Mon Dec 9 16:46:41 2013 (r336005) @@ -1,8 +1,8 @@ -@comment $FreeBSD$ bin/dphys-config @unexec if cmp -s %D/etc/dphys-config %D/etc/dphys-config.sample; then rm -f %D/etc/dphys-config; fi etc/dphys-config.sample @exec [ -f %B/dphys-config ] || cp %B/%f %B/dphys-config +man/man1/dphys-config.1.gz %%EXAMPLESDIR%%/cron.d.example %%EXAMPLESDIR%%/dphys-config.example %%EXAMPLESDIR%%/init.d.example