aboutsummaryrefslogtreecommitdiffstats
path: root/biology/pymol/Makefile
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 /biology/pymol/Makefile
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
Diffstat (limited to 'biology/pymol/Makefile')
-rw-r--r--biology/pymol/Makefile13
1 files changed, 9 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