summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-xlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-xlib/Makefile')
-rw-r--r--x11-toolkits/py-xlib/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/x11-toolkits/py-xlib/Makefile b/x11-toolkits/py-xlib/Makefile
index 1f3680a79ade..379318d4eb3b 100644
--- a/x11-toolkits/py-xlib/Makefile
+++ b/x11-toolkits/py-xlib/Makefile
@@ -15,16 +15,10 @@ DISTNAME= python-xlib-${PORTVERSION}
MAINTAINER= mwm@mired.org
-BUILD_DEPENDS= ${PYDISTUTILS}
-
USE_PYTHON= yes
-PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @cd ${WRKSRC} && ${PYTHON_SETUP} build
+USE_PYDISTUTILS= yes
-do-install:
- @cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX}
+post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/info/python-xlib.info ${PREFIX}/info/
@install-info ${PREFIX}/info/python-xlib.info ${PREFIX}/info/dir