From 2ca824871eb73a50bc08e80b1d4aeadc9beb5408 Mon Sep 17 00:00:00 2001 From: perky Date: Mon, 26 Aug 2002 05:13:28 +0000 Subject: o Fix examples directory path which is changed in last revision. Submitted by: Glenn Johnson --- biology/pymol/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'biology/pymol/Makefile') 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: -- cgit