[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / biology / py-mol

Annotation of pkgsrc/biology/py-mol/Makefile, Revision 1.4

1.4     ! joerg       1: # $NetBSD: Makefile,v 1.3 2009/03/05 18:51:26 joerg Exp $
1.1       wiz         2:
                      3: DISTNAME=      pymol-0_98-src
                      4: PKGNAME=       ${PYPKGPREFIX}-mol-0.98
                      5: PKGREVISION=   4
                      6: CATEGORIES=    biology
                      7: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pymol/}
                      8: EXTRACT_SUFX=  .tgz
                      9:
                     10: MAINTAINER=    pkgsrc-users@NetBSD.org
                     11: HOMEPAGE=      http://pymol.sourceforge.net/
                     12: COMMENT=       Molecular Visualization System
                     13:
1.4     ! joerg      14: PKG_DESTDIR_SUPPORT=   user-destdir
1.1       wiz        15:
                     16: WRKSRC=                ${WRKDIR}/pymol-0.98
                     17: PYDISTUTILSPKG=        yes
                     18: PYSETUP=       setup.py
                     19:
                     20: CONFLICTS=     pymol-[0-9]*
                     21:
                     22: REPLACE_PYTHON=        test/cyg test/run test/show test/win.py
                     23:
1.4     ! joerg      24: INSTALLATION_DIRS=     bin
        !            25:
1.1       wiz        26: post-install:
1.4     ! joerg      27:        cd ${WRKSRC} && env ${MAKE_ENV} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} setup2.py
        !            28:        ${INSTALL_SCRIPT} ${WRKSRC}/pymol.com ${DESTDIR}${PREFIX}/bin/pymol
1.1       wiz        29:
                     30: .include "../../devel/zlib/buildlink3.mk"
                     31: .include "../../graphics/glu/buildlink3.mk"
                     32: .include "../../graphics/glut/buildlink3.mk"
                     33: .include "../../graphics/png/buildlink3.mk"
                     34: .include "../../math/py-Numeric/buildlink3.mk"
                     35: .include "../../lang/tcl/buildlink3.mk"
                     36: .include "../../x11/tk/buildlink3.mk"
                     37: .include "../../x11/py-Tk/buildlink3.mk"
                     38: .include "../../x11/py-Pmw/buildlink3.mk"
                     39:
                     40: # Note that the website claims this package needs "freeglut", which
                     41: # would mean:
                     42: #  .include "../../graphics/freeglut/buildlink3.mk"
                     43: # However, the package seems to link with "glut" and not with "freeglut",
                     44: # and no other pkgsrc packages seem to use freeglut.
                     45:
                     46: .include "../../lang/python/application.mk"
                     47: .include "../../lang/python/extension.mk"
                     48: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>