From owner-svn-ports-all@FreeBSD.ORG Thu Sep 26 13:36:25 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 ESMTP id EEF32E23; Thu, 26 Sep 2013 13:36:24 +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 DCAE52A38; Thu, 26 Sep 2013 13:36:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8QDaOJ1044274; Thu, 26 Sep 2013 13:36:24 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8QDaOLM044233; Thu, 26 Sep 2013 13:36:24 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201309261336.r8QDaOLM044233@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 26 Sep 2013 13:36:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328356 - in head/devel/clig: . 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-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: Thu, 26 Sep 2013 13:36:25 -0000 Author: gahr Date: Thu Sep 26 13:36:23 2013 New Revision: 328356 URL: http://svnweb.freebsd.org/changeset/ports/328356 Log: - Convert to USES+=tcl - Respect PORT_OPTIONS:MDOCS - Support STAGE Added: head/devel/clig/files/ head/devel/clig/files/patch-install (contents, props changed) head/devel/clig/files/patch-makefile (contents, props changed) Modified: head/devel/clig/Makefile (contents, props changed) head/devel/clig/pkg-plist (contents, props changed) Modified: head/devel/clig/Makefile ============================================================================== --- head/devel/clig/Makefile Thu Sep 26 13:34:49 2013 (r328355) +++ head/devel/clig/Makefile Thu Sep 26 13:36:23 2013 (r328356) @@ -10,22 +10,21 @@ MASTER_SITES= http://wsd.iitb.fhg.de/~ge MAINTAINER= ports@FreeBSD.org COMMENT= Auto-generate an (argc, argv) processor, usage message, and manpage +OPTIONS_DEFINE= DOCS + NO_BUILD= yes -USE_TCL_BUILD= yes -USE_TCL= yes +USES+= tcl MAKEFILE= makefile +MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS} WRKSRC= ${WRKDIR}/${PORTNAME} +PORTDOCS= * -MAN1= clig.1 -MANN= clig_Commandline.n clig_Description.n clig_Double.n clig_Flag.n \ - clig_Float.n clig_Int.n clig_Long.n clig_Name.n clig_Rest.n \ - clig_String.n clig_Usage.n clig_Version.n clig_parseCmdline.n +.include -NO_STAGE= yes post-patch: @${RM} ${WRKSRC}/example/.cvsignore @${FIND} -d ${WRKSRC} -type d -and -name CVS -exec ${RM} -r {} \; - @${REINPLACE_CMD} -e 's|prefix =/usr|prefix=${PREFIX}|; \ + @${REINPLACE_CMD} -e 's|prefix =/usr|prefix=${STAGEDIR}${PREFIX}|; \ s|/usr/bin/tclsh|${TCLSH}|; \ s|/doc/|/share/doc/|; \ s|-$$(VERSION)||;' \ Added: head/devel/clig/files/patch-install ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clig/files/patch-install Thu Sep 26 13:36:23 2013 (r328356) @@ -0,0 +1,14 @@ +--- install.orig 2000-01-16 18:15:32.000000000 +0100 ++++ install 2013-09-26 15:30:00.000000000 +0200 +@@ -64,9 +64,11 @@ + } + + # doc and examples ++if {$env(NOPORTDOCS) eq {}} { + file copy -force CHANGES ANNOUNCE index.html README WISHLIST \ + COPYING-2.0 LICENSE example \ + $env(DOCDIR) ++} + ######################################################################## + ## Local Variables: ## + ## mode:tcl ## Added: head/devel/clig/files/patch-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clig/files/patch-makefile Thu Sep 26 13:36:23 2013 (r328356) @@ -0,0 +1,9 @@ +--- makefile.orig 2013-09-26 15:22:07.000000000 +0200 ++++ makefile 2013-09-26 15:22:46.000000000 +0200 +@@ -104,4 +104,5 @@ + M1SUFFIX=$(M1SUFFIX) \ + MANnDIR=$(build_root)$(MANnDIR) MnFILES="$(MnFILES.f)" \ + MnSUFFIX=$(MnSUFFIX) \ +- DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION) ++ DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION) \ ++ NOPORTDOCS=${NOPORTDOCS} Modified: head/devel/clig/pkg-plist ============================================================================== --- head/devel/clig/pkg-plist Thu Sep 26 13:34:49 2013 (r328355) +++ head/devel/clig/pkg-plist Thu Sep 26 13:36:23 2013 (r328356) @@ -55,19 +55,21 @@ lib/clig/tcllib/parse.tcl lib/clig/tcllib/setSpec.tcl lib/clig/tcllib/usage.tcl lib/clig/tcllib/version.tcl -share/doc/clig/ANNOUNCE -share/doc/clig/CHANGES -share/doc/clig/COPYING-2.0 -share/doc/clig/LICENSE -share/doc/clig/README -share/doc/clig/WISHLIST -share/doc/clig/example/cmdline.cli -share/doc/clig/example/main.c -share/doc/clig/example/makefile -share/doc/clig/index.html +man/man1/clig.1.gz +man/mann/clig_Commandline.n.gz +man/mann/clig_Description.n.gz +man/mann/clig_Double.n.gz +man/mann/clig_Flag.n.gz +man/mann/clig_Float.n.gz +man/mann/clig_Int.n.gz +man/mann/clig_Long.n.gz +man/mann/clig_Name.n.gz +man/mann/clig_Rest.n.gz +man/mann/clig_String.n.gz +man/mann/clig_Usage.n.gz +man/mann/clig_Version.n.gz +man/mann/clig_parseCmdline.n.gz @dirrm lib/clig/c @dirrm lib/clig/tcl @dirrm lib/clig/tcllib @dirrm lib/clig -@dirrm share/doc/clig/example -@dirrm share/doc/clig