From owner-svn-ports-head@FreeBSD.ORG Thu Aug 8 09:45:10 2013 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 ESMTP id D328691; Thu, 8 Aug 2013 09:45:10 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) 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 A6DC423F0; Thu, 8 Aug 2013 09:45:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r789jAvL091431; Thu, 8 Aug 2013 09:45:10 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r789jACJ091428; Thu, 8 Aug 2013 09:45:10 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201308080945.r789jACJ091428@svn.freebsd.org> From: Kevin Lo Date: Thu, 8 Aug 2013 09:45:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324384 - in head/sysutils/ipad_charge: . files 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.14 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, 08 Aug 2013 09:45:10 -0000 Author: kevlo Date: Thu Aug 8 09:45:09 2013 New Revision: 324384 URL: http://svnweb.freebsd.org/changeset/ports/324384 Log: Cosmetic changes: - kill older versions of FreeBSD support - use SUB_FILES - pad pkg-message display with @${ECHO_CMD} Pointed out by: danfe Added: head/sysutils/ipad_charge/files/pkg-message.in (contents, props changed) Deleted: head/sysutils/ipad_charge/pkg-message Modified: head/sysutils/ipad_charge/Makefile Modified: head/sysutils/ipad_charge/Makefile ============================================================================== --- head/sysutils/ipad_charge/Makefile Thu Aug 8 09:27:45 2013 (r324383) +++ head/sysutils/ipad_charge/Makefile Thu Aug 8 09:45:09 2013 (r324384) @@ -10,22 +10,18 @@ COMMENT= Generic iPad USB charging utili LICENSE= BSD +PLIST_FILES= etc/devd/ipad_charge.conf USE_RC_SUBR= ipad_charge +SUB_FILES= ipad_charge.conf pkg-message NO_BUILD= yes -.include - -.if ${OSVERSION} < 800000 -IGNORE= requires FreeBSD 8.0-RELEASE or later -.endif - do-install: + @${MKDIR} ${PREFIX}/etc/devd + @${INSTALL_DATA} ${WRKDIR}/ipad_charge.conf ${PREFIX}/etc/devd post-install: - @${MKDIR} ${PREFIX}/etc/devd - @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ - < ${FILESDIR}/ipad_charge.conf.in > ${WRKDIR}/ipad_charge.conf - ${INSTALL_DATA} "${WRKDIR}/ipad_charge.conf" ${PREFIX}/etc/devd + @${ECHO_MSG} @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} -.include +.include Added: head/sysutils/ipad_charge/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ipad_charge/files/pkg-message.in Thu Aug 8 09:45:09 2013 (r324384) @@ -0,0 +1,11 @@ +********************************************************************* +1) add ipad_charge_enable="YES" and optionally + ipad_charge_action="ON" (default) or "OFF" . + +to your /etc/rc.conf + +2) Please restart devd as the configuration changed + + # service devd restart + +*********************************************************************