summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-wxPython24/files/build.local.stc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-wxPython24/files/build.local.stc')
-rw-r--r--x11-toolkits/py-wxPython24/files/build.local.stc17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-toolkits/py-wxPython24/files/build.local.stc b/x11-toolkits/py-wxPython24/files/build.local.stc
new file mode 100644
index 000000000000..086d6c6d3c9a
--- /dev/null
+++ b/x11-toolkits/py-wxPython24/files/build.local.stc
@@ -0,0 +1,17 @@
+WXPSRCDIR = "$(WRKSRC)/src"
+CCC = "$(CXX)"
+OTHERCFLAGS = '-D__WX__ -DSCI_LEXER ' + \
+ '-I$(STCLOC)/contrib/src/stc/scintilla/include ' + \
+ '-I$(STCLOC)/contrib/include ' + \
+ '-I$(STCLOC)/contrib/src/stc/scintilla/src ' + \
+ '-I$(WXPSRCDIR) ' + \
+ '$(SYSCFLAGS)'
+OTHERLFLAGS = "$(SYSLFLAGS)"
+TARGETDIR = "$(_TARGETDIR)"
+OTHERLIBS = "-lgcc_r"
+OTHERRULES = OTHERRULES + r"""
+
+install-freebsd: default $(TARGETDIR) $(TARGETDIR)/$(TARGET) pycfiles
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(TARGETDIR)
+
+"""