summaryrefslogtreecommitdiff
path: root/biology/deft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/deft/Makefile')
-rw-r--r--biology/deft/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/biology/deft/Makefile b/biology/deft/Makefile
index 781239c3eece..5047c62ee2fc 100644
--- a/biology/deft/Makefile
+++ b/biology/deft/Makefile
@@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/source
BUILD_DEPENDS= ftn77:${PORTSDIR}/lang/f77
.endif
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g \
+ ${WRKDIR}/${DISTNAME}/examples/DeFT
+
post-configure:
${CP} ${FILESDIR}/Makefile.deft ${WRKSRC}/Makefile