mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
36 lines
895 B
Makefile
36 lines
895 B
Makefile
# 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>
|