From owner-svn-ports-all@FreeBSD.ORG Fri Aug 9 10:00:57 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 A6545B2E; Fri, 9 Aug 2013 10:00:57 +0000 (UTC) (envelope-from danfe@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 932012BD7; Fri, 9 Aug 2013 10:00:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r79A0vhn068918; Fri, 9 Aug 2013 10:00:57 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r79A0vdf068915; Fri, 9 Aug 2013 10:00:57 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201308091000.r79A0vdf068915@svn.freebsd.org> From: Alexey Dokuchaev Date: Fri, 9 Aug 2013 10:00:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324425 - in head/math/algae: . 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: Fri, 09 Aug 2013 10:00:57 -0000 Author: danfe Date: Fri Aug 9 10:00:56 2013 New Revision: 324425 URL: http://svnweb.freebsd.org/changeset/ports/324425 Log: - Unbreak parallel (-jX) builds and remove disgraceful MAKE_JOBS_UNSAFE - Sort the knobs, remove useless global modifiers from sed(1) regex' - Define LICENSE (GPLv2), augment port description while I am here Modified: head/math/algae/Makefile head/math/algae/files/patch-Makefile.in head/math/algae/pkg-descr Modified: head/math/algae/Makefile ============================================================================== --- head/math/algae/Makefile Fri Aug 9 09:39:24 2013 (r324424) +++ head/math/algae/Makefile Fri Aug 9 10:00:56 2013 (r324425) @@ -10,27 +10,27 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Programming language for numerical analysis +LICENSE= GPLv2 + +USE_FORTRAN= yes GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf ALGAE_VERSION= ${PORTVERSION} PLIST_SUB= ALGAE_VERSION=${ALGAE_VERSION} -MAN1= algae.1 -INFO= algae - -MAKE_JOBS_UNSAFE= yes -USE_FORTRAN= yes LDFLAGS+= -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -L`${CAT} ${WRKSRC}/LIBDIR` -L${LOCALBASE}/lib FORTRANLIBS= gfortranbegin gfortran +MAN1= ${PORTNAME}.1 +INFO= ${PORTNAME} + post-patch: - @${REINPLACE_CMD} -e 's,,,g' \ + @${REINPLACE_CMD} -e 's,,,' \ ${WRKSRC}/src/mem.h \ ${WRKSRC}/superlu/sp_coletree.c \ ${WRKSRC}/superlu/util.h - - @${REINPLACE_CMD} -e 's,%%FORTRANLIBS%%,${FORTRANLIBS},g' \ + @${REINPLACE_CMD} -e 's,%%FORTRANLIBS%%,${FORTRANLIBS},' \ ${WRKSRC}/configure.in pre-configure: @@ -39,7 +39,7 @@ pre-configure: .include .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 +BROKEN= does not compile on ${ARCH} .endif .include Modified: head/math/algae/files/patch-Makefile.in ============================================================================== --- head/math/algae/files/patch-Makefile.in Fri Aug 9 09:39:24 2013 (r324424) +++ head/math/algae/files/patch-Makefile.in Fri Aug 9 10:00:56 2013 (r324425) @@ -15,3 +15,129 @@ # Directory in which to install the algae tools. tooldir = $(datadir)/algae/$(VERSION_NUMBER)/tools +@@ -150,19 +150,19 @@ + # Compile the source code. + + source: @BLAS@ @LAPACK@ +- cd superlu; $(MAKE) RC0=$(RC0) +- cd arpack; $(MAKE) +- cd src; $(MAKE) RC0=$(RC0) ++ $(MAKE) -C superlu RC0=$(RC0) ++ $(MAKE) -C arpack ++ $(MAKE) -C src RC0=$(RC0) + .PHONY: source + + # Compile the BLAS and LAPACK libraries, if required. + + xblas: +- cd blas; $(MAKE) ++ $(MAKE) -C blas + .PHONY: xblas + + xlapack: +- cd lapack; $(MAKE) ++ $(MAKE) -C lapack + .PHONY: xlapack + + check: source +@@ -180,13 +180,13 @@ + # Run test cases. + + check: +- cd test; $(MAKE) ++ $(MAKE) -C test + .PHONY: check + + # Run some simple timing tests. + + times: +- cd timing; $(MAKE) ++ $(MAKE) -C timing + .PHONY: times + + # <<<< This section is deleted in the "binary" distribution. +@@ -194,11 +194,11 @@ + # Make documentation. + + info: +- cd doc; $(MAKE) info ++ $(MAKE) -C doc info + .PHONY: info + + dvi: +- cd doc; $(MAKE) dvi ++ $(MAKE) -C doc dvi + .PHONY: dvi + + # ========================== Distribution ========================= +@@ -211,9 +211,7 @@ + ln $$file $(distdir) > /dev/null 2>&1 || cp $$file $(distdir); \ + done + for dir in $(SUBDIRS); do \ +- cd $${dir}; \ +- $(MAKE) distdir=../$(distdir)/$$dir dist; \ +- cd ..; \ ++ $(MAKE) -C $${dir} distdir=../$(distdir)/$$dir dist; \ + done + mv $(distdir) algae-$(VERSION_NUMBER) + tar chf algae-$(VERSION_NUMBER).tar algae-$(VERSION_NUMBER) +@@ -230,9 +228,7 @@ + done + awk '/<<[<]>[>]>/ {next} {print}' Makefile > $(distdir)/Makefile + for dir in $(BINSUBDIRS); do \ +- cd $${dir}; \ +- $(MAKE) distdir=../$(distdir)/$$dir binaries; \ +- cd ..; \ ++ $(MAKE) -C $${dir} distdir=../$(distdir)/$$dir binaries; \ + done + mv $(distdir) algae-$(VERSION_NUMBER) + tar chf algae-$(VERSION_NUMBER)-@host@.tar algae-$(VERSION_NUMBER) +@@ -249,8 +245,8 @@ + for file in $(WEBDISTFILES); do \ + ln $$file $(distdir) > /dev/null 2>&1 || cp $$file $(distdir); \ + done +- cd doc; $(MAKE) distdir=../$(distdir) web +- cd $(distdir); tar chf ../algae-web-$(VERSION_NUMBER).tar . ++ $(MAKE) -C doc distdir=../$(distdir) web ++ tar -C $(distdir) -chf ../algae-web-$(VERSION_NUMBER).tar . + rm -rf $(distdir) + gzip algae-web-$(VERSION_NUMBER).tar + .PHONY: web +@@ -278,7 +274,7 @@ + @echo "it deletes files that may require special tools to rebuild." + + clean mostlyclean distclean maintainer-clean:: +- for dir in $(SUBDIRS); do cd $${dir}; $(MAKE) $@; cd ..; done ++ for dir in $(SUBDIRS); do $(MAKE) -C $${dir} $@; done + + clean mostlyclean distclean maintainer-clean:: + rm -f a.out core conft* algae-*.tar algae-*.tar.gz +@@ -297,12 +293,9 @@ + $(INSTALL_DATA) algae.A $(RC0) + $(INSTALL_DATA) COPYING $(htmldir) + $(INSTALL_DATA) LICENSE $(htmldir) +- cd src; \ +- $(MAKE) bindir=$(bindir) install +- cd tools; \ +- $(MAKE) tooldir=$(tooldir) install +- cd doc; \ +- $(MAKE) mandir=$(mandir) datadir=$(datadir) \ ++ $(MAKE) -C src bindir=$(bindir) install ++ $(MAKE) -C tools tooldir=$(tooldir) install ++ $(MAKE) -C doc mandir=$(mandir) datadir=$(datadir) \ + manext=$(manext) infodir=$(infodir) htmldir=$(htmldir) install + .PHONY: install + +@@ -318,9 +311,9 @@ + + uninstall: + rm -f $(RC0) +- cd src; $(MAKE) bindir=$(bindir) uninstall +- cd tools; $(MAKE) tooldir=$(tooldir) uninstall +- cd doc; $(MAKE) mandir=$(mandir) manext=$(manext) \ ++ $(MAKE) -C src bindir=$(bindir) uninstall ++ $(MAKE) -C tools tooldir=$(tooldir) uninstall ++ $(MAKE) -C doc mandir=$(mandir) manext=$(manext) \ + infodir=$(infodir) htmldir=$(htmldir) uninstall + rm -f $(htmldir)/COPYING $(htmldir)/LICENSE + -rmdir $(rcdir) $(htmldir) $(tooldir) \ Modified: head/math/algae/pkg-descr ============================================================================== --- head/math/algae/pkg-descr Fri Aug 9 09:39:24 2013 (r324424) +++ head/math/algae/pkg-descr Fri Aug 9 10:00:56 2013 (r324425) @@ -1,3 +1,6 @@ -Algae is a programming language for numerical analysis. +Algae is a programming language for numerical analysis. It was written in +the Boeing Company to fulfill their need for a fast and versatile tool, +capable of handling large systems. Algae has been applied to interesting +problems in aerospace and related fields for more than a decade. WWW: http://algae.sourceforge.net/