aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-xlib/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-14 05:34:19 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-14 05:34:19 +0000
commite6263ccd11c1acbd8ff63f9b6c6c0528dd324e03 (patch)
tree97442352f9bf1fe32527e57e4db48c74ce92e50f /x11-toolkits/py-xlib/Makefile
parentbf00e497c78442f366db7030abef9ae4e0d7f957 (diff)
Notes
Diffstat (limited to 'x11-toolkits/py-xlib/Makefile')
-rw-r--r--x11-toolkits/py-xlib/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-toolkits/py-xlib/Makefile b/x11-toolkits/py-xlib/Makefile
new file mode 100644
index 000000000000..9f1d4bff73c4
--- /dev/null
+++ b/x11-toolkits/py-xlib/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: python-xlib
+# Date created: 5 December 2001
+# Whom: Mike Meyer <mwm@mired.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xlib
+PORTVERSION= 0.9
+CATEGORIES= x11-toolkits python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+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
+
+do-install:
+ @cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX}
+ @${INSTALL_DATA} ${WRKSRC}/doc/info/python-xlib.info ${PREFIX}/info/
+ @install-info ${PREFIX}/info/python-xlib.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>