summaryrefslogtreecommitdiff
path: root/math/py-matplotlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-matplotlib/Makefile')
-rw-r--r--math/py-matplotlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 6f7e5732f424..63d6316762ad 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -37,7 +37,7 @@ USE_TCL_RUN= yes
USE_TK_RUN= yes
CFLAGS+= -I${X11BASE}/include
-EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-patch:
@${GREP} -lR "share/matplotlib" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \