aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtkscintilla
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-06-07 17:12:24 +0800
committersobomax <sobomax@FreeBSD.org>2001-06-07 17:12:24 +0800
commitcab8a6114fc6969dc4dfae09581d1ac7566bf6b3 (patch)
tree9ec7e0aba409c4c74c0b3ad3759702a91c55b4dd /x11-toolkits/py-gtkscintilla
parentf04907b0a9524ed1521d5d19a0ee7bfe74591b57 (diff)
downloadfreebsd-ports-gnome-cab8a6114fc6969dc4dfae09581d1ac7566bf6b3.tar.gz
freebsd-ports-gnome-cab8a6114fc6969dc4dfae09581d1ac7566bf6b3.tar.zst
freebsd-ports-gnome-cab8a6114fc6969dc4dfae09581d1ac7566bf6b3.zip
Update to 0.7.1.
Diffstat (limited to 'x11-toolkits/py-gtkscintilla')
-rw-r--r--x11-toolkits/py-gtkscintilla/Makefile4
-rw-r--r--x11-toolkits/py-gtkscintilla/distinfo2
-rw-r--r--x11-toolkits/py-gtkscintilla/files/patch-aa23
3 files changed, 15 insertions, 14 deletions
diff --git a/x11-toolkits/py-gtkscintilla/Makefile b/x11-toolkits/py-gtkscintilla/Makefile
index 77b42eecc222..2293845b87a7 100644
--- a/x11-toolkits/py-gtkscintilla/Makefile
+++ b/x11-toolkits/py-gtkscintilla/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= py-gtkscintilla
-PORTVERSION= 0.3
+PORTVERSION= 0.7.1
CATEGORIES= x11-toolkits python
MASTER_SITES= http://www.moleskine.f2s.com/files/
DISTNAME= PyGtkScintilla-${PORTVERSION}
@@ -17,7 +17,7 @@ LIB_DEPENDS= gtkscintilla.0:${PORTSDIR}/x11-toolkits/gtkscintilla
USE_PYTHON= yes
USE_GTK= yes
-MAKE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}"
+MAKE_ENV= PYTHON_INCLUDE="${PYTHON_INCLUDEDIR}"
INST_DIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
diff --git a/x11-toolkits/py-gtkscintilla/distinfo b/x11-toolkits/py-gtkscintilla/distinfo
index a297669b01e7..ea29206fa139 100644
--- a/x11-toolkits/py-gtkscintilla/distinfo
+++ b/x11-toolkits/py-gtkscintilla/distinfo
@@ -1 +1 @@
-MD5 (PyGtkScintilla-0.3.tar.gz) = d49d24b3288a8a499c1d2ff4112f6503
+MD5 (PyGtkScintilla-0.7.1.tar.gz) = d62a78d2cc252af93881fd0873745682
diff --git a/x11-toolkits/py-gtkscintilla/files/patch-aa b/x11-toolkits/py-gtkscintilla/files/patch-aa
index 951b927cae2e..803b4b061b1b 100644
--- a/x11-toolkits/py-gtkscintilla/files/patch-aa
+++ b/x11-toolkits/py-gtkscintilla/files/patch-aa
@@ -1,27 +1,28 @@
$FreeBSD$
---- Makefile.orig Tue Jan 2 02:03:18 2001
-+++ Makefile Tue Jan 16 14:34:12 2001
-@@ -1,13 +1,16 @@
+--- Makefile.orig Mon May 14 11:45:22 2001
++++ Makefile Tue May 15 15:41:54 2001
+@@ -1,14 +1,16 @@
NAME = PyGtkScintilla
- VERSION = 0.1.1
+ VERSION = 0.7.0
-CC = gcc
+CC ?= gcc
--PYTHON_PREFIX = /usr
--INSTALL_DIR = $(PYTHON_PREFIX)/lib/python1.5/site-packages
-+PYTHON_PREFIX ?= /usr
-+PITHON_INCLUDEDIR ?= $(PYTHON_PREFIX)/include/python1.5
-+INSTALL_DIR ?= $(PYTHON_PREFIX)/lib/python1.5/site-packages
+-PYTHON_PREFIX = $(shell python -c "import sys ; print '%s/lib/python%s' % (sys.exec_prefix,sys.version[:3])")
+-PYTHON_SITE = $(PYTHON_PREFIX)/site-packages
+-PYTHON_INCLUDE = $(shell python -c "import sys ; print '%s/include/python%s' % (sys.exec_prefix,sys.version[:3])")
++#PYTHON_PREFIX = $(shell python -c "import sys ; print '%s/lib/python%s' % (sys.exec_prefix,sys.version[:3])")
++#PYTHON_SITE = $(PYTHON_PREFIX)/site-packages
++#PYTHON_INCLUDE = $(shell python -c "import sys ; print '%s/include/python%s' % (sys.exec_prefix,sys.version[:3])")
-LDFLAGS = -shared `gtk-config --libs` -lgtkscintilla
--CFLAGS = `gtk-config --cflags` -I$(PYTHON_PREFIX)/include/python1.5
+-CFLAGS = `gtk-config --cflags` -I$(PYTHON_INCLUDE)
+GTK_LDFLAGS != $(GTK_CONFIG) --libs
+GTK_CFLAGS != $(GTK_CONFIG) --cflags
+LDFLAGS = -pthread -shared $(GTK_LDFLAGS) -lgtkscintilla
-+CFLAGS = -D_THREAD_SAFE $(GTK_CFLAGS) -I$(PYTHON_INCLUDEDIR) -I${X11BASE}/include/scintilla
++CFLAGS += -D_THREAD_SAFE $(GTK_CFLAGS) -I$(PYTHON_INCLUDE) -I${X11BASE}/include/scintilla
all: _gtkscintillamodule.so