From owner-svn-ports-all@FreeBSD.ORG Sun May 18 20:07:44 2014 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 ESMTPS id D0E0A9A3; Sun, 18 May 2014 20:07:44 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDED327A4; Sun, 18 May 2014 20:07:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4IK7iF9061140; Sun, 18 May 2014 20:07:44 GMT (envelope-from lev@svn.freebsd.org) Received: (from lev@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4IK7hgG061130; Sun, 18 May 2014 20:07:43 GMT (envelope-from lev@svn.freebsd.org) Message-Id: <201405182007.s4IK7hgG061130@svn.freebsd.org> From: "Lev A. Serebryakov" Date: Sun, 18 May 2014 20:07:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354465 - in head/lang/hope: . 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.18 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: Sun, 18 May 2014 20:07:44 -0000 Author: lev Date: Sun May 18 20:07:43 2014 New Revision: 354465 URL: http://svnweb.freebsd.org/changeset/ports/354465 QAT: https://qat.redports.org/buildarchive/r354465/ Log: STAGEfy Added: head/lang/hope/files/patch-doc--Makefile.in - copied, changed from r354453, head/lang/hope/files/patch-doc:Makefile.in head/lang/hope/files/patch-lib--Makefile.in (contents, props changed) head/lang/hope/files/patch-src--Makefile.in (contents, props changed) head/lang/hope/files/patch-src--memory.c - copied unchanged from r354453, head/lang/hope/files/patch-src-memory.c Deleted: head/lang/hope/files/patch-doc:Makefile.in head/lang/hope/files/patch-src-memory.c Modified: head/lang/hope/Makefile head/lang/hope/pkg-plist Modified: head/lang/hope/Makefile ============================================================================== --- head/lang/hope/Makefile Sun May 18 19:53:56 2014 (r354464) +++ head/lang/hope/Makefile Sun May 18 20:07:43 2014 (r354465) @@ -10,31 +10,17 @@ DISTNAME= ${PORTNAME} MAINTAINER= lev@FreeBSD.org COMMENT= Hope is lazy interpreter for HOPE applicative language -.if defined(WITH_DOCS) +OPTIONS_DEFINE= DOCS + +.include + +.if ${PORT_OPTIONS:MDOCS} USE_TEX= latex:build BUILD_DEPENDS+= latex2html:${PORTSDIR}/textproc/latex2html MAKE_ARGS+= WITH_DOCS=yes -.else -NOPORTDOCS= yes .endif +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes - -MAN1= hope.1 - -NO_STAGE= yes -.include - -pre-fetch: -.if !defined(WITH_DOCS) - @${ECHO} "" - @${ECHO} " If you want to build and install documentation" - @${ECHO} " you should use WITH_DOCS build option" - @${ECHO} "" - @${ECHO} " Documentation is not builded by default because" - @${ECHO} " it needs latex and latex2html" - @${ECHO} "" -.endif -.include +.include Copied and modified: head/lang/hope/files/patch-doc--Makefile.in (from r354453, head/lang/hope/files/patch-doc:Makefile.in) ============================================================================== --- head/lang/hope/files/patch-doc:Makefile.in Sun May 18 19:19:26 2014 (r354453, copy source) +++ head/lang/hope/files/patch-doc--Makefile.in Sun May 18 20:07:43 2014 (r354465) @@ -1,5 +1,5 @@ ---- doc/Makefile.in.orig Sat Apr 17 04:14:06 1999 -+++ doc/Makefile.in Tue Sep 25 00:12:51 2001 +--- doc/Makefile.in.orig 2003-12-08 21:44:47.000000000 +0300 ++++ doc/Makefile.in 2014-05-18 23:59:23.000000000 +0400 @@ -58,7 +58,7 @@ sed -n 's/^#define[ ][ ]*\(M[IA][NX]PREC\)[ ][ ]*\([0-9]*\).*/\\newcommand{\\\1}{\2}/p' ../src/op.h >$@ @@ -9,11 +9,21 @@ # can't use echo here as BSD and SYSV versions treat backslashes differently. Standard.tex: ../lib/Standard.hop h2l.awk -@@ -83,6 +83,7 @@ - for file in $(docs); do gzip <$$file >$(docdir)/$$file.gz; done - $(INSTALL) -d $(htmldir) - for dir in $(dirs); do rm -rf $(htmldir)/$$dir; done -+ for dir in $(dirs); do rm -rf $$dir/*.pl $$dir/WARNINGS; done - cp -r $(dirs) $(htmldir) +@@ -79,11 +79,12 @@ + $(LATEX2HTML) -address '$(Ross)' examples.tex + + install: all +- $(INSTALL) -d $(docdir) +- for file in $(docs); do gzip <$$file >$(docdir)/$$file.gz; done +- $(INSTALL) -d $(htmldir) +- for dir in $(dirs); do rm -rf $(htmldir)/$$dir; done +- cp -r $(dirs) $(htmldir) ++ $(INSTALL) -d $(DESTDIR)$(docdir) ++ for file in $(docs); do gzip <$$file >$(DESTDIR)$(docdir)/$$file.gz; done ++ $(INSTALL) -d $(DESTDIR)$(htmldir) ++ for dir in $(dirs); do rm -rf $(DESTDIR)$(htmldir)/$$dir; done ++ for dir in $(dirs); do rm -rf $(DESTDIR)$$dir/*.pl $(DESTDIR)$$dir/WARNINGS; done ++ cp -r $(dirs) $(DESTDIR)$(htmldir) # cp $(src_srcs) $(srcdir) + clean: Added: head/lang/hope/files/patch-lib--Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/hope/files/patch-lib--Makefile.in Sun May 18 20:07:43 2014 (r354465) @@ -0,0 +1,18 @@ +--- lib/Makefile.in.orig 1999-04-16 18:21:45.000000000 +0400 ++++ lib/Makefile.in 2014-05-19 00:03:58.000000000 +0400 +@@ -14,11 +14,11 @@ + all: + + install: +- $(INSTALL) -d $(hopelib) +- for f in *.hop; do $(INSTALL_DATA) $$f $(hopelib); done +- $(INSTALL) -d $(newlib) ++ $(INSTALL) -d $(DESTDIR)$(hopelib) ++ for f in *.hop; do $(INSTALL_DATA) $$f $(DESTDIR)$(hopelib); done ++ $(INSTALL) -d $(DESTDIR)$(newlib) + sed -f list.sed Standard.hop >Standard-new.hop +- $(INSTALL_DATA) Standard-new.hop $(newlib)/Standard.hop ++ $(INSTALL_DATA) Standard-new.hop $(DESTDIR)$(newlib)/Standard.hop + rm -f Standard-new.hop + + distclean clean clobber: Added: head/lang/hope/files/patch-src--Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/hope/files/patch-src--Makefile.in Sun May 18 20:07:43 2014 (r354465) @@ -0,0 +1,15 @@ +--- src/Makefile.in.orig 2005-10-12 12:39:07.000000000 +0400 ++++ src/Makefile.in 2014-05-19 00:04:47.000000000 +0400 +@@ -53,9 +53,9 @@ + all: $(name) $(name).1 + + install: check $(name).1 +- $(INSTALL) -d $(hopelib) +- $(INSTALL_PROGRAM) -s $(name) $(bindir) +- $(INSTALL_DATA) $(name).1 $(mandir) ++ $(INSTALL) -d $(DESTDIR)$(hopelib) ++ $(INSTALL_PROGRAM) -s $(name) $(DESTDIR)$(bindir) ++ $(INSTALL_DATA) $(name).1 $(DESTDIR)$(mandir) + + $(name).1: $(name).1.in + sed -e 's:@hopelib@:$(hopelib):' -e 's:@fullpath@:$(bindir)/$(name):' $(name).1.in >$@ Copied: head/lang/hope/files/patch-src--memory.c (from r354453, head/lang/hope/files/patch-src-memory.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/hope/files/patch-src--memory.c Sun May 18 20:07:43 2014 (r354465, copy of r354453, head/lang/hope/files/patch-src-memory.c) @@ -0,0 +1,11 @@ +--- src/memory.c.orig Sun Dec 7 18:01:46 2003 ++++ src/memory.c Sun Dec 7 18:01:50 2003 +@@ -22,6 +22,7 @@ + { + if ((base_memory = (char *)malloc((size_t)MEMSIZE)) == NULL) + error(FATALERR, "can't allocate memory"); ++ memset(base_memory, NULL, (size_t)MEMSIZE); + top_memory = base_memory + RoundDown(MEMSIZE); + + lim_temp = top_string = base_memory; + Modified: head/lang/hope/pkg-plist ============================================================================== --- head/lang/hope/pkg-plist Sun May 18 19:53:56 2014 (r354464) +++ head/lang/hope/pkg-plist Sun May 18 20:07:43 2014 (r354465) @@ -1,4 +1,5 @@ bin/hope +man/man1/hope.1.gz share/hope/lib.new/Standard.hop share/hope/lib/Standard.hop share/hope/lib/arith.hop