aboutsummaryrefslogtreecommitdiffstats
path: root/biology/pymol
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-08-26 13:13:28 +0800
committerperky <perky@FreeBSD.org>2002-08-26 13:13:28 +0800
commit2ca824871eb73a50bc08e80b1d4aeadc9beb5408 (patch)
treeb9153c1d7a80b4b03918e10a6637b6fbca05482c /biology/pymol
parenta36fa4fc721a450f838c614dea971cf585d7a12a (diff)
downloadfreebsd-ports-gnome-2ca824871eb73a50bc08e80b1d4aeadc9beb5408.tar.gz
freebsd-ports-gnome-2ca824871eb73a50bc08e80b1d4aeadc9beb5408.tar.zst
freebsd-ports-gnome-2ca824871eb73a50bc08e80b1d4aeadc9beb5408.zip
o Fix examples directory path which is changed in last revision.
Submitted by: Glenn Johnson <glennpj@charter.net>
Diffstat (limited to 'biology/pymol')
-rw-r--r--biology/pymol/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile
index 209cf9bb38a9..115c62b8a4c0 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: