summaryrefslogtreecommitdiff
path: root/devel/newt/files/setup.py
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-17 12:09:03 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-17 12:09:03 +0000
commit66de760280653f210606b5d63729d4207bba1d2a (patch)
tree2c42869a3164b915c1b86c71288ee4fa964eabd2 /devel/newt/files/setup.py
parentUpgrade to the latest release candidate, 9.2.1rc1. Numerous 9.x bugs (diff)
- Update to 0.50.33-1
- make TCL and Python module optional. - take a maintainership PR: 36001 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Notes
Notes: svn path=/head/; revision=56238
Diffstat (limited to 'devel/newt/files/setup.py')
-rw-r--r--devel/newt/files/setup.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/newt/files/setup.py b/devel/newt/files/setup.py
new file mode 100644
index 000000000000..df368fd18bf6
--- /dev/null
+++ b/devel/newt/files/setup.py
@@ -0,0 +1,15 @@
+# $FreeBSD$
+import os
+from distutils.core import setup, Extension
+
+setup ( name = 'newt',
+ version = '0.50.33',
+ description = 'Python interface to Newt module',
+ py_modules = ['snack'],
+ ext_modules = [ Extension(
+ name='_snack',
+ sources=['snackmodule.c'],
+ include_dirs=['.', os.environ['PREFIX']+'/include'],
+ library_dirs=['.', os.environ['PREFIX']+'/lib'],
+ libraries=['newt', 'popt', 'slang', 'ncurses']
+ )])