blob: 0d9379ea236e7b441b3f685a257d9e839ea41ac7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: py-gtkscintilla
# Date created: 14 December 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= py-gtkscintilla
PORTVERSION= 0.8.2
CATEGORIES= x11-toolkits python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= moleskine
DISTNAME= PyGtkScintilla-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
COMMENT= A Python bindings for gtkscintilla library
LIB_DEPENDS= gtkscintilla.0:${PORTSDIR}/x11-toolkits/gtkscintilla
USE_PYTHON= yes
USE_GNOME= gtk12
MAKE_ENV= PYTHON_INCLUDE="${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>
|