aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-08-25 16:37:53 +0800
committerperky <perky@FreeBSD.org>2002-08-25 16:37:53 +0800
commit57bee7ca5c97a522a5ab83779a3cae5c752fc68a (patch)
tree3b4f507bbe28b695398084eeed5417b9b8c0c61a
parentc6910b5ca2acedefff88c615cf2a430d7117f69e (diff)
downloadfreebsd-ports-gnome-57bee7ca5c97a522a5ab83779a3cae5c752fc68a.tar.gz
freebsd-ports-gnome-57bee7ca5c97a522a5ab83779a3cae5c752fc68a.tar.zst
freebsd-ports-gnome-57bee7ca5c97a522a5ab83779a3cae5c752fc68a.zip
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 <glennpj@charter.net> Approved by: maintainer
-rw-r--r--biology/pymol/Makefile13
-rw-r--r--biology/pymol/pkg-plist24
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