summaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-08-26 05:13:28 +0000
committerperky <perky@FreeBSD.org>2002-08-26 05:13:28 +0000
commit2ca824871eb73a50bc08e80b1d4aeadc9beb5408 (patch)
treeb9153c1d7a80b4b03918e10a6637b6fbca05482c /biology
parenta36fa4fc721a450f838c614dea971cf585d7a12a (diff)
downloadFreeBSD-ports-2ca824871eb73a50bc08e80b1d4aeadc9beb5408.zip
FreeBSD-ports-2ca824871eb73a50bc08e80b1d4aeadc9beb5408.tar.gz
o Fix examples directory path which is changed in last revision.
Submitted by: Glenn Johnson <glennpj@charter.net>
Diffstat (limited to 'biology')
-rw-r--r--biology/pymol/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile
index 209cf9b..115c62b 100644
--- a/biology/pymol/Makefile
+++ b/biology/pymol/Makefile
@@ -6,7 +6,7 @@
PORTNAME= pymol
PORTVERSION= 0.82
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= biology python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pymol
@@ -31,6 +31,10 @@ pre-patch:
post-patch:
@${INSTALL_DATA} ${WRKSRC}/setup/pymol.com.linux-rh7x ${WRKSRC}/setup/pymol.com
@${REINPLACE_CMD} 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/setup/pymol.com
+ @${REINPLACE_CMD} -e 's,@PREFIX@,${PREFIX},g' \
+ -e 's,examples\(/devel/cgo03.py\),${EXAMPLESDIR}\1,' \
+ ${WRKSRC}/modules/pmg_tk/Demo.py
+ @${RM} -f ${WRKSRC}/modules/pmg_tk/Demo.py.*
@${REINPLACE_CMD} 's,@PYTHON_VERSION@,${PYTHON_VERSION},g' ${WRKSRC}/Rules.make
do-install:
OpenPOWER on IntegriCloud