freebsd-ports/x11-toolkits/py-gtkscintilla/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

37 lines
1 KiB
Makefile

# New ports collection makefile for: py-gtkscintilla
# Date created: 14 December 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11-toolkits/py-gtkscintilla/Makefile,v 1.1 2006/10/07 15:53:59 ahze Exp $
PORTNAME= py-gtkscintilla
PORTVERSION= 0.8.2
PORTREVISION= 4
CATEGORIES= x11-toolkits python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= moleskine
DISTNAME= PyGtkScintilla-${PORTVERSION}
MAINTAINER= ports@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>