summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-11 18:13:13 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-11 18:13:13 +0000
commit4148df960c1fc48c052866de308ecc6d9b1724f2 (patch)
tree966f34b43b3f80dda1d89b66c3110e03dcbb841f /biology
parentf24acb4a250dd404767be9d48200ad32d43db379 (diff)
downloadpkgsrc-4148df960c1fc48c052866de308ecc6d9b1724f2.tar.gz
Fix path to python. Use postive PYTHON_VERSIONS_ACCEPTED.
Bump revision. XXX Should be renamed to follow python module naming convention.
Diffstat (limited to 'biology')
-rw-r--r--biology/pymol/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile
index b4ab8cf2e45..41b5f4d6869 100644
--- a/biology/pymol/Makefile
+++ b/biology/pymol/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2007/02/15 22:37:05 perry Exp $
+# $NetBSD: Makefile,v 1.8 2007/08/11 18:13:13 joerg Exp $
DISTNAME= pymol-0_98-src
PKGNAME= pymol-0.98
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymol/}
EXTRACT_SUFX= .tgz
@@ -11,13 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pymol.sourceforge.net/
COMMENT= Molecular Visualization System
-PYTHON_VERSIONS_INCOMPATIBLE= 15 20 21 22
+PYTHON_VERSIONS_ACCEPTED= 24 23
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PYSETUP= setup.py
+REPLACE_PYTHON= test/cyg test/run test/show test/win.py
+
post-install:
cd ${WRKSRC} && env ${MAKE_ENV} ${PYTHONBIN} setup2.py
${INSTALL_SCRIPT} ${WRKSRC}/pymol.com ${PREFIX}/bin/pymol
@@ -38,5 +40,6 @@ post-install:
# However, the package seems to link with "glut" and not with "freeglut",
# and no other pkgsrc packages seem to use freeglut.
+.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"