aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2006-12-23 05:42:10 +0800
committernivit <nivit@FreeBSD.org>2006-12-23 05:42:10 +0800
commit6f6662e7078869c7ea4de5f4af6a49dc76fa8be5 (patch)
treeda11632f58f08254802aa694c0c76825025a45ca /devel
parent212c026f70f54d67cb27c1692ec87c0ad8a7a108 (diff)
downloadfreebsd-ports-graphics-6f6662e7078869c7ea4de5f4af6a49dc76fa8be5.tar.gz
freebsd-ports-graphics-6f6662e7078869c7ea4de5f4af6a49dc76fa8be5.tar.zst
freebsd-ports-graphics-6f6662e7078869c7ea4de5f4af6a49dc76fa8be5.zip
- Updated to 1.13
PR: 106788 Submitted by: Tobias Roth <ports@fsck.ch> (maintainer) Reviewed by: alexbl (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/py-testoob/Makefile11
-rw-r--r--devel/py-testoob/pkg-plist1
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/py-testoob/Makefile b/devel/py-testoob/Makefile
index 1472e230c70..b585189bb88 100644
--- a/devel/py-testoob/Makefile
+++ b/devel/py-testoob/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= testoob
-PORTVERSION= 1.12
+PORTVERSION= 1.13
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,8 +34,11 @@ USE_TWISTED= yes
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Ft/Xml/__init__.py:${PORTSDIR}/textproc/py-4suite-xml
.endif
-post-install:
- ${RM} ${PREFIX}/${PORTNAME}/setcolor.exe
- ${RMDIR} ${PREFIX}/${PORTNAME}
+.if ${PYTHON_REL} < 250
+PLIST_SUB+= PYTHON_CURRENT="@comment "
+.else
+EGG_INFO= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VERSION:S,^python,,}.egg-info
+PLIST_SUB+= PYTHON_CURRENT="" EGG_INFO=${EGG_INFO}
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/py-testoob/pkg-plist b/devel/py-testoob/pkg-plist
index 65f4bc2054b..daf8ac1c209 100644
--- a/devel/py-testoob/pkg-plist
+++ b/devel/py-testoob/pkg-plist
@@ -188,6 +188,7 @@ bin/testoob
%%PYTHON_SITELIBDIR%%/testoob/utils.py
%%PYTHON_SITELIBDIR%%/testoob/utils.pyc
%%PYTHON_SITELIBDIR%%/testoob/utils.pyo
+%%PYTHON_CURRENT%%%%PYTHON_SITELIBDIR%%/%%EGG_INFO%%
@dirrm %%PYTHON_SITELIBDIR%%/testoob/running
@dirrm %%PYTHON_SITELIBDIR%%/testoob/reporting
@dirrm %%PYTHON_SITELIBDIR%%/testoob/compatibility