blob: e717a8cb405d8adb0bf17b4b46945f2923dd6cb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.2 2008/04/25 20:39:06 joerg Exp $
DISTNAME= pymol-0_98-src
PKGNAME= ${PYPKGPREFIX}-mol-0.98
PKGREVISION= 4
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymol/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pymol.sourceforge.net/
COMMENT= Molecular Visualization System
WRKSRC= ${WRKDIR}/pymol-0.98
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PYSETUP= setup.py
CONFLICTS= pymol-[0-9]*
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
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../x11/py-Tk/buildlink3.mk"
.include "../../x11/py-Pmw/buildlink3.mk"
# Note that the website claims this package needs "freeglut", which
# would mean:
# .include "../../graphics/freeglut/buildlink3.mk"
# 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"
|