From owner-svn-ports-head@FreeBSD.ORG Tue Oct 15 09:56:33 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 044FE3CC; Tue, 15 Oct 2013 09:56:33 +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 E442D2147; Tue, 15 Oct 2013 09:56:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9F9uWo8084884; Tue, 15 Oct 2013 09:56:32 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9F9uWdP084881; Tue, 15 Oct 2013 09:56:32 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201310150956.r9F9uWdP084881@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 15 Oct 2013 09:56:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330381 - head/textproc/cost 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: Tue, 15 Oct 2013 09:56:33 -0000 Author: gahr Date: Tue Oct 15 09:56:31 2013 New Revision: 330381 URL: http://svnweb.freebsd.org/changeset/ports/330381 Log: - Update to 2.3-2004-10-08 - Convert to USES+=tk - Convert to OPTIONSng (DOCS) - Install sample sgmlbrowse program Modified: head/textproc/cost/Makefile (contents, props changed) head/textproc/cost/distinfo (contents, props changed) head/textproc/cost/pkg-plist (contents, props changed) Modified: head/textproc/cost/Makefile ============================================================================== --- head/textproc/cost/Makefile Tue Oct 15 09:55:24 2013 (r330380) +++ head/textproc/cost/Makefile Tue Oct 15 09:56:31 2013 (r330381) @@ -2,46 +2,38 @@ # $FreeBSD$ PORTNAME= cost -PORTVERSION= 2.2p1 -PORTREVISION= 2 +DISTVERSION= 2.3-2004-10-08 CATEGORIES= textproc tcl -MASTER_SITES= http://www.flightlab.com/~joe/cost/ +MASTER_SITES= http://www.flightlab.com/~joe/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= SGML/XML application programming tool -USE_TCL= 84 -USE_TCL_BUILD= 84 -WRKSRC= ${WRKDIR}/${DISTNAME}/src +OPTIONS_DEFINE= DOCS + +USES+= tk GNU_CONFIGURE= YES -CONFIGURE_ARGS+=--with-tcl=${LOCALBASE}/lib/tcl8.4 \ - --with-docdir=${PREFIX}/share/doc/cost --with-charmaps -CONFIGURE_ENV+= TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.4" +CONFIGURE_ARGS+=-prefix=${PREFIX} \ + --exec-prefix=${PREFIX} \ + --with-tcl=${TCL_LIBDIR} \ + --with-tcl-include=${TCL_INCLUDEDIR} \ + --with-docdir=${DOCSDIR} CFLAGS+= -fPIC -NO_STAGE= yes +PORTDOCS= * +WRKSRC= ${WRKDIR}/${PORTNAME}-2.3/src + +.include + post-patch: - @${REINPLACE_CMD} -e 's|TCL_SRC_DIR%g|TCL_INCLUDE_SPEC%g|' \ - ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|$$(TCL_PKGPATH)|${PREFIX}/lib|' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|wish8.0|${WISH}|' ${WRKSRC}/../demos/sgmlbrowse.tcl -post-configure: - @${REINPLACE_CMD} -e 's|-I$$(TCL_SRC_DIR)/generic|$$(TCL_SRC_DIR)|' \ - ${WRKSRC}/Makefile - -do-install: - ${MKDIR} ${PREFIX}/lib/cost2.2 - ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/lib/*.tcl ${PREFIX}/lib/cost2.2 - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/lib/*.spec ${PREFIX}/lib/cost2.2 - ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/lib/*.itcl ${PREFIX}/lib/cost2.2 - ${INSTALL_DATA} ${WRKSRC}/libcost2.2.so ${PREFIX}/lib/cost2.2 - ${INSTALL_PROGRAM} ${WRKSRC}/costsh ${PREFIX}/bin/costsh - -.if !defined(NOPORTDOCS) - @${ECHO} "===> Installing Cost documentation" - @${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR} - @cd ${WRKDIR}/${DISTNAME}/doc && \ - ${INSTALL_MAN} manual.html manual.ps rtflib.html simple.html \ - ${DOCSDIR}/ +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/../demos/sgmlbrowse.tcl ${STAGEDIR}${PREFIX}/bin/sgmlbrowse +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/textproc/cost/distinfo ============================================================================== --- head/textproc/cost/distinfo Tue Oct 15 09:55:24 2013 (r330380) +++ head/textproc/cost/distinfo Tue Oct 15 09:56:31 2013 (r330381) @@ -1,2 +1,2 @@ -SHA256 (cost-2.2p1.tar.gz) = d8783817cc392946697ead8c78ac5abda42207d86c93a63930262671aa9a9279 -SIZE (cost-2.2p1.tar.gz) = 213550 +SHA256 (cost-2.3-2004-10-08.tar.gz) = d33f63d7d1a2e55a21d2154fe657ba9503b33d969606f8bd5bf3f0d63ff4532e +SIZE (cost-2.3-2004-10-08.tar.gz) = 267756 Modified: head/textproc/cost/pkg-plist ============================================================================== --- head/textproc/cost/pkg-plist Tue Oct 15 09:55:24 2013 (r330380) +++ head/textproc/cost/pkg-plist Tue Oct 15 09:56:31 2013 (r330381) @@ -1,21 +1,19 @@ -bin/costsh -lib/cost2.2/libcost2.2.so -lib/cost2.2/Core.tcl -lib/cost2.2/Counters.tcl -lib/cost2.2/Numerals.tcl -lib/cost2.2/Simple.tcl -lib/cost2.2/auxfile.tcl -lib/cost2.2/costinit.tcl -lib/cost2.2/htmllib.tcl -lib/cost2.2/pkgIndex.tcl -lib/cost2.2/rtflib.tcl -lib/cost2.2/textutil.tcl -lib/cost2.2/winhelp-stylesheet.tcl -lib/cost2.2/RTF.spec -lib/cost2.2/EventHandler.itcl -%%PORTDOCS%%%%DOCSDIR%%/manual.html -%%PORTDOCS%%%%DOCSDIR%%/manual.ps -%%PORTDOCS%%%%DOCSDIR%%/rtflib.html -%%PORTDOCS%%%%DOCSDIR%%/simple.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/cost2.2 +bin/sgmlbrowse +lib/cost2.3/Core.tcl +lib/cost2.3/Counters.tcl +lib/cost2.3/EventHandler.itcl +lib/cost2.3/HTML.spec +lib/cost2.3/Numerals.tcl +lib/cost2.3/Options.tcl +lib/cost2.3/RTF.spec +lib/cost2.3/Simple.tcl +lib/cost2.3/auxfile.tcl +lib/cost2.3/cost23.so +lib/cost2.3/costinit.tcl +lib/cost2.3/htmllib.tcl +lib/cost2.3/latex.tcl +lib/cost2.3/pkgIndex.tcl +lib/cost2.3/rtflib.tcl +lib/cost2.3/textutil.tcl +lib/cost2.3/winhelp-stylesheet.tcl +@dirrm lib/cost2.3