From owner-svn-ports-all@FreeBSD.ORG Wed Nov 6 15:13:25 2013 Return-Path: Delivered-To: svn-ports-all@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 BC7CA135; Wed, 6 Nov 2013 15:13:25 +0000 (UTC) (envelope-from gahr@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 A9A712638; Wed, 6 Nov 2013 15:13:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA6FDPB2024684; Wed, 6 Nov 2013 15:13:25 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA6FDPqi024683; Wed, 6 Nov 2013 15:13:25 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201311061513.rA6FDPqi024683@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 6 Nov 2013 15:13:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333002 - head/misc/tkrunit 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.14 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: Wed, 06 Nov 2013 15:13:25 -0000 Author: gahr Date: Wed Nov 6 15:13:25 2013 New Revision: 333002 URL: http://svnweb.freebsd.org/changeset/ports/333002 Log: - Convert to USES+=tk - Convert EXAMPLES to OPTIONSng - STAGE-clean Modified: head/misc/tkrunit/Makefile (contents, props changed) Modified: head/misc/tkrunit/Makefile ============================================================================== --- head/misc/tkrunit/Makefile Wed Nov 6 15:04:01 2013 (r333001) +++ head/misc/tkrunit/Makefile Wed Nov 6 15:13:25 2013 (r333002) @@ -11,26 +11,27 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./ MAINTAINER= ports@FreeBSD.org COMMENT= GUI app launcher with completion and history +OPTIONS_DEFINE= EXAMPLES + LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME} +USES+= tk NO_BUILD= yes -USE_TK_WRAPPER= yes - PORTEXAMPLES= ${PORTNAME:L} PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes +.include + post-patch: - @${REINPLACE_CMD} -e \ - 's|/usr/local/bin|${PREFIX}/bin|' ${WRKSRC}/runit.tcl + @${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/runit.tcl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/runit.tcl ${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${EXAMPLESDIR}/${PORTNAME:L} + ${INSTALL_SCRIPT} ${WRKSRC}/runit.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME:L} @${ECHO_MSG} " " @${ECHO_MSG} "-------------------------------------------------------------------" @${ECHO_MSG} "===> Installing runitrc.sample in ${EXAMPLESDIR}/${PORTNAME:L}"