aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-08-12 17:56:40 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-08-12 17:56:40 +0000
commitf17b68679fd52c0a1f5597342744d34ef8b954f9 (patch)
treedbab960f1b10c3d493d392e01632dcbf24fa31d3 /lang
parent1640bd30ecbf4854674d24b4004943d41c89fdf5 (diff)
downloadports-f17b68679fd52c0a1f5597342744d34ef8b954f9.tar.gz
ports-f17b68679fd52c0a1f5597342744d34ef8b954f9.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/pypy-devel/Makefile5
-rw-r--r--lang/pypy/Makefile5
-rw-r--r--lang/pypy3-devel/Makefile3
3 files changed, 8 insertions, 5 deletions
diff --git a/lang/pypy-devel/Makefile b/lang/pypy-devel/Makefile
index be2fa730abe8..aea38173b51a 100644
--- a/lang/pypy-devel/Makefile
+++ b/lang/pypy-devel/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pypy
DISTVERSION= 2.2-alpha${DATE}
CATEGORIES= lang python java
-MASTER_SITES= https://bitbucket.org/pypy/pypy/get/
+MASTER_SITES= https://bitbucket.org/pypy/pypy/get/ LOCAL/dbn/${PORTNAME}
PKGNAMESUFFIX= -devel
DISTNAME= ${COMMIT}
DIST_SUBDIR= pypy
@@ -266,7 +266,8 @@ post-build:
-name '*.bak' -delete -or \
-name '*.c' -delete -or \
-name '*.o' -delete
- ${FIND} ${WRKDIR}/${_path:C/.*://}/ -depth -type d -name tmp | \
+ ${FIND} ${WRKDIR}/${_path:C/.*://}/ -name __pycache__ | \
+ ${XARGS} -n1 -I {} ${FIND} {} -depth 1 -type d | \
${XARGS} ${RM} -r
.endfor
diff --git a/lang/pypy/Makefile b/lang/pypy/Makefile
index d8ff16db6ff8..a894408a2d04 100644
--- a/lang/pypy/Makefile
+++ b/lang/pypy/Makefile
@@ -35,7 +35,6 @@ OPTIONS_SINGLE_PYINST= PYTHON PYPY PYPY_MINMEM
OPTIONS_DEFAULT+= PYPY_MINMEM
.endif
-MANUAL_PACKAGE_BUILD= runaway process on pointyhat
CONFLICTS_INSTALL= pypy-devel-[0-9]*
ALL_TARGET= ${PYPY_NAMES}
@@ -290,7 +289,9 @@ post-build:
-name '*.bak' -delete -or \
-name '*.c' -delete -or \
-name '*.o' -delete
- ${FIND} ${WRKSRC}/lib -depth -type d -name tmp | ${XARGS} ${RM} -r
+ ${FIND} ${WRKDIR}/${_path:C/.*://}/ -name __pycache__ | \
+ ${XARGS} -n1 -I {} ${FIND} {} -depth 1 -type d | \
+ ${XARGS} ${RM} -r
${MV} ${WRKSRC}/include ${WRKSRC}/include~
${MKDIR} ${WRKSRC}/include
${MV} ${WRKSRC}/include~ ${WRKSRC}/${PYPY_INCLUDEDIR}
diff --git a/lang/pypy3-devel/Makefile b/lang/pypy3-devel/Makefile
index 53198a8b6c5b..4dc9739e6b1e 100644
--- a/lang/pypy3-devel/Makefile
+++ b/lang/pypy3-devel/Makefile
@@ -263,7 +263,8 @@ post-build:
-name '*.bak' -delete -or \
-name '*.c' -delete -or \
-name '*.o' -delete
- ${FIND} ${WRKDIR}/${_path:C/.*://}/ -depth -type d -name tmp | \
+ ${FIND} ${WRKDIR}/${_path:C/.*://}/ -name __pycache__ | \
+ ${XARGS} -n1 -I {} ${FIND} {} -depth 1 -type d | \
${XARGS} ${RM} -r
.endfor