From owner-svn-ports-head@FreeBSD.ORG Mon May 12 21:48:17 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id D553521D; Mon, 12 May 2014 21:48:17 +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 A8A3F24BE; Mon, 12 May 2014 21:48:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CLmHDV073537; Mon, 12 May 2014 21:48:17 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4CLmHuC073536; Mon, 12 May 2014 21:48:17 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201405122148.s4CLmHuC073536@svn.freebsd.org> From: Adam Weinberger Date: Mon, 12 May 2014 21:48:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353900 - head/math/sage 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.18 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: Mon, 12 May 2014 21:48:17 -0000 Author: adamw Date: Mon May 12 21:48:17 2014 New Revision: 353900 URL: http://svnweb.freebsd.org/changeset/ports/353900 QAT: https://qat.redports.org/buildarchive/r353900/ Log: Add some more helpful time-saving tips. Modified: head/math/sage/Makefile Modified: head/math/sage/Makefile ============================================================================== --- head/math/sage/Makefile Mon May 12 21:44:44 2014 (r353899) +++ head/math/sage/Makefile Mon May 12 21:48:17 2014 (r353900) @@ -51,6 +51,52 @@ pre-extract: @${ECHO_MSG} ${CHOWN} -hR ${BINOWN}:${BINGRP} ${PREFIX}/${PORTNAME}-${PORTVERSION} @${ECHO_MSG} @sleep 60 + @${ECHO_MSG} + @${ECHO_MSG} \# If you want to fetch the source tarball and you don\'t trust the + @${ECHO_MSG} \# ports system to do this, you can type: + @${ECHO_MSG} + @${ECHO_MSG} ${FETCH_CMD} -o ${DISTDIR} http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/${DISTNAME}${EXTRACT_SUFX} + @${ECHO_MSG} + @${ECHO_MSG} \# Extracting the source files automatically can be time-consuming, + @${ECHO_MSG} \# and it takes up space in the ports tree. You can prevent this by + @${ECHO_MSG} \# extracting the files into a temporary directory. + @${ECHO_MSG} + @${ECHO_MSG} ${TAR} -x -C /tmp -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} + @${ECHO_MSG} + @${ECHO_MSG} \# Next you\'ll need to navigate to that directory for the remainder + @${ECHO_MSG} \# of the commands. + @${ECHO_MSG} + @${ECHO_MSG} cd /tmp/${DISTNAME} + @${ECHO_MSG} + @${ECHO_MSG} \# Now, patching files is usually done automatically by the ports + @${ECHO_MSG} \# system, but you can make it take considerably more time by doing + @${ECHO_MSG} \# it by hand. The following command may be helpful, unless you\'re + @${ECHO_MSG} \# using a C shell. + @${ECHO_MSG} + @${ECHO_MSG} "for i in ${PORTSDIR}/math/sage/files/patch-\*; do patch -p0 < $i; done" + @${ECHO_MSG} + @${ECHO_MSG} \# Next, you\'ll need to issue a couple more commands yourself, but you + @${ECHO_MSG} \# are saving so much time already, it practically pays for itself. + @${ECHO_MSG} \# Issue the following command, and then type in everything it tells you + @${ECHO_MSG} \# to do. + @${ECHO_MSG} + @${ECHO_MSG} make -C ${PORTSDIR}/math/sage -n post-patch | sed -e 's,${WRKSRC}/,,' + @${ECHO_MSG} + @${ECHO_MSG} \# Building the port is easy. If you type "make", it will build the port, + @${ECHO_MSG} \# but you can build it in a much more intelligent way by doing: + @${ECHO_MSG} + @${ECHO_MSG} ${DO_MAKE_BUILD} + @${ECHO_MSG} + @${ECHO_MSG} \# Then, type: + @${ECHO_MSG} + @${ECHO_MSG} ${RM} -rf tmp/.sage + @${ECHO_MSG} ${CHMOD} -R a+rX . + @${ECHO_MSG} + @${ECHO_MSG} \# Now you can follow the directions above about installing the program. + @${ECHO_MSG} \# Enjoy the following 60-second forced pause while you think about all + @${ECHO_MSG} \# the time you just saved! + @${ECHO_MSG} + @sleep 60 PLIST_FILES= bin/sage USE_GCC= yes