mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add py-gtkscintilla - a Python bindings for GtkScintilla library.
This commit is contained in:
parent
8d0657e26a
commit
0ad146f3f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35973
@ -67,6 +67,7 @@
|
||||
SUBDIR += pmw
|
||||
SUBDIR += py-gnome
|
||||
SUBDIR += py-gtk
|
||||
SUBDIR += py-gtkscintilla
|
||||
SUBDIR += py-kde
|
||||
SUBDIR += py-qt
|
||||
SUBDIR += py-tkinter
|
||||
|
35
x11-toolkits/py-gtkscintilla/Makefile
Normal file
35
x11-toolkits/py-gtkscintilla/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# New ports collection makefile for: py-gtkscintilla
|
||||
# Date created: 14 December 2000
|
||||
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= py-gtkscintilla
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= x11-toolkits python
|
||||
MASTER_SITES= http://www.moleskine.f2s.com/
|
||||
DISTNAME= PyGtkScintilla-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gtkscintilla.0:${PORTSDIR}/x11-toolkits/gtkscintilla
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_GTK= yes
|
||||
USE_GMAKE= yes
|
||||
MAKE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}"
|
||||
|
||||
INST_DIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
|
||||
|
||||
post-build:
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${INST_DIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/_gtkscintillamodule.so ${INST_DIR}
|
||||
.for file in gtkscintilla.py GTKSCINTILLA.py
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${WRKSRC}/${file}c ${INST_DIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
1
x11-toolkits/py-gtkscintilla/distinfo
Normal file
1
x11-toolkits/py-gtkscintilla/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (PyGtkScintilla-0.1.tar.gz) = 28b0df62c0ee6d2b9b7da7cf608abdf3
|
22
x11-toolkits/py-gtkscintilla/files/patch-aa
Normal file
22
x11-toolkits/py-gtkscintilla/files/patch-aa
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile 2000/12/14 10:44:19 1.1
|
||||
+++ Makefile 2000/12/14 10:50:08
|
||||
@@ -1,13 +1,14 @@
|
||||
NAME = PyGtkScintilla
|
||||
VERSION = 0.1
|
||||
|
||||
-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
|
||||
|
||||
-LDFLAGS = -shared `gtk-config --libs` -lgtkscintilla
|
||||
-CFLAGS = `gtk-config --cflags` -I$(PYTHON_PREFIX)/include/python1.5
|
||||
+LDFLAGS = -pthread -shared `$(GTK_CONFIG) --libs` -lgtkscintilla -lgcc_r
|
||||
+CFLAGS = -D_THREAD_SAFE `$(GTK_CONFIG) --cflags` -I$(PYTHON_INCLUDEDIR) -I${X11BASE}/include/scintilla
|
||||
|
||||
all: _gtkscintillamodule.so
|
||||
|
1
x11-toolkits/py-gtkscintilla/pkg-comment
Normal file
1
x11-toolkits/py-gtkscintilla/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Python bindings for gtkscintilla library
|
3
x11-toolkits/py-gtkscintilla/pkg-descr
Normal file
3
x11-toolkits/py-gtkscintilla/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Python bindings for gtkscintilla library.
|
||||
|
||||
WWW: http://www.moleskine.f2s.com/
|
5
x11-toolkits/py-gtkscintilla/pkg-plist
Normal file
5
x11-toolkits/py-gtkscintilla/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
lib/%%PYTHON_VERSION%%/site-packages/GTKSCINTILLA.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/GTKSCINTILLA.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/_gtkscintillamodule.so
|
||||
lib/%%PYTHON_VERSION%%/site-packages/gtkscintilla.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/gtkscintilla.pyc
|
Loading…
Reference in New Issue
Block a user