diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2014-02-08 05:18:19 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2014-02-08 05:18:19 +0000 |
commit | 8453a00a4dd506392e0742e73a7db0f8d341a4e4 (patch) | |
tree | 8ea97f1055cfc6abfef0dd7f9a388f8f69e0ca7f /math/sage/Makefile | |
parent | bf8a09d2af3c56e9c2e56b21c6913a68e528f527 (diff) | |
download | ports-8453a00a4dd506392e0742e73a7db0f8d341a4e4.tar.gz ports-8453a00a4dd506392e0742e73a7db0f8d341a4e4.zip |
- Update to 6.1.1.
Notes
Notes:
svn path=/head/; revision=343307
Diffstat (limited to 'math/sage/Makefile')
-rw-r--r-- | math/sage/Makefile | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile index 686301a182de..4062af610f68 100644 --- a/math/sage/Makefile +++ b/math/sage/Makefile @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= sage -PORTVERSION= 6.1 +PORTVERSION= 6.1.1 CATEGORIES= math MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \ http://mirrors.xmission.com/sage/src/ \ http://www-ftp.lip6.fr/pub/math/sagemath/src/ \ http://www.sagemath.org/src-old/ -EXTRACT_SUFX= .tar MAINTAINER= stephen@FreeBSD.org COMMENT= Open source Mathematics software @@ -153,4 +152,29 @@ FPM_FLAG= MAKE_ENV+= MAKE="${MAKE} -j${MAKE_JOBS_NUMBER}" +.ifdef MAINTAINER_MODE +test-fbsd-patches: patch + rm -rf ${WRKSRC}/build/pkgs/*/src; \ + for d in ${WRKSRC}/build/pkgs/*; do \ + if ls $$d/fbsd-patch-* > /dev/null 2>&1; then \ + echo Testing patches in $${d##*/}; \ + b=$${d##*/}-`cat $$d/package-version.txt | sed 's/\.p.*//'`; \ + c=${WRKSRC}/upstream/$$b.tar.bz2 ; \ + if [ ! -e $$c ]; then \ + echo Couldn\'t find $$c; \ + exit 1; \ + fi; \ + if ! (cd $$d && tar xf $$c && mv $$b src); then \ + echo Unable to unarchive $$c; \ + exit 1; \ + fi; \ + if ! (cd $$d && cat fbsd-patch-* | patch); then \ + echo Patches in $${d##*/} failed; \ + exit 1; \ + fi; \ + fi; \ + done; \ + rm -rf ${WRKSRC}/build/pkgs/*/src +.endif + .include <bsd.port.post.mk> |