Date: Sat, 24 Aug 2002 11:33:15 -0500 (CDT) From: Glenn Johnson <glennpj@charter.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/41977: biology/pymol: fix broken build and install example scripts Message-ID: <200208241633.g7OGXFq7068658@gforce.johnson.home>
next in thread | raw e-mail | index | archive | help
>Number: 41977 >Category: ports >Synopsis: biology/pymol: fix broken build and install example scripts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Aug 24 09:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Glenn Johnson >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD gforce.johnson.home 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Aug 17 20:58:06 CDT 2002 root@gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE i386 >Description: This PR for biology/pymol fixes the build and adds some useful example python scripts to the installation. - Change ${WRKSRC} to ${PORTNAME}-${PORTVERSION} because the current value of ${WRKSRC}=${PKGNAME} no longer works due to the appending of the ${PORTREVISION} value. - Correct the pmw dependency to check for ${PYTHON_SITELIBDIR}/Pmw rather than ${PYTHON_SITELIBDIR}/PMW. - Add the example scripts, with the exception of the red-hat spec files. These scripts are potentially useful and one is necessary for the Compiled Graphics Object demo. - Bump the PORTREVISION >How-To-Repeat: >Fix: --- pymol.update begins here --- diff -ruN pymol.orig/Makefile pymol/Makefile --- pymol.orig/Makefile Sat Aug 24 10:13:40 2002 +++ pymol/Makefile Sat Aug 24 11:04:01 2002 @@ -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,10 +17,10 @@ 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}/${PORTNAME}-${PORTVERSION} USE_GMAKE= yes USE_REINPLACE= yes USE_PYTHON= yes @@ -36,7 +36,7 @@ do-install: @${INSTALL_SCRIPT} ${WRKSRC}/setup/pymol.com ${PREFIX}/bin/pymol @${MKDIR} ${PREFIX}/share/pymol - @${TAR} -C ${WRKSRC} -chf - modules test | \ + @${TAR} -C ${WRKSRC} --exclude package -chf - examples modules test | \ ${TAR} -xf - -C ${PREFIX}/share/pymol @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/pymol/modules diff -ruN pymol.orig/pkg-plist pymol/pkg-plist --- pymol.orig/pkg-plist Sat Aug 24 10:13:40 2002 +++ pymol/pkg-plist Sat Aug 24 10:45:32 2002 @@ -1,4 +1,24 @@ bin/pymol +share/pymol/examples/chempy/generate_amber.py +share/pymol/examples/chempy/generate_mmff.py +share/pymol/examples/cookbook/README +share/pymol/examples/cookbook/contact.pml +share/pymol/examples/cookbook/density.pml +share/pymol/examples/cookbook/groel_es.pml +share/pymol/examples/cookbook/packing.pml +share/pymol/examples/cookbook/packsurf.pml +share/pymol/examples/cookbook/ribosome.pml +share/pymol/examples/devel/brick01.py +share/pymol/examples/devel/cgo01.py +share/pymol/examples/devel/cgo02.py +share/pymol/examples/devel/cgo03.py +share/pymol/examples/devel/cgo_3Dtext01.py +share/pymol/examples/devel/cgo_label_hack.py +share/pymol/examples/devel/gl01.py +share/pymol/examples/devel/gl02.py +share/pymol/examples/devel/gl03.py +share/pymol/examples/devel/povray01.py +share/pymol/examples/devel/start_pymol.py share/pymol/modules/ExtensionClass.so share/pymol/modules/_cmd.so share/pymol/modules/_glu_nummodule.so @@ -548,4 +568,8 @@ @dirrm share/pymol/modules/chempy/bmin @dirrm share/pymol/modules/chempy @dirrm share/pymol/modules +@dirrm share/pymol/examples/devel +@dirrm share/pymol/examples/cookbook +@dirrm share/pymol/examples/chempy +@dirrm share/pymol/examples @dirrm share/pymol --- pymol.update ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208241633.g7OGXFq7068658>