From 57bee7ca5c97a522a5ab83779a3cae5c752fc68a Mon Sep 17 00:00:00 2001 From: perky Date: Sun, 25 Aug 2002 08:37:53 +0000 Subject: o Fix RUN_DEPENDS path (PMW -> Pmw) o Fix DISTNAME which was broken by previous commit. o Install example files PR: 41977 Submitted by: Glenn Johnson Approved by: maintainer --- biology/pymol/Makefile | 13 +++++++++---- biology/pymol/pkg-plist | 24 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile index e718b30714b4..209cf9bb38a9 100644 --- a/biology/pymol/Makefile +++ b/biology/pymol/Makefile @@ -6,7 +6,7 @@ PORTNAME= pymol PORTVERSION= 0.82 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pymol @@ -17,12 +17,12 @@ MAINTAINER= chat95@mbox.kyoto-inet.or.jp BUILD_DEPENDS= ${PYNUMERIC} RUN_DEPENDS= ${PYNUMERIC} \ - ${PYTHON_SITELIBDIR}/PMW:${PORTSDIR}/x11-toolkits/pmw + ${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/pmw LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/Mesa3 -WRKSRC= ${WRKDIR}/${PKGNAME} +WRKSRC= ${WRKDIR}/pymol-${PORTVERSION} USE_GMAKE= yes -USE_REINPLACE= yes +USE_REINPLACE= yes USE_PYTHON= yes pre-patch: @@ -38,6 +38,11 @@ do-install: @${MKDIR} ${PREFIX}/share/pymol @${TAR} -C ${WRKSRC} -chf - modules test | \ ${TAR} -xf - -C ${PREFIX}/share/pymol +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + @${TAR} -C ${WRKSRC}/examples --exclude package -chf - . | \ + ${TAR} -xf - -C ${EXAMPLESDIR} +.endif @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules diff --git a/biology/pymol/pkg-plist b/biology/pymol/pkg-plist index 7bf636d2284f..56e793c8072e 100644 --- a/biology/pymol/pkg-plist +++ b/biology/pymol/pkg-plist @@ -1,4 +1,24 @@ bin/pymol +%%PORTDOCS%%share/examples/pymol/chempy/generate_amber.py +%%PORTDOCS%%share/examples/pymol/chempy/generate_mmff.py +%%PORTDOCS%%share/examples/pymol/cookbook/contact.pml +%%PORTDOCS%%share/examples/pymol/cookbook/README +%%PORTDOCS%%share/examples/pymol/cookbook/density.pml +%%PORTDOCS%%share/examples/pymol/cookbook/groel_es.pml +%%PORTDOCS%%share/examples/pymol/cookbook/packing.pml +%%PORTDOCS%%share/examples/pymol/cookbook/packsurf.pml +%%PORTDOCS%%share/examples/pymol/cookbook/ribosome.pml +%%PORTDOCS%%share/examples/pymol/devel/brick01.py +%%PORTDOCS%%share/examples/pymol/devel/cgo01.py +%%PORTDOCS%%share/examples/pymol/devel/cgo02.py +%%PORTDOCS%%share/examples/pymol/devel/cgo03.py +%%PORTDOCS%%share/examples/pymol/devel/cgo_3Dtext01.py +%%PORTDOCS%%share/examples/pymol/devel/cgo_label_hack.py +%%PORTDOCS%%share/examples/pymol/devel/gl01.py +%%PORTDOCS%%share/examples/pymol/devel/gl02.py +%%PORTDOCS%%share/examples/pymol/devel/gl03.py +%%PORTDOCS%%share/examples/pymol/devel/povray01.py +%%PORTDOCS%%share/examples/pymol/devel/start_pymol.py share/pymol/modules/ExtensionClass.so share/pymol/modules/_cmd.so share/pymol/modules/_glu_nummodule.so @@ -548,4 +568,8 @@ share/pymol/test/win.py @dirrm share/pymol/modules/chempy/bmin @dirrm share/pymol/modules/chempy @dirrm share/pymol/modules +%%PORTDOCS%%@dirrm share/examples/pymol/devel +%%PORTDOCS%%@dirrm share/examples/pymol/cookbook +%%PORTDOCS%%@dirrm share/examples/pymol/chempy +%%PORTDOCS%%@dirrm share/examples/pymol @dirrm share/pymol -- cgit