summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/ploticus/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 4f736075006b..4d9fa962a00a 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -44,6 +44,10 @@ PKGNAMESUFFIX= -nox11
USE_XPM= yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/Makefile ${WRKSRC}/Makefile_api
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/ploticus
@${MKDIR} ${DATADIR}