From 798b24f39fbe1cd293cdbc2e54c08c2516342f7c Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Thu, 16 Aug 2001 15:03:03 +0000 Subject: - Add required dependencies - Make ${PREFIX}-clean --- devel/py-unit/Makefile | 5 ++++- devel/py-unit/pkg-plist | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'devel/py-unit') diff --git a/devel/py-unit/Makefile b/devel/py-unit/Makefile index 353281136e24..b5b73c113207 100644 --- a/devel/py-unit/Makefile +++ b/devel/py-unit/Makefile @@ -15,6 +15,9 @@ DISTNAME= pyunit-${PORTVERSION} MAINTAINER= shell@shellhung.org +BUILD_DEPENDS= ${PYDISTUTILS} +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter + USE_PYTHON= yes SETUP_CMD= cd ${WRKSRC} && ${SETENV} \ @@ -24,6 +27,6 @@ do-build: @${SETUP_CMD} build do-install: - @${SETUP_CMD} install + @${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .include diff --git a/devel/py-unit/pkg-plist b/devel/py-unit/pkg-plist index 11cf811532d0..18e5ef27afa5 100644 --- a/devel/py-unit/pkg-plist +++ b/devel/py-unit/pkg-plist @@ -1,4 +1,6 @@ lib/%%PYTHON_VERSION%%/site-packages/unittest.py lib/%%PYTHON_VERSION%%/site-packages/unittest.pyc +lib/%%PYTHON_VERSION%%/site-packages/unittest.pyo lib/%%PYTHON_VERSION%%/site-packages/unittestgui.py lib/%%PYTHON_VERSION%%/site-packages/unittestgui.pyc +lib/%%PYTHON_VERSION%%/site-packages/unittestgui.pyo -- cgit v1.2.3